CVE-2026-64244: drivers/base/memory: set mem->altmap after successful device registration
drivers/base/memory: set mem->altmap after successful device registration
drivers/base/memory: set mem->altmap after successful device registration
The failure path is triggered when __add_memory_block() fails at xa_store(), such as under memory pressure. Cleanup then unregisters the device while mem->altmap is still set.
The supplied CVSS vector indicates local access and low privileges are required. No user interaction is required.
The rating indicates a high availability impact, with no confidentiality or integrity impact. The affected path can trigger WARN_ON(mem->altmap).
A patch is available. No alternative workaround is provided in the available data.
Look for a WARN_ON(mem->altmap) warning associated with device cleanup after a failed memory-block registration. The described failure occurs when xa_store() fails during __add_memory_block().