CVE-2026-139662: ACPI: HMAT: preserve hmat_adist_nb notifier block
In the Linux kernel, the following vulnerability has been resolved:
ACPI: HMAT: preserve hmatadistnb notifier block
Remove meminitdata from hmatadistnb declaration preserving it even when CONFIGMEMORYHOTPLUG is not set. Otherwise further notifier registrations using registermtadistancealgorithm() will find a notifier chain likely corrupted.
This is the case when cxlregionprobe() calls registermtadistancealgorithm() what can happen when CXL regions are dynamically created at any time from Type3 device(s) or when a Type2 device is initialized at its driver probe.
[ rjw: Subject tweak ]
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Remove __meminitdata from the hmat_adist_nb declaration so it remains present even when CONFIG_MEMORY_HOTPLUG is not set.
Event History
Frequently Asked Questions
Which Linux systems are most likely to encounter this issue?
Systems without CONFIG_MEMORY_HOTPLUG are affected when they subsequently register a memory-tiering distance algorithm through register_mt_adistance_algorithm(). The described registration path is associated with CXL Type 2 or Type 3 devices.
What event triggers the vulnerable path?
A Type 3 CXL device can trigger it when CXL regions are dynamically created at any time. A Type 2 CXL device can also trigger it during its driver probe.
What is the practical consequence of triggering it?
The hmat_adist_nb notifier block may not be preserved, so later register_mt_adistance_algorithm() calls can encounter a likely corrupted notifier chain.