🇰🇷 한글 설명
Linux 커널의 fs/timerfd.c에서 발생하는 Race condition으로, improper might_cancel queueing으로 인해 list corruption이나 use-after-free 취약점이 발생합니다. 로컬 사용자가 동시 파일 디스크립터 작업을 통해 권한 상승이나 서비스 거부 공격을 수행할 수 있습니다.
💡 쉬운 설명
Linux 커널의 타이머 기능에 시간 관련 버그가 있어서 여러 작업이 동시에 실행될 때 시스템이 혼란스러워집니다. 로컬 사용자가 이를 악용하면 컴퓨터를 더 강한 권한으로 제어하거나 시스템을 멈출 수 있습니다.
🇺🇸 원문 (English)
Race condition in fs/timerfd.c in the Linux kernel before 4.10.15 allows local users to gain privileges or cause a denial of service (list corruption or use-after-free) via simultaneous file-descriptor operations that leverage improper might_cancel queueing.
📍 영향받는 시스템
Linux kernel 4.10.14 이하 (Ubuntu 16.04, CentOS 7 등 해당 커널 버전 사용 시스템)
⚔️ 공격 벡터
로컬 사용자의 동시 timerfd 파일 디스크립터 작업 (timerfd_create/timerfd_settime 등의 동시 호출)
🛡️ 대응 방법
Linux kernel을 4.10.15 이상으로 업그레이드 (Ubuntu: apt update && apt upgrade, CentOS: yum update kernel)
🔧 검증 코드
4.10.14 이하 버전이면 vulnerable, 4.10.15 이상이면 patched로 표시됨
uname -r | grep -qE '(^[0-3]\.|^4\.[0-9]\.|^4\.1[0-4]\.)' && echo vulnerable || echo patched