CVE-2026-139553
not scored yetmm/memory_hotplug: fix missing rollback in __add_pages()
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.
- Published
- 30 Nov 2026
- Last modified
- 30 Nov 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= ba72b4c8cf60e452cf6f0258ed9ee697957b7dfd, < 23c6b72ae412271a937d3b9706ee13ba9c84bc92; >= ba72b4c8cf60e452cf6f0258ed9ee697957b7dfd, < 5853ffdd61233bc7c0061d80ec6dc4c4cd969851; >= ba72b4c8cf60e452cf6f0258ed9ee697957b7dfd, < 2062695c28db539725e4882ad9ffac969ee29db3; >= ba72b4c8cf60e452cf6f0258ed9ee697957b7dfd, < c31bb839fb829958101250ee5acfa4f94fdb7ecd | 23c6b72ae412271a937d3b9706ee13ba9c84bc92, 5853ffdd61233bc7c0061d80ec6dc4c4cd969851, 2062695c28db539725e4882ad9ffac969ee29db3, c31bb839fb829958101250ee5acfa4f94fdb7ecd |
| CVE List | Linux | Linux | = 5.3 |
References
- https://git.kernel.org/stable/c/2062695c28db539725e4882ad9ffac969ee29db3
- https://git.kernel.org/stable/c/23c6b72ae412271a937d3b9706ee13ba9c84bc92
- https://git.kernel.org/stable/c/5853ffdd61233bc7c0061d80ec6dc4c4cd969851
- https://git.kernel.org/stable/c/c31bb839fb829958101250ee5acfa4f94fdb7ecd
History
- 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)