Vulnerability in Linux

CVE-2025-40174

In the Linux kernel, the following vulnerability has been resolved: x86/mm: Fix SMP ordering in switch_mm_irqs_off() Stephen noted that it is possible to not have an smp_mb() between the loaded_mm store and the tlb_gen load in switch_mm(), meaning the ordering against flush_tlb_mm_range() goes out the window, and it becomes possible for switch_mm() to not observe a recent tlb_gen update and fail to flush the TLBs. [ dhansen: merge conflict fixed by Ingo ]

EPSS: 0.002 (6.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Linux — versions 209954cbc7d0ce1a190fc725d20ce303d74d2680, 6.14, 0

References

Frequently asked questions

What is CVE-2025-40174?
CVE-2025-40174 is a high-severity vulnerability in Linux. CVSS score: 7.8/10. Published 2025-11-12.
How severe is CVE-2025-40174?
High severity. CVSS v3 base score is 7.8 out of 10.