CVE-2026-64244
Medium · 5.5CVSS
5.5
EPSS
0.1%
Published
Jul 24, 2026
CISA due date
—
Cloudanix analysis
A bug in how Linux handles adding memory can make the system unstable or crash under low-memory conditions during certain operations.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A failure path in __add_memory_block() during xa_store() under memory pressure triggers device_unregister() and memory_block_release() while mem->altmap remains set, resulting in a kernel WARN_ON that can lead to system instability or crash.
Why it matters to the business
Linux systems may experience unexpected crashes or degraded availability during memory hotplug operations, particularly in virtualized setups using drivers like virtio-mem, disrupting workloads and requiring reboots.
How an attack unfolds
An attacker with local access induces memory pressure or manipulates memory registration paths (such as through virtio-mem modifications) to force the xa_store() failure, causing the warning condition during device cleanup.
How to fix it
Update the Linux kernel to a version containing the fix that delays mem->altmap assignment until after successful __add_memory_block() completion; monitor kernel changelogs for the memory.c patch.
How to confirm the fix worked
Verify the presence of the corrected code sequence that assigns mem->altmap only after xa_store() succeeds; test memory hotplug operations under simulated memory pressure to confirm absence of the WARN_ON.
Typical attack path
- Obtain local unprivileged access on a Linux system
- Trigger memory pressure or invoke memory hot-add paths
- Cause __add_memory_block() to fail at xa_store()
- Observe kernel warning and potential system impact during cleanup
How to detect it
Review kernel logs for WARN_ON messages referencing mem->altmap or memory_block_release during device registration failures; correlate with virtio-mem or memory hotplug activity.
What your security team should do
- Prioritize kernel updates on systems using memory hotplug or virtio-mem
- Monitor for kernel warnings related to memory_block_release
- Apply updates within standard maintenance windows given low exploitability
The record
In the Linux kernel, the following vulnerability has been resolved: drivers/base/memory: set mem->altmap after successful device registration If __add_memory_block() fails at xa_store() (under memory pressure for example), device_unregister() is called, which eventually triggers memory_block_release() with mem->altmap still set, causing a WARN_ON(mem->altmap). This was triggered by modifying virtio-mem driver. Fix this by delaying the assignment of mem->altmap until after __add_memory_block() has succeeded.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|