🇰🇷 한글 설명
리눅스 커널의 io_uring에서 use-after-free 취약점이 발견되었습니다. signalfd 또는 binder fd가 io_uring poll과 함께 사용될 때, 대기 큐가 해제된 후에도 접근을 시도하여 발생합니다.
💡 쉬운 설명
컴퓨터가 이미 사용이 끝나서 삭제한 메모리 공간을 다시 사용하려고 할 때 발생하는 오류입니다. 이로 인해 시스템이 멈추거나 해커가 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
There exists a use-after-free in io_uring in the Linux kernel. Signalfd_poll() and binder_poll() use a waitqueue whose lifetime is the current task. It will send a POLLFREE notification to all waiters before the queue is freed. Unfortunately, the io_uring poll doesn't handle POLLFREE. This allows a use-after-free to occur if a signalfd or binder fd is polled with io_uring poll, and the waitqueue gets freed. We recommend upgrading past commit fc78b2fc21f10c4c9c4d5d659a685710ffa63659
📍 영향받는 시스템
io_uring을 사용하는 리눅스 커널 (commit fc78b2fc21f10c4c9d5d659a685710ffa63659 이전 버전)
⚔️ 공격 벡터
io_uring을 통해 signalfd 또는 binder fd의 poll을 수행하여 메모리 해제 후 접근 유도
🛡️ 대응 방법
커널을 최신 버전으로 업데이트하거나 패치된 커밋(fc78b2fc21f10c4c9d5d659a685710ffa63659) 이후 버전으로 업그레이드
🔧 검증 코드
명령어 결과가 'Patched'이면 안전하며, 'Vulnerable'이면 취약한 상태입니다.
git log -1 --format=%H | grep -q fc78b2fc21f10c4c9d5d659a685710ffa63659 && echo 'Patched' || echo 'Vulnerable'