CVEvulnerability

CVE-2026-64244

5.5 MEDIUM Published 2026-07-24 Modified 2026-08-17 Official page ↗
Status
Analyzed
Published
2026-07-24
Last modified
2026-08-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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 configurations

• linux linux kernel (>= 6.6 < 6.6.144) • linux linux kernel (>= 6.7 < 6.12.95) • linux linux kernel (>= 6.13 < 6.18.37) • linux linux kernel (>= 6.19 < 7.0.14) • linux linux kernel (>= 7.1 < 7.1.2)

References