CVE-2025-40174
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
12/11/2025
Last modified:
12/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
x86/mm: Fix SMP ordering in switch_mm_irqs_off()<br />
<br />
Stephen noted that it is possible to not have an smp_mb() between<br />
the loaded_mm store and the tlb_gen load in switch_mm(), meaning the<br />
ordering against flush_tlb_mm_range() goes out the window, and it<br />
becomes possible for switch_mm() to not observe a recent tlb_gen<br />
update and fail to flush the TLBs.<br />
<br />
[ dhansen: merge conflict fixed by Ingo ]



