{"id":"CVE-2026-139553","aliases":["CVE-2026-139553"],"related":[],"kind":"vulnerability","state":"published","title":"mm/memory_hotplug: fix missing rollback in __add_pages()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/memory_hotplug: fix missing rollback in __add_pages()\n\n__add_pages() returns on a sparse_add_section() failure without removing\nthe sections already added in the same request.\n\nFor memremap_pages(), the failed range is not counted in pgmap->nr_range,\nso memunmap_pages() skips it. The sections already added in that range\nretain their vmemmap mappings and subsection bits. Retrying a\nsection-aligned range can then fail with -EEXIST.\n\nSave the initial PFN and remove [start_pfn, pfn) on failure. For a vmemmap\npopulation failure, section_activate() already cleans up the current\nsection, so the rollback excludes it. If the first section fails,\n__remove_pages() receives an empty range and does nothing.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/memory_hotplug: fix missing rollback in __add_pages()\n\n__add_pages() returns on a sparse_add_section() failure without removing\nthe sections already added in the same request.\n\nFor memremap_pages(), the failed range is not counted in pgmap->nr_range,\nso memunmap_pages() skips it. The sections already added in that range\nretain their vmemmap mappings and subsection bits. Retrying a\nsection-aligned range can then fail with -EEXIST.\n\nSave the initial PFN and remove [start_pfn, pfn) on failure. For a vmemmap\npopulation failure, section_activate() already cleans up the current\nsection, so the rollback excludes it. If the first section fails,\n__remove_pages() receives an empty range and does nothing.","source":"cvelist"}],"published":"2026-11-30T13:35:49.577Z","modified":"2026-11-30T14:19:35.683Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ba72b4c8cf60e452cf6f0258ed9ee697957b7dfd","fixed":"23c6b72ae412271a937d3b9706ee13ba9c84bc92","status":"affected"},{"type":"git","introduced":"ba72b4c8cf60e452cf6f0258ed9ee697957b7dfd","fixed":"5853ffdd61233bc7c0061d80ec6dc4c4cd969851","status":"affected"},{"type":"git","introduced":"ba72b4c8cf60e452cf6f0258ed9ee697957b7dfd","fixed":"2062695c28db539725e4882ad9ffac969ee29db3","status":"affected"},{"type":"git","introduced":"ba72b4c8cf60e452cf6f0258ed9ee697957b7dfd","fixed":"c31bb839fb829958101250ee5acfa4f94fdb7ecd","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.3","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.66","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/23c6b72ae412271a937d3b9706ee13ba9c84bc92","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5853ffdd61233bc7c0061d80ec6dc4c4cd969851","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2062695c28db539725e4882ad9ffac969ee29db3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c31bb839fb829958101250ee5acfa4f94fdb7ecd","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139553","url":"https://www.cve.org/CVERecord?id=CVE-2026-139553","licence":"CVE Terms of Use","modified":"2026-11-30T13:35:49.577Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139553","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139553","licence":"Public domain","modified":"2026-11-30T14:19:35.683Z"}],"updatedAt":"2026-11-30T14:33:10.942Z","epss":{"score":0.002,"percentile":0.10386,"date":"2026-12-01T12:00:22.000Z"}}