🇰🇷 한글 설명
리눅스 커널의 mm/vma 구성 요소에서 mmap_prepare() 호출 실패 시 메모리 계정(accounting)이 올바르게 해제되지 않는 취약점이 발견되었습니다. 이로 인해 메모리 사용량이 실제보다 높게 측정되어 시스템 자원 관리에 오류가 발생할 수 있습니다.
💡 쉬운 설명
메모리를 할당하려다 실패했을 때, 이미 예약된 메모리 기록을 제대로 지우지 못하는 버그입니다. 이 문제가 지속되면 시스템이 실제 사용량보다 메모리를 더 많이 쓰고 있다고 착각할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
mm/vma: correctly unaccount on mmap_prepare() failure
__mmap_setup() accounts memory for relevant mappings via:
security_vm_enough_memory_mm()
-> __vm_enough_memory()
-> vm_acct_memory()
If __mmap_setup() fails, this indicates that this accounting did not take
place, and thus it's appropriate for __mmap_region() to jump to
abort_munmap.
However if call_mmap_prepare() fails, it also jumps there and any accounted
memory is not correctly unaccounted.
Fix this by handling each error separately.
📍 영향받는 시스템
메모리 관리(mm/vma) 기능이 포함된 리눅스 커널 버전
⚔️ 공격 벡터
메모리 매핑 요청을 반복적으로 실패하게 유도하여 메모리 계정 불일치를 유발하는 방식
🛡️ 대응 방법
해당 취약점이 수정된 최신 리눅스 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전을 확인하여 취약점이 해결된 패치 버전인지 확인
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux