AZL-118253: CVE-2026-143170 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
mm/pagealloc: don't undo another isolation in alloccontigrange
An alloccontigrange() that overlaps a block going offline can leave the offline spinning until it gets a signal, holding the device hotplug lock. When isolation fails, alloccontigfrozenrange() undoes it over the whole range, clearing the offline's MIGRATEISOLATE too:
CPU 1 (offlinepages) CPU 2 (alloccontigrange) startisolatepagerange() blocks are MIGRATEISOLATE startisolatepagerange() -EBUSY on CPU 1's blocks undoisolatepagerange() blocks are MIGRATEMOVABLE testpagesisolated() never succeeds again
startisolatepagerange() fails only on a block someone else isolated, after undoing its own, so this undo only ever clears another caller's. Return directly, as before alloccontigrange() went pageblock granular.
With offlinepages() parked after isolating a DIMM block and a 1G hugetlb allocation made over it, the offline on base still loops 30s later in 4 of 4 runs:
offlinepages+0x5b2/0x1570 memorysubsysoffline+0x17e/0x470 deviceoffline+0x250/0x340 statestore+0x88/0x110
With this patch the allocation still fails, and the offline completes in 3 of 3 runs.
Affected Software
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
The affected scenario requires memory offlining to overlap with an alloc_contig_range() request over the same pageblocks. The supplied example involves offlining a DIMM block while making a 1G hugetlb allocation over it.
What can be done if the update cannot be applied immediately?
Avoid running contiguous-memory allocations over memory ranges that are being taken offline. In particular, do not overlap memory offlining with large hugetlb allocations targeting the same range.
How can an administrator recognize the problem in progress?
Memory offlining can remain spinning while holding the device hotplug lock, and may continue until it receives a signal. The example reports offline_pages() still looping 30 seconds later.
Will the affected contiguous allocation succeed after the fix?
No. The supplied description states that the allocation still fails after the patch; the change prevents that failed allocation from clearing another caller's isolation state and leaving offlining stuck.