🔍 CVE-2026-64405

5.5
CVSS Score
MEDIUM
2026-07-25
2026-09-04 15:30
✅ 완료

🇰🇷 한글 설명

Linux 커널의 Bluetooth hci_conn 모듈에서 hci_abort_conn() 함수 호출 시 NULL 포인터 역참조가 발생할 수 있는 취약점입니다. 연결 요청 상태가 진행 중임에도 불구하고 관련 데이터가 NULL인 경우 시스템에 일반 보호 오류(General Protection Fault)를 유발할 수 있습니다.

💡 쉬운 설명

블루투스 연결을 시도하는 과정에서 데이터가 제대로 준비되지 않은 상태로 명령을 취소하려고 할 때 컴퓨터 시스템이 충돌하며 멈출 수 있는 문제입니다. 연결 과정의 상태 관리가 정밀하지 못해 발생하는 오류입니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_conn: Fix null ptr deref in hci_abort_conn() hci_abort_conn() read hci_skb_event(hdev->sent_cmd) when a connection was pending, but hdev->sent_cmd can be NULL while req_status is still HCI_REQ_PEND, leading to a NULL pointer dereference and a general protection fault from the hci_rx_work() receive path. Instead of inspecting hdev->sent_cmd, track the in-flight create connection command with a new per-connection HCI_CONN_CREATE flag and route all cancellation through hci_cancel_connect_sync(), which dispatches to a dedicated per-type cancel function. The create command is in exactly one of two states: still queued, or in flight. The cancel function holds cmd_sync_work_lock across the whole decision: the worker takes this lock to dequeue every entry, so while it is held a queued command cannot start running and an in-flight command cannot complete and let the next command become pending. This keeps the flag test and hci_cmd_sync_cancel() atomic with respect to the worker, so a queued command is simply dequeued, and an in-flight command owned by this connection is cancelled without the risk of cancelling an unrelated command that became pending in the meantime. CIS uses the same flag mechanism via HCI_CONN_CREATE_CIS but cannot be dequeued per-connection. hci_acl_create_conn_sync() and hci_le_create_conn_sync() clear HCI_CONN_CREATE after the create command completes, but the command status handler can free conn via hci_conn_del() (for example when the controller rejects the connection) while the worker is still blocked on the connection complete event. Hold a reference on conn across the create command so the flag can be cleared without a use-after-free.

📍 영향받는 시스템

Linux Kernel (Bluetooth hci_conn 관련 모듈 포함 버전)

⚔️ 공격 벡터

특수하게 조작된 블루투스 연결 요청 및 취소 시퀀스를 통해 시스템 충돌 유도

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인합니다.

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

💻 영향받는 소프트웨어

Linux Kernel