# CVE-2026-64180: mm/memory_hotplug: fix memory block reference leak on remove

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-07-19T15:41:03.751Z
- Modified: 2026-08-12T15:28:41.917Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 6b8f0798b85aa529011570369db985a788f3003f before b8ab30c79fc00147125b9c39f928561d9dd13d06; from 6b8f0798b85aa529011570369db985a788f3003f before 09ce923071e7852ece60d7368e05249bf32c7967; from 6b8f0798b85aa529011570369db985a788f3003f before df64c0d21c3f85f844b2f656333e43d97e6ffa74; from 6b8f0798b85aa529011570369db985a788f3003f before 93866f55f7e292fe3d47d36c9efe5ee10213a06b; 6.8 (not affected: before 6.8; from 6.12.92 up to 6.12.*; from 6.18.34 up to 6.18.*; from 7.0.11 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.8 before 6.12.92; from 6.13 before 6.18.34; from 6.19 before 7.0.11; 7.1

## References

- <https://git.kernel.org/stable/c/b8ab30c79fc00147125b9c39f928561d9dd13d06> (patch)
- <https://git.kernel.org/stable/c/09ce923071e7852ece60d7368e05249bf32c7967> (patch)
- <https://git.kernel.org/stable/c/df64c0d21c3f85f844b2f656333e43d97e6ffa74> (patch)
- <https://git.kernel.org/stable/c/93866f55f7e292fe3d47d36c9efe5ee10213a06b> (patch)

## Sources

- CVE List: [CVE-2026-64180](https://www.cve.org/CVERecord?id=CVE-2026-64180), CVE Terms of Use, modified 2026-07-19
- NVD: [CVE-2026-64180](https://nvd.nist.gov/vuln/detail/CVE-2026-64180), Public domain, modified 2026-08-12

---

Page: https://cve.day/CVE-2026-64180 · Whole record: https://cve.day/CVE-2026-64180.json · Rebuilt by cve.day 2026-11-25T22:59:29.183Z
