🇰🇷 한글 설명
Linux 커널 5.8-rc6 이전 버전의 ZRAM 모듈에서 로컬 사용자가 /sys/class/zram-control/hot_add 파일을 읽어 /dev/ 디렉토리에 ZRAM 장치 노드를 생성할 수 있는 결함이 발견되었습니다. 이 과정에서 할당되는 커널 메모리가 사용자 사용량으로 계산되지 않아, 반복적인 읽기 동작을 통해 시스템 메모리를 고갈시키고 OOM 킬러를 작동시켜 시스템을 마비시킬 수 있습니다.
💡 쉬운 설명
컴퓨터의 메모리를 관리하는 기능에 허점이 있어, 특정 파일을 계속 읽기만 해도 메모리를 엄청나게 잡아먹을 수 있습니다. 이로 인해 시스템이 느려지거나 중요한 프로그램들이 강제로 종료되어 컴퓨터가 멈출 수 있습니다.
🇺🇸 원문 (English)
A flaw was found in the Linux Kernel before 5.8-rc6 in the ZRAM kernel module, where a user with a local account and the ability to read the /sys/class/zram-control/hot_add file can create ZRAM device nodes in the /dev/ directory. This read allocates kernel memory and is not accounted for a user that triggers the creation of that ZRAM device. With this vulnerability, continually reading the device may consume a large amount of system memory and cause the Out-of-Memory (OOM) killer to activate and terminate random userspace processes, possibly making the system inoperable.
📍 영향받는 시스템
Linux Kernel 5.8-rc6 미만 버전 (ZRAM 모듈 포함)
⚔️ 공격 벡터
로컬 계정 권한을 가진 사용자가 특정 시스템 파일을 반복적으로 읽어 메모리 고갈 유도
🛡️ 대응 방법
Linux 커널을 5.8-rc6 이상 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 5.8-rc6보다 낮은지 확인