🇰🇷 한글 설명
Linux 커널의 ublk 구성 요소에서 io_uring_cmd_complete_in_task와 ublk_cancel_cmd 간의 레이스 컨디션 취약점이 발견되었습니다. 요청을 처리하는 과정에서 명령 취소 시도가 적절히 제어되지 않아 커널 크래시(시스템 중단)가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 핵심 운영체제인 리눅스에서 두 가지 작업이 동시에 일어나 충돌하면서 시스템이 갑자기 멈추거나 꺼질 수 있는 문제입니다. 특정 명령을 취소하려는 순간 시스템이 혼란을 겪어 발생하는 오류입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ublk: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmd
ublk_cancel_cmd() calls io_uring_cmd_done() to complete uring_cmd, but
we may have scheduled task work via io_uring_cmd_complete_in_task() for
dispatching request, then kernel crash can be triggered.
Fix it by not trying to canceling the command if ublk block request is
started.
📍 영향받는 시스템
ublk 기능을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
로컬 사용자가 특수하게 조작된 io_uring 명령을 통해 레이스 컨디션을 유도하여 커널 크래시 발생
🛡️ 대응 방법
ublk 관련 패치가 적용된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 보안 패치 버전 이후인지 확인