🔍 CVE-2026-68189

7.8
CVSS Score
HIGH
2026-08-10
2026-10-19 21:17
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 Bluetooth hci_sync 모듈에서 UUID 리스트 순회 시 적절한 잠금(Lock) 메커니즘이 누락되어 발생한 취약점입니다. 비동기 명령 동기화 작업 중에 다른 프로세스가 UUID를 삭제할 경우, 이미 해제된 메모리에 접근하는 Use-After-Free(UAF) 오류가 발생할 수 있습니다.

💡 쉬운 설명

블루투스 정보를 처리하는 과정에서 데이터가 삭제되었음에도 불구하고 시스템이 삭제된 데이터를 계속 읽으려 시도하여 발생하는 오류입니다. 이로 인해 시스템이 충돌하거나 보안 문제가 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: Protect UUID list traversal The hci_sync conversion moved class-of-device and EIR generation from an HCI request built under hdev->lock to asynchronous command sync work. The worker holds hdev->req_lock, but that lock does not serialize access to hdev->uuids against add_uuid() and remove_uuid(), which update the list under hdev->lock. The following interleaving can therefore occur: CPU0 (command sync work) CPU1 (management socket) fetch uuid from the list list_del(&uuid->list) kfree(uuid) read uuid->size KASAN reports the resulting use-after-free: BUG: KASAN: slab-use-after-free in eir_create+0xb8f/0xee0 Read of size 1 at addr ffff88810dbd8620 by task kworker/u17:0/87 Workqueue: hci0 hci_cmd_sync_work Call Trace: eir_create+0xb8f/0xee0 hci_update_eir_sync+0x1c0/0x330 hci_cmd_sync_work+0x13c/0x290 process_one_work+0x63a/0x1070 worker_thread+0x45b/0xd10 Allocated by task 86: __kasan_kmalloc+0x8f/0xa0 add_uuid+0x18a/0x4b0 hci_sock_sendmsg+0x1033/0x1ea0 Freed by task 92: __kasan_slab_free+0x43/0x70 kfree+0x131/0x3c0 remove_uuid+0x25e/0x560 hci_sock_sendmsg+0x1033/0x1ea0 Hold hdev->lock while generating and committing the class-of-device and EIR snapshots. Release it before sending an HCI command, so controller waits do not happen under the device lock. This protects all UUID list walks in these paths and restores the serialization lost in the command sync conversion.

📍 영향받는 시스템

Linux Kernel (Bluetooth hci_sync 관련 모듈 사용 버전)

⚔️ 공격 벡터

관리 소켓을 통한 UUID 추가/삭제와 비동기 HCI 명령 동기화 작업을 교차 실행하여 메모리 오류 유도

🛡️ 대응 방법

EIR 스냅샷 생성 및 커밋 시 hdev->lock을 유지하도록 커널 패치 적용

🔧 검증 코드

현재 사용 중인 커널 버전을 확인하여 해당 취약점이 해결된 최신 보안 패치 버전인지 확인합니다.

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel