🇰🇷 한글 설명
Linux 커널의 mt76 드라이버 내 mt7925 칩셋에서 roc_abort_sync 함수와 roc_work 함수 간의 데드락(교착 상태) 취약점이 발견되었습니다. 스테이션 제거 과정에서 특정 뮤텍스를 중복 점유하려고 시도할 때 시스템이 멈출 수 있는 문제입니다.
💡 쉬운 설명
무선 랜 카드가 연결을 끊는 과정에서 두 가지 작업이 서로의 작업이 끝나기만을 기다리며 무한히 대기하는 현상이 발생합니다. 이로 인해 시스템이 응답하지 않거나 멈출 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7925: fix potential deadlock in mt7925_roc_abort_sync
roc_abort_sync() can deadlock with roc_work(). roc_work() holds
dev->mt76.mutex, while cancel_work_sync() waits for roc_work()
to finish. If the caller already owns the same mutex, both
sides block and no progress is possible.
This deadlock can occur during station removal when
mt76_sta_state() -> mt76_sta_remove() ->
mt7925_mac_sta_remove_link() -> mt7925_mac_link_sta_remove() ->
mt7925_roc_abort_sync() invokes cancel_work_sync() while
roc_work() is still running and holding dev->mt76.mutex.
This avoids the mutex deadlock and preserves exactly-once
work ownership.
📍 영향받는 시스템
mt76 드라이버를 사용하는 Linux 커널 기반 시스템 (mt7925 칩셋 포함)
⚔️ 공격 벡터
로컬 공격자가 무선 스테이션 연결/해제 과정을 반복하여 시스템 데드락 유도 가능
🛡️ 대응 방법
mt76 드라이버의 데드락 수정 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인