Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-100039

published high CVSS 3.1 · 7.8

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

Published
30 Nov 2026, 13:23:19 UTC
Updated
01 Dec 2026, 05:39:54 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < f46ad7a6fb199acbb70fbcbee74f42368aecbb03 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < c92003e46cd818c339598a77c1bcad5a517f6aa9 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < e4223344d89d70ad289494a0e92eef3ef58ccaa1 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < bc958129a57392adff6f2d374bbb0f32bbf9a5de · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 1af35afb40a355e5e50678792463509e0405d1a6 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 9b8be19d5dc9525a408942e2e8012873199e7455 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.12 (affected) · 0 to < 2.6.12 (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: 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. AC: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. PR: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. UI: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. S: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. C: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. I: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. A: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.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < f46ad7a6fb199acbb70fbcbee74f42368aecbb03 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < c92003e46cd818c339598a77c1bcad5a517f6aa9 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < e4223344d89d70ad289494a0e92eef3ef58ccaa1 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < bc958129a57392adff6f2d374bbb0f32bbf9a5de (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 1af35afb40a355e5e50678792463509e0405d1a6 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 9b8be19d5dc9525a408942e2e8012873199e7455 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.12 (affected)0 to < 2.6.12 (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
365d28878dccfbcd22846f9132a85a0eeda9cb2bee2f410f594afbbdee01fb41
Ingested
01 Dec 2026, 05:47:22 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected