🇰🇷 한글 설명
Linux 커널의 block/blk-cgroup.c 파일 내 blkgs 파괴 경로에서 결함이 발견되어 cgroup blkio 메모리 누수 문제가 발생합니다. cgroup이 삭제될 때 참조 횟수 문제로 인해 특정 자원이 해제되지 않는 순환 참조가 발생하며, 이는 시스템 불안정성을 초래할 수 있습니다.
💡 쉬운 설명
리눅스 시스템에서 특정 자원을 사용한 뒤 삭제하려고 할 때, 메모리가 제대로 비워지지 않고 계속 쌓이는 버그입니다. 이 문제가 지속되면 메모리가 부족해져 시스템이 멈추거나 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
A flaw was found in the blkgs destruction path in block/blk-cgroup.c in the Linux kernel, leading to a cgroup blkio memory leakage problem. When a cgroup is being destroyed, cgroup_rstat_flush() is only called at css_release_work_fn(), which is called when the blkcg reference count reaches 0. This circular dependency will prevent blkcg and some blkgs from being freed after they are made offline. This issue may allow an attacker with a local access to cause system instability, such as an out of memory error.
📍 영향받는 시스템
Linux kernel (block/blk-cgroup.c 관련 버전)
⚔️ 공격 벡터
로컬 접근 권한을 가진 공격자가 의도적으로 cgroup을 생성 및 삭제하여 메모리 누수 유발
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인