{"id":"CVE-2025-40174","published":"2025-11-12T10:53:49Z","modified":"2026-08-05T12:08:19Z","title":"x86/mm: Fix SMP ordering in switch_mm_irqs_off()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nx86/mm: Fix SMP ordering in switch_mm_irqs_off()\n\nStephen noted that it is possible to not have an smp_mb() between\nthe loaded_mm store and the tlb_gen load in switch_mm(), meaning the\nordering against flush_tlb_mm_range() goes out the window, and it\nbecomes possible for switch_mm() to not observe a recent tlb_gen\nupdate and fail to flush the TLBs.\n\n[ dhansen: merge conflict fixed by Ingo ]","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00144,"percentile":0.03711,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/0fe5e3f5fb75c5d88dad24dece3ee75e9d87adeb","tags":[]},{"url":"https://git.kernel.org/stable/c/83b0177a6c4889b3a6e865da5e21b2c9d97d0551","tags":[]}],"priority":{"score":6.2,"factors":[{"name":"EPSS percentile","points":0.74},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 209954cbc7d0ce1a190fc725d20ce303d74d2680, < 0fe5e3f5fb75c5d88dad24dece3ee75e9d87adeb",">= 209954cbc7d0ce1a190fc725d20ce303d74d2680, < 83b0177a6c4889b3a6e865da5e21b2c9d97d0551"]},{"vendor":"Linux","product":"Linux","versions":["6.14"]}],"euvd":{"id":"EUVD-2025-124909","exploited":false,"provenance":"source"}}