CVE-2026-143170

Source
https://cve.org/CVERecord?id=CVE-2026-143170
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143170.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143170
Downstream
Published
2026-12-03T09:20:06Z
Modified
2026-12-03T11:01:28Z
Summary
mm/page_alloc: don't undo another isolation in alloc_contig_range
Details

In the Linux kernel, the following vulnerability has been resolved:

mm/page_alloc: don't undo another isolation in alloc_contig_range

An alloc_contig_range() that overlaps a block going offline can leave the offline spinning until it gets a signal, holding the device hotplug lock. When isolation fails, alloc_contig_frozen_range() undoes it over the whole range, clearing the offline's MIGRATE_ISOLATE too:

CPU 1 (offline_pages) CPU 2 (alloc_contig_range) start_isolate_page_range() blocks are MIGRATE_ISOLATE start_isolate_page_range() -EBUSY on CPU 1's blocks undo_isolate_page_range() blocks are MIGRATE_MOVABLE test_pages_isolated() never succeeds again

start_isolate_page_range() 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 alloc_contig_range() went pageblock granular.

With offline_pages() 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:

offline_pages+0x5b2/0x1570 memory_subsys_offline+0x17e/0x470 device_offline+0x250/0x340 state_store+0x88/0x110

With this patch the allocation still fails, and the offline completes in 3 of 3 runs.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143170.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b2c9e2fbba32539626522b6aed30d1dde7b7e971
Fixed
74ac6e544d5e967ca8ab7d92e707310e57745f36
Fixed
535d63d7595bf2d85f7730026392881bd9b2014c
Fixed
7d9c29ed8feec8bfbe5e5f673ba2b5926da11375

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143170.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
6.18.66
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143170.json"