🇰🇷 한글 설명
리눅스 커널의 블루투스 스택에서 bt_accept_dequeue() 함수 호출 시 Use-After-Free(UAF) 취약점이 발견되었습니다. bt_accept_unlink() 과정에서 참조 카운트 관리가 잘못되어, 이미 해제된 메모리에 접근할 수 있는 문제가 존재합니다.
💡 쉬운 설명
블루투스 연결을 처리하는 과정에서 컴퓨터가 이미 사용이 끝난 메모리 영역을 다시 사용하려고 시도하는 오류입니다. 이로 인해 시스템이 멈추거나 보안 공격에 악용될 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: fix UAF in bt_accept_dequeue()
bt_accept_get() takes a temporary reference before dropping the accept
queue lock. bt_accept_dequeue() currently drops that reference before
bt_accept_unlink(), leaving only the queue reference.
bt_accept_unlink() drops the queue reference. The subsequent
sock_hold() therefore accesses freed memory if it was the final
reference, as observed by KASAN during listening L2CAP socket cleanup.
Retain the temporary queue-walk reference through unlink and hand it to
the caller on success. Drop it explicitly on the closed and
not-yet-connected paths.
📍 영향받는 시스템
Linux Kernel (Bluetooth subsystem)
⚔️ 공격 벡터
L2CAP 소켓 정리 과정 중 특수하게 조작된 블루투스 연결 요청을 통한 메모리 오염
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인하십시오.