🇰🇷 한글 설명
리눅스 커널의 블루투스 스택에서 SSP 패스키 핸들러 처리 중 Use-After-Free(UAF) 취약점이 발견되었습니다. hci_user_passkey_notify_evt() 및 hci_keypress_notify_evt() 함수에서 연결 정보를 조회할 때 hdev 락이 적절히 보호되지 않아 연결 객체가 동시에 해제될 수 있는 문제입니다. 이를 해결하기 위해 hci_dev_lock 임계 구역을 확장하여 연결 사용 중 안전성을 확보했습니다.
💡 쉬운 설명
블루투스 연결 과정에서 보안 인증 번호를 처리할 때, 시스템이 데이터를 사용하는 도중 연결 정보가 갑자기 사라져 오류가 발생하는 문제입니다. 공격자가 이를 악용하면 시스템을 중단시키거나 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: hci_event: fix potential UAF in SSP passkey handlers
hci_conn lookup and field access must be covered by hdev lock in
hci_user_passkey_notify_evt() and hci_keypress_notify_evt(), otherwise
the connection can be freed concurrently.
Extend the hci_dev_lock critical section to cover all conn usage in both
handlers.
Keep the existing keypress notification behavior unchanged by routing
the early exits through a common unlock path.
📍 영향받는 시스템
Bluetooth 스택을 사용하는 리눅스 커널 버전 (패치 적용 전 버전)
⚔️ 공격 벡터
악의적인 블루투스 장치를 통해 특수하게 조작된 SSP 패스키 이벤트를 전송하여 발생
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인