CVE-2026-100038

HighCVSS 7.8/10Last modified Dec 1, 2026

Description

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

alpha: run check_mmu_context() from finish_arch_post_lock_switch()

check_mmu_context() clears asn_lock and acts on need_new_asn, but it runs only as the tail of switch_to(), after alpha_switch_to() returns.

A newly forked user task never gets there: its first context switch resumes at ret_from_fork and reaches schedule_tail() without returning to the code following alpha_switch_to().

asn_lock is left set on that CPU, so the new user task can run with interrupts enabled while shootdown IPIs keep taking the deferred path. The handshake meant to complete those invalidations never runs.

New kernel threads also reach schedule_tail(), but context_switch() does not call switch_mm() for a task without an mm. They therefore do not set asn_lock in the first place and are not affected by this bug.

Move check_mmu_context() to finish_arch_post_lock_switch(), which is called by finish_task_switch() for both existing and newly created tasks. Drop the now redundant call from switch_to().

The hook runs after finish_lock_switch() releases the rq lock and enables interrupts. An IPI arriving before asn_lock is cleared retires the slot through flush_tlb_other(); an IPI arriving afterwards can flush directly, since PAL_swpctx has already installed the incoming context.

Set need_new_asn whether ev5_switch_mm() reuses or allocates an ASN. An IPI in that interval can zero either slot. Without this, the allocated case can return to user space with a live ASN but a zero context slot, which a later context-based shootdown shortcut could mistake for an inactive CPU. check_mmu_context() reloads only when the slot is zero.

Call the hook unconditionally. Alpha selects ARCH_NO_PREEMPT, and neither kthread_use_mm() nor sched_force_init_mm() sleeps between the direct switch and this hook. RCU_STRICT_GRACE_PERIOD can enable PREEMPT_COUNT, but cannot make those callers migrate there. Testing preemptible() would only leave asn_lock set in that configuration.

This requires the preceding direct-switch fix, "alpha: load the MMU context when switch_mm() switches the current task". It installs the borrowed context before kthread_use_mm() reaches this hook, so clearing asn_lock cannot expose a targeted invalidate against the wrong context.

Metrics

CVSS 3.1 7.8/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Dec 1, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-1000397.8In the Linux kernel, the following vulnerability has been resolved: alpha: load the MMU context when switch_mm() switches the current task CVE-2026-100046.5Insufficient validation of untrusted input in Passwords in Google Chrome prior to 148.0.7778.216 allowed a remote attacker to perform UI spoCVE-2026-100040In the Linux kernel, the following vulnerability has been resolved: alpha: handle VM_FAULT_HWPOISON in do_page_fault() do_page_fault() hanCVE-2026-100041In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: vgic-its: Don't map an LPI from more than one event KVM keCVE-2026-100042In the Linux kernel, the following vulnerability has been resolved: ALSA: seq: oss: Skip events until fully initialized When an OSS sequenCVE-2026-100043In the Linux kernel, the following vulnerability has been resolved: ipc, msg: Account msg_msg allocations with GFP_KERNEL_ACCOUNT again SiCVE-2026-100044In the Linux kernel, the following vulnerability has been resolved: ublk: pin module while release work is pending ublk_ch_release() takesCVE-2026-100045In the Linux kernel, the following vulnerability has been resolved: fuse: fix copy_file_range reply handling race __fuse_copy_file_range()CVE-2026-1000468.4In the Linux kernel, the following vulnerability has been resolved: virtiofs: validate fixed-output response length A short successful virCVE-2026-100047In the Linux kernel, the following vulnerability has been resolved: fuse: don't launder folios of a bad inode fuse_flush() and fuse_writepCVE-2026-100048In the Linux kernel, the following vulnerability has been resolved: net: bgmac: enable interrupts only after NAPI is ready bgmac_open() caCVE-2026-100049In the Linux kernel, the following vulnerability has been resolved: RDS/IB: validate receive fragment completions rds_ib_process_recv() ac
CVE-2026-100038: High severity, CVSS 7.8 | Vulnix