🇰🇷 한글 설명
Linux 커널 4.10.2 이전 버전의 kernel/ucount.c에 존재하는 race condition으로, 로컬 사용자가 조작된 시스템 콜을 통해 put_ucounts와 get_ucounts 사이의 부정확한 상호작용을 유발할 수 있습니다. 이로 인해 use-after-free 취약점이 발생하여 서비스 거부 공격(시스템 크래시) 또는 기타 미지정 영향을 야기할 수 있습니다.
💡 쉬운 설명
Linux 시스템의 사용자 카운팅 기능에서 메모리 관리 오류가 발생하여 로컬 사용자가 시스템을 강제 종료할 수 있습니다. 특정 명령어를 실행하면 시스템이 충돌하는 가능성이 있습니다.
🇺🇸 원문 (English)
Race condition in kernel/ucount.c in the Linux kernel through 4.10.2 allows local users to cause a denial of service (use-after-free and system crash) or possibly have unspecified other impact via crafted system calls that leverage certain decrement behavior that causes incorrect interaction between put_ucounts and get_ucounts.
📍 영향받는 시스템
Linux kernel 4.10.2 이전 버전 (2.6.x ~ 4.10.2)
⚔️ 공격 벡터
로컬 인증된 사용자가 특수 제작된 시스템 콜(setuid, setgid 관련)을 통해 공격
🛡️ 대응 방법
Linux 커널을 4.10.3 이상으로 업그레이드
🔧 검증 코드
명령어 출력이 있으면 취약한 버전, 출력이 없으면 패치된 버전
uname -r | grep -E '^[0-3]\.|^4\.([0-9]|10\.[0-2])'