CVE-2026-139553

Source
https://cve.org/CVERecord?id=CVE-2026-139553
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139553.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139553
Downstream
Published
2026-11-30T13:35:49Z
Modified
2026-11-30T15:02:29Z
Summary
mm/memory_hotplug: fix missing rollback in __add_pages()
Details

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

mm/memory_hotplug: fix missing rollback in __add_pages()

__add_pages() returns on a sparse_add_section() failure without removing the sections already added in the same request.

For memremap_pages(), the failed range is not counted in pgmap->nr_range, so memunmap_pages() skips it. The sections already added in that range retain their vmemmap mappings and subsection bits. Retrying a section-aligned range can then fail with -EEXIST.

Save the initial PFN and remove [start_pfn, pfn) on failure. For a vmemmap population failure, section_activate() already cleans up the current section, so the rollback excludes it. If the first section fails, __remove_pages() receives an empty range and does nothing.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139553.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
ba72b4c8cf60e452cf6f0258ed9ee697957b7dfd
Fixed
23c6b72ae412271a937d3b9706ee13ba9c84bc92
Fixed
5853ffdd61233bc7c0061d80ec6dc4c4cd969851
Fixed
2062695c28db539725e4882ad9ffac969ee29db3
Fixed
c31bb839fb829958101250ee5acfa4f94fdb7ecd

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.3.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.66
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

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