CVE-2026-100038
alpha: run check_mmu_context() from finish_arch_post_lock_switch()
Check your servers for CVE-2026-100038
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-100038 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
alpha: run check_mmu_context() from finish_arch_post_lock_switch()
check_mmu_context() clears asn_lock and acts on need_new_asn, but it runs only as the tail of switch_to(), after alpha_switch_to() returns.
A newly forked user task never gets there: its first context switch resumes at ret_from_fork and reaches schedule_tail() without returning to the code following alpha_switch_to().
asn_lock is left set on that CPU, so the new user task can run with interrupts enabled while shootdown IPIs keep taking the deferred path. The handshake meant to complete those invalidations never runs.
New kernel threads also reach schedule_tail(), but context_switch() does not call switch_mm() for a task without an mm. They therefore do not set asn_lock in the first place and are not affected by this bug.
Move check_mmu_context() to finish_arch_post_lock_switch(), which is called by finish_task_switch() for both existing and newly created tasks. Drop the now redundant call from switch_to().
The hook runs after finish_lock_switch() releases the rq lock and enables interrupts. An IPI arriving before asn_lock is cleared retires the slot through flush_tlb_other(); an IPI arriving afterwards can flush directly, since PAL_swpctx has already installed the incoming context.
Set need_new_asn whether ev5_switch_mm() reuses or allocates an ASN. An IPI in that interval can zero either slot. Without this, the allocated case can return to user space with a live ASN but a zero context slot, which a later context-based shootdown shortcut could mistake for an inactive CPU. check_mmu_context() reloads only when the slot is zero.
Call the hook unconditionally. Alpha selects ARCH_NO_PREEMPT, and neither kthread_use_mm() nor sched_force_init_mm() sleeps between the direct switch and this hook. RCU_STRICT_GRACE_PERIOD can enable PREEMPT_COUNT, but cannot make those callers migrate there. Testing preemptible() would only leave asn_lock set in that configuration.
This requires the preceding direct-switch fix, "alpha: load the MMU context when switch_mm() switches the current task". It installs the borrowed context before kthread_use_mm() reaches this hook, so clearing asn_lock cannot expose a targeted invalidate against the wrong context.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.43% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 7405a29356b5f519434f90d04b1d6dd39e9fc858 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 9928b715e2daaa7fe12e810d213a2b0d8f4db5f0 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 21c5041e79a4764833e3b66e3efca508af0ddf90 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 79c636dffe63ac63a33145a9281cc7774ecb27d8 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before e47f875879259e16a0a16ded3236687b372efbe1 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 07b4cbae2060778e53e4b102f28b042abf1331c5 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 1460d772e2f28bf87f49414bc15886a26c15933c affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 020d2e70b7538b66eee3c3480d2b8921fb182f0c
Other versions: unaffected
|
| Linux |
affected 2.6.12 unaffected before 2.6.12 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.63 up to and including 6.18.* unaffected from 7.3.4 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-100038 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-100038
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-100038
trivy image --scanners vuln IMAGE | grep CVE-2026-100038
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/7405a29356b5f519434f90d04b1d6dd39e9fc858 git.kernel.org
- https://git.kernel.org/stable/c/9928b715e2daaa7fe12e810d213a2b0d8f4db5f0 git.kernel.org
- https://git.kernel.org/stable/c/21c5041e79a4764833e3b66e3efca508af0ddf90 git.kernel.org
- https://git.kernel.org/stable/c/79c636dffe63ac63a33145a9281cc7774ecb27d8 git.kernel.org
- https://git.kernel.org/stable/c/e47f875879259e16a0a16ded3236687b372efbe1 git.kernel.org
- https://git.kernel.org/stable/c/07b4cbae2060778e53e4b102f28b042abf1331c5 git.kernel.org
- https://git.kernel.org/stable/c/1460d772e2f28bf87f49414bc15886a26c15933c git.kernel.org
- https://git.kernel.org/stable/c/020d2e70b7538b66eee3c3480d2b8921fb182f0c git.kernel.org
Source: the record CVE-2026-100038 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse