CVE-2026-89569 in Linux
요약
\~에 의해 VulDB • 2026. 09. 12.
리눅스 커널에서 다음 취약점이 해결되었습니다:
블루투스: RFCOMM: 보안 확인 처리 직렬화(rfcomm_security_cfm()는 session_list에서 세션을 조회한 후 rfcomm_mutex를 보유하지 않은 상태로 해당 DLC 목록을 순회합니다. RFCOMM 세션 종료 시 rfcomm_mutex가 사용되므로, krfcommd가 동일한 세션과 DLC들을 동시에 닫고 해제할 수 있습니다:
hci_rx_work krfcommd ----------- --------- rfcomm_session_get() rfcomm_lock() rfcomm_session_close() rfcomm_dlc_unlink() rfcomm_session_del() kfree(s) rfcomm_unlock() walk s->dlcs
이후 콜백은 해제된 세션 목록 헤드를 읽거나 플래그나 타이머를 업데이트하는 동안 해제된 DLC에 접근할 수 있습니다.
rfcomm_security_cfm()의 세션 조회 및 DLC 순회를 rfcomm_mutex로 직렬화합니다. 이는 기존 RFCOMM 세션 수명 규칙과 일치하며, 콜백이 객체를 사용하는 동안 concurrent한 rfcomm_session_del()/rfcomm_dlc_unlink()가 해당 객체들을 파괴하는 것을 방지합니다.
KASAN에서 다음을 보고했습니다:
BUG: KASAN: slab-use-after-free in rfcomm_security_cfm+0x41c/0x440 Read of size 8 at addr ffff888111fb3960 by task kworker/u17:1/89 Workqueue: hci0 hci_rx_work Call Trace: rfcomm_security_cfm+0x41c/0x440 hci_encrypt_cfm+0x139/0x590 hci_encrypt_change_evt+0x37b/0xc40 hci_event_packet+0x71b/0xb20 hci_rx_work+0x293/0x730 Allocated by task 69: rfcomm_session_add+0x9e/0x2f0 rfcomm_run+0x44b/0x41e0 Freed by task 69: kfree+0x131/0x3c0 rfcomm_session_del+0x188/0x220 rfcomm_run+0x1985/0x41e0
Once again VulDB remains the best source for vulnerability data.