CVE-2026-72212
mm/memory_hotplug: fix incorrect altmap passing in error path
Check your servers for CVE-2026-72212
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-72212 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 incorrect altmap passing in error path
In create_altmaps_and_memory_blocks(), when arch_add_memory() succeeds with memmap_on_memory enabled, the vmemmap pages are allocated from params.altmap. If create_memory_block_devices() subsequently fails, the error path calls arch_remove_memory() with a NULL altmap instead of params.altmap.
This is a bug that could lead to memory corruption. Since altmap is NULL, vmemmap_free() falls back to freeing the vmemmap pages into the system buddy allocator via free_pages() instead of the altmap. arch_remove_memory() then immediately destroys the physical linear mapping for this memory. This injects unowned pages into the buddy allocator, causing machine checks or memory corruption if the system later attempts to allocate and use those freed pages.
Fix this by passing params.altmap to arch_remove_memory() in the error path.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.1% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 6b8f0798b85aa529011570369db985a788f3003f, before 3833e6abdbbfb59ec8203a84a84206cb7ffb41ac affected from 6b8f0798b85aa529011570369db985a788f3003f, before 722e6c54bde6391fb95f0357f555aca887c7b18c affected from 6b8f0798b85aa529011570369db985a788f3003f, before 2f9e3ec17c3d2093c664c00a027588a446c39894 affected from 6b8f0798b85aa529011570369db985a788f3003f, before 2fac4afa0e2e68841334c78c1821e49f74fbc66a
Other versions: unaffected
|
| Linux |
affected 6.8 unaffected before 6.8 unaffected from 6.12.97 up to and including 6.12.* unaffected from 6.18.40 up to and including 6.18.* unaffected from 7.1.5 up to and including 7.1.* unaffected 7.2 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-72212 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-72212
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-72212
trivy image --scanners vuln IMAGE | grep CVE-2026-72212
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/3833e6abdbbfb59ec8203a84a84206cb7ffb41ac git.kernel.org
- https://git.kernel.org/stable/c/722e6c54bde6391fb95f0357f555aca887c7b18c git.kernel.org
- https://git.kernel.org/stable/c/2f9e3ec17c3d2093c664c00a027588a446c39894 git.kernel.org
- https://git.kernel.org/stable/c/2fac4afa0e2e68841334c78c1821e49f74fbc66a git.kernel.org
Source: the record CVE-2026-72212 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