همهٔ گزارش‌ها
کم

kernel: mm/memory_hotplug: fix memory block reference leak on remove

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2026-64180

احتمال بهره‌برداری در ۳۰ روز آینده: 0.11%

FIRST EPSS · ۱۴۰۵/۰۸/۲۷

شرح آسیب‌پذیری

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.

A flaw was found in the Linux kernel's memory hotplug component. When memory blocks are removed, the remove_memory_blocks_and_altmaps() function fails to release a previously acquired reference to the memory block device. This oversight results in a memory leak, which could lead to system instability or denial of service over time due to resource exhaustion.