CVE-2026-64244

drivers/base/memory: set mem->altmap after successful device registration

MEDIUM
5.5
CVSS Score
Published: July 24, 2026 at 03:29 PM UTC
Updated: August 17, 2026 at 07:35 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.13 ≤ v < 6.18.376.19 ≤ v < 7.0.146.6 ≤ v < 6.12.956.6 ≤ v < 6.18.376.6 ≤ v < 6.6.1446.6 ≤ v < 7.0.146.6 ≤ v < 7.1.26.6 ≤ v < 7.26.7 ≤ v < 6.12.957.1 ≤ v < 7.1.21a8c64e110435e44e71bcd50a75663174b575f226.6
Vendor states this is fixed in 059ac6252a63edf1cea79bf30bd860a8c264b62c (fixed)
Vendor states this is fixed in 22dc0d042f02ce82aa61422ea5f232628bfd9e9c (fixed)
Vendor states this is fixed in 6c25bf4e44a2b6a14332f952bba0974521f5b72d (fixed)
Vendor states this is fixed in 802e113cf120df7208e4c7e604950a85e87120a8 (fixed)
Vendor states this is fixed in a2b8d7827f48ee54a686cb80e4a1d0ff954ec42a (fixed)
Vendor states this is fixed in bc3dd82a0ffd488bb902f4c69c3d28fd4088d973 (fixed)
Vendor states this is fixed in 6.12.95 (unaffected)
Vendor states this is fixed in 6.18.37 (unaffected)
Vendor states this is fixed in 6.6 (unaffected)
Vendor states this is fixed in 6.6.144 (unaffected)
Vendor states this is fixed in 7.0.14 (unaffected)
Vendor states this is fixed in 7.1.2 (unaffected)
Vendor states this is fixed in 7.2 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card