# CVE-2026-139553: mm/memory_hotplug: fix missing rollback in __add_pages()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-11-30T13:35:49.577Z
- Modified: 2026-11-30T14:19:35.683Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from ba72b4c8cf60e452cf6f0258ed9ee697957b7dfd before 23c6b72ae412271a937d3b9706ee13ba9c84bc92; from ba72b4c8cf60e452cf6f0258ed9ee697957b7dfd before 5853ffdd61233bc7c0061d80ec6dc4c4cd969851; from ba72b4c8cf60e452cf6f0258ed9ee697957b7dfd before 2062695c28db539725e4882ad9ffac969ee29db3; from ba72b4c8cf60e452cf6f0258ed9ee697957b7dfd before c31bb839fb829958101250ee5acfa4f94fdb7ecd; 5.3 (not affected: before 5.3; from 6.12.119 up to 6.12.*; from 6.18.66 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/23c6b72ae412271a937d3b9706ee13ba9c84bc92>
- <https://git.kernel.org/stable/c/5853ffdd61233bc7c0061d80ec6dc4c4cd969851>
- <https://git.kernel.org/stable/c/2062695c28db539725e4882ad9ffac969ee29db3>
- <https://git.kernel.org/stable/c/c31bb839fb829958101250ee5acfa4f94fdb7ecd>

## Sources

- CVE List: [CVE-2026-139553](https://www.cve.org/CVERecord?id=CVE-2026-139553), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139553](https://nvd.nist.gov/vuln/detail/CVE-2026-139553), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139553 · Whole record: https://cve.day/CVE-2026-139553.json · Rebuilt by cve.day 2026-11-30T14:33:10.942Z
