CVE-2025-40174: Linux hwe edge · 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
Affects linux-hwe-edgeSource GCVE Database
Not known to be exploited · CVSS 7.8 Medium · fixed in 6.17.0-1011.11 : update linux-hwe-edge when convenient.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.17.0-1011.11, 6.17.0-1008.8~24.04.1, 6.17.0-1008.8 +1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 12 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade linux-hwe-edge to 6.17.0-1011.11, 6.17.0-1008.8~24.04.1, 6.17.0-1008.8 or 6.17.0-1007.7~24.04.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| linux-hwe-edge | Affected
| Fixed in
|
AI-suggested
A fix for this vulnerability has been implemented in the Linux kernel. Users should apply the official kernel updates that include the corrected SMP ordering in switch_mm_irqs_off(). Since no cloud service is involved, system administrators must update their Linux kernel versions accordingly. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor advisory or Linux kernel mailing lists for the specific fixed versions and apply updates promptly.
Description
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 ]
References
- nvd.nist.gov/vuln/detail/CVE-2025-40174 (opens in a new tab)
- git.kernel.org/stable/c/0fe5e3f5fb75c5d88dad24dece3ee75e9d87adeb (opens in a new tab)
- git.kernel.org/stable/c/83b0177a6c4889b3a6e865da5e21b2c9d97d0551 (opens in a new tab)
- ubuntu.com/security/CVE-2025-40174 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-40174 (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8030-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8048-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-3 (opens in a new tab)