AZL-118094: CVE-2026-143093 affecting package kernel 6.6.161.1-1
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 mmcpumask() and then reads mm->context.ldt. The LDT-installing CPU writes mm->context.ldt and then reads mmcpumask(). But, there is nothing which orders the LDT installation side actions. The CPU can read mmcpumask() before its write becomes visible.
Ensure that new mm user CPUs see the new mm->context.ldt. Make mm->context.ldt visible before reading mmcpumask().
Also convert the smpstorerelease() over to a WRITEONCE(). smpstorerelease() has an internal barrier which is weaker than the new smpmb(). Avoid an extra barrier by converting it to WRITEONCE().
Also refresh/correct misleading comments. READ/WRITEONCE() do not "synchronize" anything themselves.
Affected Software
Event History
Frequently Asked Questions
What runtime condition is involved in triggering the issue?
The issue involves LDT installation racing with a CPU newly becoming an mm user. The new CPU can add itself to mm_cpumask() and read the LDT value while the installing CPU has not yet made its updated LDT pointer visible before reading that mask.
Which component and package build are identified as affected?
The issue is in the x86 memory-management LDT installation path. The affected package identified in the provided data is azure-linux/kernel version 6.6.161.1-1.