x86/mm: Ensure write visibility during LDT installation
- CVE-2026-143093
- GHSA-w8wh-4x2c-33f9
- EUVD-2026-142710
Description
In the Linux kernel, the following vulnerability has been resolved: x86/mm: Ensure write visibility during LDT installation During LDT installation, the intent is to overwrite the old per-mm LDT value, then send an IPI to the mm user CPUs to have each load the new value. But there is an ordering problem: a new mm user CPU sets itself in mm_cpumask() and then reads mm->context.ldt. The LDT-installing CPU writes mm->context.ldt and then reads mm_cpumask(). But, there is nothing which orders the LDT installation side actions. The CPU can read mm_cpumask() before its write becomes visible. Ensure that new mm user CPUs see the new mm->context.ldt. Make mm->context.ldt visible before reading mm_cpumask(). Also convert the smp_store_release() over to a WRITE_ONCE(). smp_store_release() has an internal barrier which is weaker than the new smp_mb(). Avoid an extra barrier by converting it to WRITE_ONCE(). Also refresh/correct misleading comments. READ/WRITE_ONCE() do not "synchronize" anything themselves.
Text from the CVE.org record.
Recommendation
Linux
- If you run a version before 7.3.7update to 7.3.7 or later
- If you run a version before 6.18.66update to 6.18.66 or later
- If you run a version before 6.12.120update to 6.12.120 or later
- If you run a version before 5.15.227update to 5.15.227 or later
- If you run a version before 5.10.276update to 5.10.276 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Linux
Affected versions Fixed in before 7.3.7 7.3.7 before 6.18.66 6.18.66 before 6.12.120 6.12.120 before 5.15.227 5.15.227 before 5.10.276 5.10.276 from 5.10.276 up to 5.10.*: not affected none stated from 5.15.227 up to 5.15.*: not affected none stated from 6.12.120 up to 6.12.*: not affected none stated and 3 more
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.