🇰🇷 한글 설명
Linux 커널의 nvdimm/btt 구성 요소에서 discover_arenas() 함수가 오류를 발생시킬 때 할당된 메모리를 해제하지 않는 취약점이 발견되었습니다. btt_freelist_init(), btt_rtt_init(), btt_maplocks_init()를 통해 할당된 메모리가 누수되어 시스템 자원을 소모할 수 있습니다.
💡 쉬운 설명
컴퓨터의 메모리 관리 과정에서 오류가 발생했을 때, 사용했던 메모리를 다시 돌려주지 않고 그대로 남겨두는 문제가 있습니다. 이 문제가 반복되면 시스템의 메모리가 점점 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
nvdimm/btt: Free arena sub-allocations on discover_arenas() error path
Memory allocated by btt_freelist_init(), btt_rtt_init(), and
btt_maplocks_init() is not freed on some discover_arenas() error
paths. This leaks memory when arena discovery fails.
Add the missing kfree() calls to release the allocations before
returning an error.
[ as: commit message and log edits ]
📍 영향받는 시스템
Linux kernel (nvdimm/btt 모듈을 사용하는 시스템)
⚔️ 공격 벡터
로컬 공격자가 의도적으로 arena discovery 오류를 유발하여 메모리 누수를 일으킬 수 있음
🛡️ 대응 방법
해당 취약점이 수정된 최신 Linux 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 버전인지 배포판 보안 공지를 통해 확인