Description
In the Linux kernel, the following vulnerability has been resolved:

mm/memory_hotplug: fix memory block reference leak on remove

Patch series "mm: Fix memory block leaks and locking", v2.

This series fixes two memory block device reference leaks and one locking
issue around the per-memory_block hwpoison counter.


This patch (of 2):

remove_memory_blocks_and_altmaps() looks up each memory block with
find_memory_block(), which acquires a reference to the memory block
device.

That reference is never dropped on this path, resulting in a leaked device
reference when removing memory blocks and their altmaps. Drop the
reference after retrieving mem->altmap and clearing mem->altmap, before
removing the memory block device.
Published: 2026-07-19
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises when the kernel removes memory blocks and their alternate mappings during memory‑hotplug. The remove_memory_blocks_and_altmaps function acquires a reference to the memory block’s device but never relinquishes it, causing the device reference count to grow permanently. Over time this memory block device reference leak can exhaust kernel resources, destabilize the system, or produce a denial‑of‑service condition. The flaw is classified as CWE‑911, reflecting improper management of memory references.

Affected Systems

All Linux kernel releases that expose the memory_hotplug interfaces and lack the patch series “mm: Fix memory block leaks and locking, v2.” are affected. This includes any distribution shipping such kernels and any system that supports dynamic memory hotplug; no user‑space components are impacted.

Risk and Exploitability

The CVSS score of 5.5 rates the issue as moderate severity. The EPSS score of less than 1% indicates that exploitation is unlikely, and the vulnerability is not listed in the CISA KEV catalog. Exploitation would likely require privileged kernel access; based on the description it is inferred that this is necessary because the vulnerable path runs kernel code that removes memory blocks, an operation normally reserved for privileged contexts. Because it is not network‑exposed, the attack surface is limited, but managed systems allowing memory hot‑plug remain at risk.

Generated by OpenCVE AI on July 30, 2026 at 20:01 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the “mm: Fix memory block leaks and locking, v2.” patch series.
  • If an upgrade cannot be performed immediately, disable memory hotplug or prohibit dynamic removal of memory modules to eliminate the vulnerable code path.
  • After applying the patch or disabling hotplug, monitor system logs for repeated memory‑block removal messages or reference‑count anomalies to confirm the issue has been resolved.

Generated by OpenCVE AI on July 30, 2026 at 20:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Mon, 20 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-911
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


Sun, 19 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: mm/memory_hotplug: fix memory block reference leak on remove Patch series "mm: Fix memory block leaks and locking", v2. This series fixes two memory block device reference leaks and one locking issue around the per-memory_block hwpoison counter. This patch (of 2): remove_memory_blocks_and_altmaps() looks up each memory block with find_memory_block(), which acquires a reference to the memory block device. That reference is never dropped on this path, resulting in a leaked device reference when removing memory blocks and their altmaps. Drop the reference after retrieving mem->altmap and clearing mem->altmap, before removing the memory block device.
Title mm/memory_hotplug: fix memory block reference leak on remove
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-19T15:41:03.751Z

Reserved: 2026-07-19T07:54:57.039Z

Link: CVE-2026-64180

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Low

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-64180 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T20:15:05Z

Weaknesses
  • CWE-911

    Improper Update of Reference Count