🇰🇷 한글 설명
리눅스 커널의 io-wq 구성 요소에서 새로운 워커 태스크를 추가하는 과정 중 레이스 컨디션(Race Condition)이 발생할 수 있는 취약점입니다. 워커 생성 확인과 종료 처리 사이에 간극이 존재하여, 종료 프로세스가 이미 완료된 후에도 작업이 추가될 수 있는 문제가 있습니다.
💡 쉬운 설명
컴퓨터의 작업 처리 시스템이 종료되는 순간에 새로운 작업이 끼어들어 시스템이 혼란을 겪는 문제입니다. 이로 인해 시스템이 예상치 못한 방식으로 동작하거나 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
io-wq: check for wq exit after adding new worker task_work
We check IO_WQ_BIT_EXIT before attempting to create a new worker, and
wq exit cancels pending work if we have any. But it's possible to have
a race between the two, where creation checks exit finding it not set,
but we're in the process of exiting. The exit side will cancel pending
creation task_work, but there's a gap where we add task_work after we've
canceled existing creations at exit time.
Fix this by checking the EXIT bit post adding the creation task_work.
If it's set, run the same cancelation that exit does.
📍 영향받는 시스템
Linux Kernel (io-wq 관련 모듈을 사용하는 버전)
⚔️ 공격 벡터
특정 타이밍에 맞춰 입출력 작업을 요청하여 커널 내 레이스 컨디션을 유발하는 방식
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인하십시오.