🇰🇷 한글 설명
Linux 커널의 Bluetooth L2CAP 구성 요소에서 l2cap_disconn_ind 함수 호출 시 적절한 잠금(lock) 없이 l2cap_data에 접근하는 취약점이 발견되었습니다. 이로 인해 L2CAP 연결이 동시에 삭제될 경우 Use-After-Free(UAF) 오류가 발생할 수 있습니다.
💡 쉬운 설명
블루투스 연결이 끊어지는 과정에서 데이터 처리가 안전하지 않게 이루어져 시스템 오류가 발생할 수 있는 문제입니다. 공격자가 이를 악용하면 시스템의 메모리 관리 체계를 무너뜨려 보안 문제를 일으킬 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: L2CAP: use proto_lock for l2cap_data to fix l2cap_disconn_ind
hci_conn::l2cap_data is accessed without locks in l2cap_disconn_ind via
hci_conn_timeout (disc_work) -> hci_proto_disconn_ind ->
l2cap_disconn_ind. This is UAF if the l2cap_conn is deleted
concurrently.
disc_work is disabled sync in hci_conn_del(), so we cannot take
hci_dev_lock in disc_work.
Fix by using proto_lock to guard l2cap_data, in addition to hdev->lock
which is held in other access paths.
📍 영향받는 시스템
Linux Kernel (Bluetooth L2CAP 관련 모듈 사용 시스템)
⚔️ 공격 벡터
특수하게 조작된 블루투스 연결 해제 신호를 보내 메모리 충돌 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인