Database/Kernel, userspace & hypervisor
Linux kernel x86/mm: missing SMP barrier in switch_mm lets a context switch skip a required TLB flush
Impact
There was no guaranteed smp_mb() between the loaded_mm store and the tlb_gen load in switch_mm_irqs_off(), so the ordering against flush_tlb_mm_range() could be lost and a CPU could fail to observe a recent TLB generation bump. The result is stale TLB entries: a core keeps translating through a mapping the kernel believes it has torn down, which is silent memory corruption and a potential read of pages that have already been reused by another process. On a GPU node this is worse than on a general server because the boxes are large, highly parallel and multi-tenant - many cores context-switching between containers is exactly the condition that makes the race observable, and the failure mode gives no clean signal before data is wrong.
Who can reach it
Local: any workload scheduled on the host that triggers concurrent munmap/TLB-flush and context switches on other cores. No special privilege is named. This is an SMP timing race, not a directly steerable primitive, so treat it as a correctness and integrity risk rather than a reliable exploit path.
What to do
Take the stable kernel carrying the barrier fix (the two commits in the record) and reboot each node. There is no tunable or module-level mitigation - this is core x86 memory management. Fold it into the next fleet-wide kernel roll rather than an emergency window unless you are already chasing unexplained memory corruption.
References
Related entries
- Linux kernel crypto: skcipher request size left uninitialized, causing memory corruption and crashesCVE-2025-40182 · Linux kernel crypto skcipher (request size set from cra_reqsize)High
- Linux kernel io_uring: registered-buffer folio offset miscalculated for unaligned user pointersCVE-2025-40216 · Linux kernel io_uring/rsrc (registered buffer folio coalescing)High
- Linux kernel (virt/kvm): Unbinding a memslot from a guest_memfd was skipped once the file was already dying, so if theCVE-2025-40274 · Linux kernel (virt/kvm)High
- Linux kernel (drivers/gpu/drm/vmwgfx): The vmwgfx command-buffer parser trusted a size field taken straight from theCVE-2025-40277 · Linux kernel (drivers/gpu/drm/vmwgfx)High
- VMware Aria Operations / VMware Tools: Local privilege escalation to root inside a managed VM via SDMP service discoveryCVE-2025-41244 · VMware Aria Operations / VMware ToolsHigh
- PAM (pam-config): Local user is treated as `allow_active` in PAMCVE-2025-6018 · PAM (pam-config)High
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.