🇰🇷 한글 설명
리눅스 커널의 m68k nfcon 드라이버에서 console_is_registered() 함수 호출 시 데드락(Deadlock)이 발생하는 취약점입니다. 특정 락(lock)을 보유한 상태에서 동일한 락을 다시 요청함으로써 시스템이 멈추는 현상이 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터 시스템이 특정 작업을 처리하는 과정에서 서로가 서로의 작업이 끝나기를 기다리며 무한히 멈춰버리는 오류입니다. 이로 인해 시스템이 응답하지 않는 상태가 될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
m68k: nfcon: Do not call console_is_registered() in nfcon_device()
Since 7c2af0f634f1 ("tty: tty_io: use console_list_lock for list
synchronization") show_cons_active() calls the .device() method under
the console_list_lock, but console_is_registered() tries to acquire
console_list_lock as well, causing a deadlock. It should not be
necessary to check console_is_registered() here since the function
should not be called in the fist place when the console is not
registered.
📍 영향받는 시스템
m68k 아키텍처를 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
로컬 시스템에서 특정 드라이버 호출을 통한 데드락 유발
🛡️ 대응 방법
커널 패치(commit 7c2af0f634f1 이상 적용)를 통해 nfcon_device() 내의 console_is_registered() 호출 제거
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 최신 버전인지 확인