StraitOfVuln
Latest / CVE-2026-100039

CVE-2026-100039

HighCVSS 7.8 (v3.1)Received
CVE.org ↗NVD ↗

Description

In the Linux kernel, the following vulnerability has been resolved: alpha: load the MMU context when switch_mm() switches the current task ev5_switch_mm() only prepares the incoming PCB. The context is installed by PAL_swpctx, which alpha_switch_to() issues against that PCB on the way out of the scheduler. Direct callers reach switch_mm() without going through alpha_switch_to(): kthread_use_mm(), which borrows an mm for the current kernel thread, sched_force_init_mm() on the CPU-hotplug teardown path, and do_shoot_lazy_tlb(), which switches to init_mm from an IPI. None explicitly loads the context, so the task can carry on running under whatever was loaded before. For kthread_use_mm(), current->mm then names the borrowed mm even though its context has not been loaded. The other two callers change active_mm while leaving current->mm NULL. The stale page-table root need not be swapper_pg_dir; it may belong to a user process that ran on the CPU earlier, and the kthread's user accesses can then read and write that process's memory wherever the stale mappings allow. Translations taken that way can also end up tagged with the borrowed mm's ASN: ev5_switch_mm() writes that ASN into the PCB, which the next PAL_swpctx installs against the stale ptbr. An address the stale tables do not map faults instead, and since do_page_fault() resolves faults against current->mm without reloading the context, the same access can fault again on return. sched_force_init_mm() needs CONFIG_HOTPLUG_CPU and do_shoot_lazy_tlb() needs CONFIG_MMU_LAZY_TLB_SHOOTDOWN. Alpha selects neither, so only kthread_use_mm() is reachable in practice. Test the caller's identity rather than special-casing individual callers. The scheduler passes the incoming task, which is not current until alpha_switch_to() runs; all three direct callers pass current. Test for that and load the context the way activate_mm() does. All three run with interrupts disabled across the switch, so this completes before any shootdown can be taken and needs no asn_lock handshake.

Details

CVE ID
CVE-2026-100039
Published / updated
30 Nov 2026, 14:17 UTC · last modified 01 Dec 2026, 06:17 UTC
Severity
HIGH
CVSS score
7.8 · v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · Attack vector: Local
Affected vendor
Linux
Affected products
Linux
Affected versions
Linux: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before f46ad7a6fb199acbb70fbcbee74f42368aecbb03, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before c92003e46cd818c339598a77c1bcad5a517f6aa9, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before e4223344d89d70ad289494a0e92eef3ef58ccaa1, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before bc958129a57392adff6f2d374bbb0f32bbf9a5de, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 1af35afb40a355e5e50678792463509e0405d1a6, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 9b8be19d5dc9525a408942e2e8012873199e7455
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Linux f46ad7a6fb199acbb70fbcbee74f42368aecbb03, Linux c92003e46cd818c339598a77c1bcad5a517f6aa9, Linux e4223344d89d70ad289494a0e92eef3ef58ccaa1, Linux bc958129a57392adff6f2d374bbb0f32bbf9a5de, Linux 1af35afb40a355e5e50678792463509e0405d1a6, Linux 9b8be19d5dc9525a408942e2e8012873199e7455
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.16% probability of exploitation in the next 30 days · 6% percentile (03 Dec 2026)
Weakness
—
Remediation
See the vendor advisory below.
Source (CNA)
416baaa9-dc9f-4396-8d5f-8c081fb06d67