AZL-118247: CVE-2026-143168 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
mm/pagealloc: snapshot the preferred zone against shrink rebuilds
getpagefromfreelist() and allocpagesbulknoprof() reread ac->preferredzoneref->zone at every use. Offlining a zone's last block rebuilds the zonelists in place, and the shrunk list's NULL terminator can land on the preferred slot mid-walk:
CPU 0 CPU 1 getpagefromfreelist(GFPKERNEL | GFPTHISNODE) zone = NORMAL (slot 1) offlinepages() buildallzonelists() [MOVABLE, NORMAL, NULL] -> [NORMAL, NULL] rmqueue(zonelistzone(slot 1), zone) zonestatistics(NULL, zone)
BUG: kernel NULL pointer dereference, address: 0000000000000060 RIP: 0010:getpagefromfreelist+0x6a5/0x15f0 Call Trace: allocfrozenpagesnoprof+0x125/0x330
Read the slot once. Zones are never freed, so a stale zone is safe, and a NULL slot fails the same way as walking off the end.
Affected Software
Event History
Frequently Asked Questions
What conditions are required to trigger the failure?
The failure requires a race between page allocation and offlining the last block of a zone. While zonelists are rebuilt in place, allocation code can reread a preferred-zone slot that has become the NULL terminator.
What is the observed impact if the race occurs?
The allocation path can pass a NULL zone to zone statistics handling, causing a kernel NULL pointer dereference. The provided trace shows this results in a BUG in get_page_from_freelist().
How can systems reduce exposure before applying the resolved change?
Avoid offlining a zone's last block while page-allocation activity is occurring. The resolved approach is to read and retain the preferred zone once rather than rereading the zonelist slot during the allocation walk.