{"id":"CVE-2026-64180","summary":"mm/memory_hotplug: fix memory block reference leak on remove","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/memory_hotplug: fix memory block reference leak on remove\n\nPatch series \"mm: Fix memory block leaks and locking\", v2.\n\nThis series fixes two memory block device reference leaks and one locking\nissue around the per-memory_block hwpoison counter.\n\n\nThis patch (of 2):\n\nremove_memory_blocks_and_altmaps() looks up each memory block with\nfind_memory_block(), which acquires a reference to the memory block\ndevice.\n\nThat reference is never dropped on this path, resulting in a leaked device\nreference when removing memory blocks and their altmaps.  Drop the\nreference after retrieving mem-\u003ealtmap and clearing mem-\u003ealtmap, before\nremoving the memory block device.","modified":"2026-07-21T03:47:56.481462925Z","published":"2026-07-19T15:41:03.751Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64180.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/09ce923071e7852ece60d7368e05249bf32c7967"},{"type":"WEB","url":"https://git.kernel.org/stable/c/93866f55f7e292fe3d47d36c9efe5ee10213a06b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b8ab30c79fc00147125b9c39f928561d9dd13d06"},{"type":"WEB","url":"https://git.kernel.org/stable/c/df64c0d21c3f85f844b2f656333e43d97e6ffa74"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64180.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64180"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6b8f0798b85aa529011570369db985a788f3003f"},{"fixed":"b8ab30c79fc00147125b9c39f928561d9dd13d06"},{"fixed":"09ce923071e7852ece60d7368e05249bf32c7967"},{"fixed":"df64c0d21c3f85f844b2f656333e43d97e6ffa74"},{"fixed":"93866f55f7e292fe3d47d36c9efe5ee10213a06b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64180.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.8.0"},{"fixed":"6.12.92"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.34"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.11"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64180.json"}}],"schema_version":"1.7.5"}