CVE-2026-100039: alpha: load the MMU context when switch_mm() switches the current task

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

alpha: load the MMU context when switchmm() switches the current task

ev5switchmm() only prepares the incoming PCB. The context is installed by PALswpctx, which alphaswitchto() issues against that PCB on the way out of the scheduler.

Direct callers reach switchmm() without going through alphaswitchto(): kthreadusemm(), which borrows an mm for the current kernel thread, schedforceinitmm() on the CPU-hotplug teardown path, and doshootlazytlb(), which switches to initmm from an IPI. None explicitly loads the context, so the task can carry on running under whatever was loaded before. For kthreadusemm(), current->mm then names the borrowed mm even though its context has not been loaded. The other two callers change activemm while leaving current->mm NULL.

The stale page-table root need not be swapperpgdir; 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: ev5switchmm() writes that ASN into the PCB, which the next PALswpctx installs against the stale ptbr. An address the stale tables do not map faults instead, and since dopagefault() resolves faults against current->mm without reloading the context, the same access can fault again on return.

schedforceinitmm() needs CONFIGHOTPLUGCPU and doshootlazytlb() needs CONFIGMMULAZYTLBSHOOTDOWN. Alpha selects neither, so only kthreadusemm() 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 alphaswitchto() runs; all three direct callers pass current. Test for that and load the context the way activatemm() does. All three run with interrupts disabled across the switch, so this completes before any shootdown can be taken and needs no asnlock handshake.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:23 PM
Data Sourced
via MITRE·01:23 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

The issue is in the Alpha-specific Linux kernel MMU context-switching path. It affects cases where switch_mm() is called directly without passing through alpha_switch_to().

2

Which kernel paths can trigger the stale MMU context?

The affected direct callers are kthread_use_mm(), sched_force_init_mm() during CPU-hotplug teardown, and do_shoot_lazy_tlb() when switching to init_mm from an IPI. These paths can update mm or active_mm without explicitly loading the corresponding hardware context.

3

What is the practical impact of exploitation?

A kernel thread borrowing an mm can continue using a previously loaded page-table root, potentially from a user process that previously ran on that CPU. User accesses by that thread may then read or write memory mapped by the stale context, and translations may be tagged with the borrowed mm's ASN.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203