🇰🇷 한글 설명
리눅스 커널의 um 모듈에서 winch IRQ를 등록하기 전에 winch_handlers 목록에 추가하지 않아 발생하는 레이스 컨디션 취약점입니다. 이로 인해 인터럽트가 먼저 발생할 경우 이미 해제되었거나 해제될 예정인 winch가 목록에 추가되어, 이후 winch_cleanup() 호출 시 커널 패닉을 유발할 수 있습니다.
💡 쉬운 설명
시스템이 특정 신호를 처리하기 위한 준비를 하는 과정에서 순서가 뒤바뀌어 발생하는 오류입니다. 이 오류가 발생하면 시스템이 갑자기 멈추거나 강제로 재부팅될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
um: Add winch to winch_handlers before registering winch IRQ
Registering a winch IRQ is racy, an interrupt may occur before the winch is
added to the winch_handlers list.
If that happens, register_winch_irq() adds to that list a winch that is
scheduled to be (or has already been) freed, causing a panic later in
winch_cleanup().
Avoid the race by adding the winch to the winch_handlers list before
registering the IRQ, and rolling back if um_request_irq() fails.
📍 영향받는 시스템
Linux Kernel (um module 관련 버전)
⚔️ 공격 벡터
로컬 시스템에서 특정 하드웨어 인터럽트를 정밀하게 제어하여 레이스 컨디션을 유발함으로써 커널 패닉 유도
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 IRQ 등록 순서를 수정해야 함
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인