🇰🇷 한글 설명
리눅스 커널의 mm/memory_hotplug 구성 요소에서 메모리 블록 제거 시 참조 카운트가 해제되지 않는 메모리 누수 취약점이 발견되었습니다. 이로 인해 메모리 블록 및 altmap 제거 과정에서 장치 참조가 누수되어 시스템 자원이 고갈될 수 있습니다.
💡 쉬운 설명
컴퓨터의 메모리를 제거하는 과정에서 사용했던 흔적을 제대로 지우지 않아 메모리 자원이 계속 낭비되는 문제입니다. 이 현상이 반복되면 시스템의 메모리가 부족해질 수 있습니다.
🇺🇸 원문 (English)
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.
📍 영향받는 시스템
메모리 핫플러그(Memory Hotplug) 기능을 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
직접적인 원격 공격보다는 시스템 운영 중 메모리 블록을 빈번하게 제거하는 환경에서 자원 고갈을 유도할 수 있음
🛡️ 대응 방법
해당 패치가 적용된 최신 리눅스 커널로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.