# CVE-2026-72212: mm/memory\_hotplug: fix incorrect altmap passing in error path

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-28)
- **Published:** 2026-08-15T05:54:07.077Z
- **Modified:** 2026-08-17T06:18:22.150Z

## Who should check

- Anyone running Linux \>= 6b8f0798b85aa529011570369db985a788f3003f, \< 3833e6abdbbfb59ec8203a84a84206cb7ffb41ac; \>= 6b8f0798b85aa529011570369db985a788f3003f, \< 722e6c54bde6391fb95f0357f555aca887c7b18c; \>= 6b8f0798b85aa529011570369db985a788f3003f, \< 2f9e3ec17c3d2093c664c00a027588a446c39894; \>= 6b8f0798b85aa529011570369db985a788f3003f, \< 2fac4afa0e2e68841334c78c1821e49f74fbc66a
- Anyone running Linux 6.8

## 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.

## Affected and fixed versions

- Linux: \>= 6b8f0798b85aa529011570369db985a788f3003f, \< 3833e6abdbbfb59ec8203a84a84206cb7ffb41ac; \>= 6b8f0798b85aa529011570369db985a788f3003f, \< 722e6c54bde6391fb95f0357f555aca887c7b18c; \>= 6b8f0798b85aa529011570369db985a788f3003f, \< 2f9e3ec17c3d2093c664c00a027588a446c39894; \>= 6b8f0798b85aa529011570369db985a788f3003f, \< 2fac4afa0e2e68841334c78c1821e49f74fbc66a (cvelist)
- Linux: 6.8 (cvelist)

## Mitigation

- Upgrade Linux to 2fac4afa0e2e68841334c78c1821e49f74fbc66a or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-72212. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-72212.md
Affected: Linux >= 6b8f0798b85aa529011570369db985a788f3003f, < 3833e6abdbbfb59ec8203a84a84206cb7ffb41ac; >= 6b8f0798b85aa529011570369db985a788f3003f, < 722e6c54bde6391fb95f0357f555aca887c7b18c; >= 6b8f0798b85aa529011570369db985a788f3003f, < 2f9e3ec17c3d2093c664c00a027588a446c39894; >= 6b8f0798b85aa5290115703…
Fixed in: Linux 3833e6abdbbfb59ec8203a84a84206cb7ffb41ac, Linux 722e6c54bde6391fb95f0357f555aca887c7b18c, Linux 2f9e3ec17c3d2093c664c00a027588a446c39894, Linux 2fac4afa0e2e68841334c78c1821e49f74fbc66a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-72212 being exploited?

There is no confirmed exploitation: CVE-2026-72212 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-72212?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-72212?

Linux \>= 6b8f0798b85aa529011570369db985a788f3003f, \< 3833e6abdbbfb59ec8203a84a84206cb7ffb41ac; \>= 6b8f0798b85aa529011570369db985a788f3003f, \< 722e6c54bde6391fb95f0357f555aca887c7b18c; \>= 6b8f0798b85aa529011570369db985a788f3003f, \< 2f9e3ec17c3d2093c664c00a027588a446c39894; \>= 6b8f0798b85aa529011570369db985a788f3003f, \< 2fac4afa0e2e68841334c78c1821e49f74fbc66a; Linux 6.8.

### Is there a fix for CVE-2026-72212?

Yes. Fixed in Linux 3833e6abdbbfb59ec8203a84a84206cb7ffb41ac, Linux 722e6c54bde6391fb95f0357f555aca887c7b18c, Linux 2f9e3ec17c3d2093c664c00a027588a446c39894, Linux 2fac4afa0e2e68841334c78c1821e49f74fbc66a. Upgrade Linux to 2fac4afa0e2e68841334c78c1821e49f74fbc66a or later.

### How do I check if I'm affected by CVE-2026-72212?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/3833e6abdbbfb59ec8203a84a84206cb7ffb41ac>
- other: <https://git.kernel.org/stable/c/722e6c54bde6391fb95f0357f555aca887c7b18c>
- other: <https://git.kernel.org/stable/c/2f9e3ec17c3d2093c664c00a027588a446c39894>
- other: <https://git.kernel.org/stable/c/2fac4afa0e2e68841334c78c1821e49f74fbc66a>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-72212>

HTML: <https://flawdb.com/CVE-2026-72212> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-72212>
