PT-2026-162621
CVE-2026-100039
·
تاريخ النشر
2026-11-30
·
تاريخ التحديث
2026-11-30
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
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.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾