{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-100039","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.454Z","datePublished":"2026-11-30T13:23:19.184Z","dateUpdated":"2026-12-01T05:39:54.509Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-01T05:39:54.509Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nalpha: load the MMU context when switch_mm() switches the current task\n\nev5_switch_mm() only prepares the incoming PCB. The context is installed\nby PAL_swpctx, which alpha_switch_to() issues against that PCB on the way\nout of the scheduler.\n\nDirect callers reach switch_mm() without going through alpha_switch_to():\nkthread_use_mm(), which borrows an mm for the current kernel thread,\nsched_force_init_mm() on the CPU-hotplug teardown path, and\ndo_shoot_lazy_tlb(), which switches to init_mm from an IPI. None explicitly\nloads the context, so the task can carry on running under whatever was\nloaded before. For kthread_use_mm(), current->mm then names the borrowed\nmm even though its context has not been loaded. The other two callers\nchange active_mm while leaving current->mm NULL.\n\nThe stale page-table root need not be swapper_pg_dir; it may belong to a\nuser process that ran on the CPU earlier, and the kthread's user accesses\ncan then read and write that process's memory wherever the stale mappings\nallow. Translations taken that way can also end up tagged with the\nborrowed mm's ASN: ev5_switch_mm() writes that ASN into the PCB, which the\nnext PAL_swpctx installs against the stale ptbr. An address the stale\ntables do not map faults instead, and since do_page_fault() resolves\nfaults against current->mm without reloading the context, the same access\ncan fault again on return.\n\nsched_force_init_mm() needs CONFIG_HOTPLUG_CPU and do_shoot_lazy_tlb()\nneeds CONFIG_MMU_LAZY_TLB_SHOOTDOWN. Alpha selects neither, so only\nkthread_use_mm() is reachable in practice. Test the caller's identity\nrather than special-casing individual callers.\n\nThe scheduler passes the incoming task, which is not current until\nalpha_switch_to() runs; all three direct callers pass current. Test for\nthat and load the context the way activate_mm() does. All three run with\ninterrupts disabled across the switch, so this completes before any\nshootdown can be taken and needs no asn_lock handshake."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The patched ev5_switch_mm() is reached locally via kthread_use_mm(): ioctl(VHOST_SET_OWNER) on /dev/vhost-net or /dev/vhost-vsock starts the vhost_worker kthread (6.1; 6.17+ after VHOST_SET_FORK_FROM_OWNER=KTHREAD), and on 5.10 an async io_uring request reaches io_wq_switch_mm(). No remote peer supplies anything that causes the stale Alpha MMU context.\nAC:L - The defect fires on every kthread_use_mm() on Alpha: the worker keeps the PCB ptbr that enter_lazy_tlb() copied from prev->active_mm. The attacker chooses which mm that is by keeping its own processes on the CPUs before VHOST_SET_OWNER, picks the vring addresses, and can retry with fresh vhost fds, so nothing outside its control is needed.\nPR:L - Needs only an open fd on /dev/vhost-net or /dev/vhost-vsock, which udev rules commonly give to the kvm group or mode 0666; VHOST_SET_OWNER, VHOST_SET_FORK_FROM_OWNER and VHOST_VSOCK_SET_GUEST_CID make no capability check. On 5.10 any user can submit an IOSQE_ASYNC io_uring request. Real root is not required.\nUI:N - The attacker opens the vhost device, issues the ioctls and kicks the virtqueue itself (or submits the io_uring request); no other user or administrator has to act.\nS:U - The stale ptbr makes the kthread touch another process's memory or a freed page-table page inside the same kernel; no hypervisor, VM or IOMMU boundary is crossed (Alpha has no KVM host), so this is ordinary in-kernel privilege escalation.\nC:H - vhost TX copy_from_user() reads run through another process's page tables, so that memory is sent to the attacker's tap or vsock socket. kthread_use_mm() also drops the lazy ref via mmdrop_lazy_tlb(); if that process exits, its freed pgd stays loaded as ptbr, and a reclaimed page could act as attacker page tables reading arbitrary physical memory.\nI:H - vhost RX copy_to_user() writes attacker-supplied packet data at owner-chosen virtual addresses translated through the stale ptbr, into another process's memory or, once the pgd is freed, through attacker-reclaimed page tables. Translations tagged with the borrowed mm's ASN can also leave stale TLB entries pointing at foreign pages.\nA:H - If the stale tables do not map the address, do_page_fault() resolves it against current->mm without reloading the context (non-exec VMAs only get tbi), so the access faults again indefinitely. Alpha selects ARCH_NO_PREEMPT, so the worker pins its CPU, and one worker per CPU hangs the system."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/alpha/include/asm/mmu_context.h"],"versions":[{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"f46ad7a6fb199acbb70fbcbee74f42368aecbb03","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"c92003e46cd818c339598a77c1bcad5a517f6aa9","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"e4223344d89d70ad289494a0e92eef3ef58ccaa1","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"bc958129a57392adff6f2d374bbb0f32bbf9a5de","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"1af35afb40a355e5e50678792463509e0405d1a6","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"9b8be19d5dc9525a408942e2e8012873199e7455","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/alpha/include/asm/mmu_context.h"],"versions":[{"version":"2.6.12","status":"affected"},{"version":"0","lessThan":"2.6.12","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/f46ad7a6fb199acbb70fbcbee74f42368aecbb03"},{"url":"https://git.kernel.org/stable/c/c92003e46cd818c339598a77c1bcad5a517f6aa9"},{"url":"https://git.kernel.org/stable/c/e4223344d89d70ad289494a0e92eef3ef58ccaa1"},{"url":"https://git.kernel.org/stable/c/bc958129a57392adff6f2d374bbb0f32bbf9a5de"},{"url":"https://git.kernel.org/stable/c/1af35afb40a355e5e50678792463509e0405d1a6"},{"url":"https://git.kernel.org/stable/c/9b8be19d5dc9525a408942e2e8012873199e7455"}],"title":"alpha: load the MMU context when switch_mm() switches the current task","x_generator":{"engine":"bippy-1.2.0"}}}}