CVE-2026-72212

Source
https://cve.org/CVERecord?id=CVE-2026-72212
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72212.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-72212
Downstream
Published
2026-08-15T05:54:07.077Z
Modified
2026-08-18T03:31:04.842569099Z
Summary
mm/memory_hotplug: fix incorrect altmap passing in error path
Details

In the Linux kernel, the following vulnerability has been resolved:

mm/memory_hotplug: fix incorrect altmap passing in error path

In createaltmapsandmemoryblocks(), when archaddmemory() succeeds with memmaponmemory enabled, the vmemmap pages are allocated from params.altmap. If creatememoryblockdevices() subsequently fails, the error path calls archremove_memory() with a NULL altmap instead of params.altmap.

This is a bug that could lead to memory corruption. Since altmap is NULL, vmemmapfree() falls back to freeing the vmemmap pages into the system buddy allocator via freepages() instead of the altmap. archremovememory() 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 archremovememory() in the error path.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72212.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6b8f0798b85aa529011570369db985a788f3003f
Fixed
3833e6abdbbfb59ec8203a84a84206cb7ffb41ac
Fixed
722e6c54bde6391fb95f0357f555aca887c7b18c
Fixed
2f9e3ec17c3d2093c664c00a027588a446c39894
Fixed
2fac4afa0e2e68841334c78c1821e49f74fbc66a

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72212.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.8.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72212.json"