Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-143093

x86/mm: Ensure write visibility during LDT installation

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 374f5fdbcb04875cc7e4af03da1bca9831943a2daffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < f5ba9d3ac0d12d1b7d4ca8888c82a74c9915efaeaffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 0d433d87c351e30a9db9a9a5eeb54bccd5db2bddaffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < cafda8fc0f7e67b8a77659f47f9593a302b1a133affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 43b1ef94852545d2e68531336e84afceb71c8efeaffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 0dc2a4dac3d04e9e4479aeb0b46172feab1cca0aaffected
  • 0 to < 5.10.276affected
  • 0 to < 5.15.227affected
  • 0 to < 6.12.120affected
  • 0 to < 6.18.66affected
  • 0 to < 7.3.7affected

Linux Linux

Default version status: affected

  • 5.10.276 to ≤ 5.10.*unaffected
  • 5.15.227 to ≤ 5.15.*unaffected
  • 6.12.120 to ≤ 6.12.*unaffected
  • 6.18.66 to ≤ 6.18.*unaffected
  • 7.3.7 to ≤ 7.3.*unaffected
  • 7.4-rc3 to ≤ *unaffected

References