Linux kernel stale memory access via TLB flush gaps in alpha
- Exploited
- No known exploitation
- Fix
- No fix listed
- Who is exposed
- Specific setups only
Summary
In the Linux kernel, the following vulnerability has been resolved:
alpha: do not skip TLB shootdown IPIs for kthread-borrowed mms
flush_tlb_mm(), flush_tlb_page() and flush_icache_user_page() skip the shootdown IPI when mm_users <= 1, on the assumption that no other CPU can be running the mm. A task that borrows an mm through kthread_use_mm() takes mmgrab() rather than mmget(), so it never appears in mm_users, and kthread_use_mm() may be handed an mm that is already the caller's active_mm and loaded on that CPU. Such a CPU was not only left without an IPI, its mm->context[cpu] was cleared from under it.
mm->context[cpu] is already the record of which CPUs hold an ASN for the mm. Test it rather than clearing it: take the shortcut only when no other CPU has one, and otherwise fall through to the IPI, which invalidates those CPUs properly. A CPU that merely ran the mm in the past also holds a context and now costs an IPI, which errs in the safe direction.
Change ipi_flush_tlb_mm(), ipi_flush_icache_page() and the migration callback ipi_flush_mm_and_page() to test current->mm, like ipi_flush_tlb_page(). A CPU that only retains the mm lazily then clears its own slot through flush_tlb_other(), rather than publishing a new ASN on every IPI or migration rendezvous. The migration callback still does its per-VA tbi() afterwards. Returning to the mm allocates a fresh ASN through ev5_switch_mm(), or through the direct-load path when kthread_use_mm() switches current's mm.
Once these historical slots are gone, the shortcut is available again if mm_users remains at most one and no other CPU has taken or kept a context. An explicit kthread_use_mm() borrower has current->mm set and still receives the invalidate it needs.
The caller-side tests in flush_tlb_mm() and flush_icache_user_page() remain current->active_mm. A kernel thread that flushes its lazily held mm can therefore publish its own context slot. Those branches also perform the shortcut check, which excludes the calling CPU's slot, so leave them unchanged. This is distinct from a remote lazy CPU keeping its slot populated through repeated callbacks.
Together with the preceding patch, dropping these clearing loops leaves every runtime write to mm->context[] targeting the writing CPU's own slot, so the array becomes a lockless publication of which CPUs may be using the mm, with a single writer per slot. Mark the two stores that are now observed from other CPUs; flush_tlb_other() already uses WRITE_ONCE(). The uniprocessor flush_icache_user_page() is left alone, as nothing reads another CPU's slot there, and init_new_context() runs before the mm is shared.
Order the slot reads after the page-table changes with smp_mb(). On the publishing CPU, the store in ev5_switch_mm() precedes the mb() in Alpha's arch_spin_unlock(), when finish_lock_switch() drops the rq lock. This relies on Alpha's unlock implementation, not a generic scheduler promise of a full barrier on unlock; document that reliance at the store. Also issue smp_mb() after publishing in __load_new_mm_context(), before loading and using the mm.
This covers every caller, including check_mmu_context(), which can publish a replacement after finish_lock_switch() has already run.
This requires the preceding removal of remote slot clearing from migrate_flush_tlb_page(). It also requires the stale-TLB series to set need_new_asn on both the reused and newly allocated ASN paths. Otherwise an IPI between finish_lock_switch() and check_mmu_context() can zero a new slot while asn_lock is set, and the task can return to user space with a live ASN that the shortcut cannot see.
Who should check
Teams running Linux kernels on SMP Alpha systems, including stable-branch maintainers backporting the Alpha TLB shootdown fix.
“SMP Alpha must be in use”
What to do
Check whether your setup matches what the bug needs.
Runs on SMP Alpha systems. A reclaiming kernel thread such as kswapd runs with the attacker's mm as its lazy active_mm while the attacker's single-threaded task keeps running on another CPU.Workaround: The checked facts do not describe a workaround or mitigation. Until a fix is available from the kernel or distribution, the checked facts give no specific steps to limit exposure.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-100032 (alpha: do not skip TLB shootdown IPIs for kthread-borrowed mms), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-100032 (entry last updated 2026-12-01):
Affected:
- Linux Linux: version range not reported
- Linux Linux: versions 2.6.12
Fixed versions: none listed yet.
Conditions (all must be true for the bug to be hit):
- Runs on SMP Alpha systems. (source: https://www.cve.org/CVERecord?id=CVE-2026-100032)
- A reclaiming kernel thread such as kswapd runs with the attacker's mm as its lazy active_mm while the attacker's single-threaded task keeps running on another CPU. (source: https://www.cve.org/CVERecord?id=CVE-2026-100032)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: local access, low-privilege login, no user action.
CISA KEV: CVE-2026-100032 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-100032 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/9bd62e1fd11c6fdc2145b449f067ae73f3b8960c
- https://git.kernel.org/stable/c/5cb3129c30e0b6ea9700ad4911c8a4c842dc285c
- https://git.kernel.org/stable/c/398aee3dd326d709801c8b530c30cbe6ee7dafb9
- https://git.kernel.org/stable/c/1ded6b545bade7167471e2b3f2d4fe0c6489cd6e
- https://git.kernel.org/stable/c/643c1e5912592d14de28643f0d30fdef5a85bd23
- https://git.kernel.org/stable/c/fe221b7b2d3ecd042dd391f74ff6a6fdeb7c2038
- https://www.cve.org/CVERecord?id=CVE-2026-100032
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-100032
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-100032"}.Affected versions
- Linux LinuxVersion range not reported
- Linux Linux2.6.12
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure5/25Specific setups only
- Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
- Severity7/10CVSS 7.0
- No patch5/5No patch listed yet
What would change the score
- Would score about 87 if added to CISA KEV
- Would score about 82 if CISA's SSVC rates exploitation active
- Would score about 47 if CISA's SSVC rates it automatable
Timeline
- CVE published
- First seen by cve.now1 day
- Record last updated
- Posted on X by cve.now
Evidence 8
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-100032 |
| Record | NVD · CVE-2026-100032 |
| Other links 6 | |
| Link | git.kernel.org · stable/c/9bd62e1fd11c6fdc2145b449f067ae73f3b8960c |
| Link | git.kernel.org · stable/c/5cb3129c30e0b6ea9700ad4911c8a4c842dc285c |
| Link | git.kernel.org · stable/c/398aee3dd326d709801c8b530c30cbe6ee7dafb9 |
| Link | git.kernel.org · stable/c/1ded6b545bade7167471e2b3f2d4fe0c6489cd6e |
| Link | git.kernel.org · stable/c/643c1e5912592d14de28643f0d30fdef5a85bd23 |
| Link | git.kernel.org · stable/c/fe221b7b2d3ecd042dd391f74ff6a6fdeb7c2038 |
Questions about CVE-2026-100032
Is CVE-2026-100032 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
A kernel thread such as kswapd can run using an attacker's memory map as its lazy active_mm while the attacker's single-threaded task keeps running on another CPU. Because the TLB shootdown IPIs are skipped in this case, stale TLB entries can let a local attacker read or write physical pages after they are reclaimed and reused, which can corrupt kernel memory and possibly lead to local privilege escalation.
Source: cve.org
Which versions are affected by CVE-2026-100032?
Linux: version 2.6.12.
Source: cve.now feed data
Am I affected, and how do I check?
The issue is in the Linux kernel and only matters on SMP Alpha systems. To check a system, confirm the architecture is Alpha and that it has multiple processors, for example with uname -m and by reviewing /proc/cpuinfo. The checked facts do not list affected kernel version ranges.
Source: cve.org
How do I fix CVE-2026-100032?
The checked facts do not name a fixed kernel version or vendor patch identifiers for this vulnerability. Check the upstream Linux kernel commit or the distribution's security advisory for the fixed version before deciding on an upgrade.
Source: cve.org
What if there's no patch?
The checked facts do not describe a workaround or mitigation. Until a fix is available from the kernel or distribution, the checked facts give no specific steps to limit exposure.
Source: cve.org
Related
- CVE-2026-139801KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM
- CVE-2026-139799mm/shmem: hold off eviction in shmem_writeout()
- CVE-2026-139792ALSA: pcm: Prevent O_APPEND open on OSS streams
- CVE-2026-139788cipso: stop modifying live ip_options_rcu
- CVE-2026-139786mm/vma: avoid spurious write locks when mm->mm_lock_seq overflows
- CVE-2026-1398009p/xen: drain response work after unbinding IRQ
No corrections so far. Something wrong on this page? Report an error.