AZL-118256: CVE-2026-143171 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
mm/mempolicy: read the zoneref slot once in mempolicyslabnode()
For a bind or preferred-many policy, mempolicyslabnode() tests the first matching slot's zone for NULL, then reads the slot again to look up the zone's node. Offlining a zone's last block rebuilds the zonelists in place, so the second read can return the terminator:
CPU 0 CPU 1 mempolicyslabnode() zonelistzone(slot 4) = node 2 NORMAL offlinepages() buildallzonelists() slot 4 = NULL zonelistnodeidx(slot 4) zonetonid(NULL)
Current GCC merges the two reads, but nothing requires it. With mm/mempolicy.o built with -fno-inline -fno-ipa-sra, holding a bound task's slabstrictnuma allocation between the reads while a movable block earlier in the zonelist goes offline oopses every time:
BUG: kernel NULL pointer dereference, address: 0000000000000060 RIP: 0010:zonetonid+0x0/0x10 Call Trace: kmemcacheallocnoprof+0x294/0x610 dogetname+0x34/0x230
mempolicyslabnode() and zonelistnodeidx() are tail calls here, so neither appears in the trace.
Read the slot once and use that zone.
Affected Software
Event History
Frequently Asked Questions
What conditions are required to trigger the crash?
A task must use a bind or preferred-many memory policy and make a slab allocation through mempolicy_slab_node(). A zone earlier in the relevant zonelist must be offlined concurrently, causing the zonelist to be rebuilt between two reads of the same slot.
What is the likely impact if the race is triggered?
The described outcome is a kernel NULL-pointer dereference and oops when the second slot read returns the zonelist terminator. The supplied data describes a denial-of-service condition rather than privilege escalation or data disclosure.
Are systems affected under default compilation settings?
The report says current GCC merges the two slot reads, but this behavior is not required. The crash was reproduced reliably when mm/mempolicy.o was built with -fno-inline and -fno-ipa-sra; the data does not establish whether a default build is susceptible.
How can administrators recognize this issue in crash logs?
Look for a kernel NULL-pointer dereference at address 0x60 with RIP in zone_to_nid, potentially during slab allocation paths such as kmem_cache_alloc_noprof and do_getname. mempolicy_slab_node() and zonelist_node_idx() may not appear in the call trace because they can be tail calls.