CVE-2026-139553
mm/memory_hotplug: fix missing rollback in __add_pages()
Check your servers for CVE-2026-139553
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139553 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.3% of all scored CVEs. Scores of 2 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from ba72b4c8cf60e452cf6f0258ed9ee697957b7dfd, before 23c6b72ae412271a937d3b9706ee13ba9c84bc92 affected from ba72b4c8cf60e452cf6f0258ed9ee697957b7dfd, before 5853ffdd61233bc7c0061d80ec6dc4c4cd969851 affected from ba72b4c8cf60e452cf6f0258ed9ee697957b7dfd, before 2062695c28db539725e4882ad9ffac969ee29db3 affected from ba72b4c8cf60e452cf6f0258ed9ee697957b7dfd, before c31bb839fb829958101250ee5acfa4f94fdb7ecd
Other versions: unaffected
|
| Linux |
affected 5.3 unaffected before 5.3 unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.66 up to and including 6.18.* unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139553 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139553
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-139553
trivy image --scanners vuln IMAGE | grep CVE-2026-139553
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/23c6b72ae412271a937d3b9706ee13ba9c84bc92 git.kernel.org
- https://git.kernel.org/stable/c/5853ffdd61233bc7c0061d80ec6dc4c4cd969851 git.kernel.org
- https://git.kernel.org/stable/c/2062695c28db539725e4882ad9ffac969ee29db3 git.kernel.org
- https://git.kernel.org/stable/c/c31bb839fb829958101250ee5acfa4f94fdb7ecd git.kernel.org
Source: the record CVE-2026-139553 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse