CVE-2025-40174: x86/mm: Fix SMP ordering in switch_mm_irqs_off()

Published Nov 12, 2025
·
Updated

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

x86/mm: Fix SMP ordering in switchmmirqsoff()

Stephen noted that it is possible to not have an smpmb() between the loadedmm store and the tlbgen load in switchmm(), meaning the ordering against flushtlbmmrange() goes out the window, and it becomes possible for switchmm() to not observe a recent tlbgen update and fail to flush the TLBs.

[ dhansen: merge conflict fixed by Ingo ]

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 12, 2025
CVE Published
via MITRE·10:53 AM
Data Sourced
via MITRE·10:53 AM
DescriptionSeverity
Data Sourced
via NVD·11:15 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2025-40174?

CVE-2025-40174 is classified as a medium severity vulnerability in the Linux kernel.

2

How do I fix CVE-2025-40174?

To fix CVE-2025-40174, update your Linux kernel to the latest stable version that includes the patch.

3

What impact does CVE-2025-40174 have on system security?

CVE-2025-40174 may impact system stability and security by affecting memory handling in multi-processor environments.

4

Is CVE-2025-40174 exploitable remotely?

CVE-2025-40174 is not known to be remotely exploitable but could be a risk in local privilege escalation scenarios.

5

Which Linux kernel versions are affected by CVE-2025-40174?

CVE-2025-40174 affects certain versions of the Linux kernel prior to the release containing the fix.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203