CVE-2026-143172: mm/mmzone: read the zoneref slot once in zonelist_zone()
In the Linux kernel, the following vulnerability has been resolved:
mm/mmzone: read the zoneref slot once in zonelistzone()
Memory hotplug rebuilds zonelists in place while allocations walk them, so a zoneref slot can change between two loads of it.
zonelistzone() loads the slot with a plain access. The compiler may load it again later instead of keeping the zone it already read, so a caller can check one zone and then use another, or the NULL terminator.
Use READONCE(). Callers that take a zone from a slot and keep using it, such as getpagefromfreelist() with ac->preferredzoneref, need that single load.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.276 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.227 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7 - Compensating control
In mm/mmzone, use READ_ONCE() to load the zoneref slot once in zonelist_zone(); callers such as get_page_from_freelist() should reload the slot when needed instead of retaining a previously read zone.
Event History
Frequently Asked Questions
Which systems are most likely to encounter this issue?
Systems that perform memory hotplug while memory allocations are concurrently walking zonelists are exposed to the race. The issue involves zonelist rebuilding in place during those concurrent operations.
What can happen when the race occurs?
A caller can validate one zone and subsequently use a different zone, or use the NULL terminator, if the zoneref slot changes between accesses. This affects callers that retain a zone obtained from a zoneref slot, including get_page_from_freelist() using ac->preferred_zoneref.
Is a fixed release version provided?
No affected or fixed kernel version range is provided. The supplied references identify fixes by commit: 9d0efb88f6b425dc6f2c1bd437f552781858b40c, 502e1497694cfc1f446b991b105bf06fcd664158, and 03568df8fcac0c2a9dda78fcf00766c968a4f062.