CVE-2026-143170: mm/page_alloc: don't undo another isolation in alloc_contig_range

Published Dec 3, 2026
·
Updated

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

3 affected componentsFixes available
Linux Linux kernel
linux/kernel>=5.19.0<6.18.66
6.18.66
linux/kernel>=6.19.0<7.3.7
7.3.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.66
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.7

Event History

Dec 3, 2026
CVE Published
via MITRE·09:20 AM
Data Sourced
via MITRE·09:20 AM
Description
Data Sourced
via OSV·09:20 AM
DescriptionAffected Software
Data Sourced
via NVD·10:17 AM
Description

Frequently Asked Questions

1

What conditions are required to trigger the issue?

The issue requires alloc_contig_range() to overlap memory that is being taken offline. In the described case, offline_pages() has isolated a DIMM block while a contiguous allocation, such as a 1G hugetlb allocation, is attempted over that block.

2

What is the operational impact if the issue occurs?

The memory-offline operation can spin waiting for pages to become isolated, potentially until it receives a signal. It holds the device hotplug lock while stalled, which can block related device hotplug activity.

3

How can administrators recognize a system affected by this condition?

A memory-offline request may remain in offline_pages() for an extended period after an overlapping contiguous allocation attempt. The described stack includes offline_pages, memory_subsys_offline, device_offline, and state_store.

4

What happens after the fix when an allocation overlaps an offline operation?

The overlapping contiguous allocation still fails, but it no longer clears the isolation state established by the memory-offline operation. This allows the offline operation to proceed rather than continuing to loop.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203