본문 바로가기
kcve.ai취약점 정보 · 내 서버 확인

CVE 게시판 / CVE-2026-11368

CVE-2026-11368

Use-after-free in Bluetooth host ATT TX completion on disconnect mid-transfer

공개 2026.08.04 수정 2026.09.01 CNA zephyr 상태 공개

CVSS
6.5 / 10 Medium · CVSS 3.1 · 점수 출처 NVD
벡터
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
악용 확률(EPSS)
0.30% · 상위 77% · 기준일 2026.11.19
CISA KEV
등재 안 됨
취약 유형(CWE)
CWE-416
영향 제품
zephyrproject zephyr

설명

The Bluetooth host ATT layer (subsys/bluetooth/host/att.c) associates each in-flight ATT TX buffer with its owning channel via the static tx_meta_data_storage[] array (data->att_chan = chan). When a buffer's last reference is dropped, its net-buf destroy callback defers the completion handling to the system workqueue (att_tx_destroy -> att_tx_destroy_work_handler -> att_on_sent_cb -> bt_att_sent), where bt_att_sent dereferences the channel and its ATT context (sys_slist_get(&att->reqs)). When a peer disconnects while an ATT PDU (a server notification/indication or any response) is still in flight in the controller TX path, L2CAP tears the channel down in l2cap_chan_del(): it runs the disconnected callback and then the released callback (bt_att_released), which frees the channel slab slot. Because the in-flight buffer is held by the connection TX path rather than the channel's own queue, its deferred destroy work can run after the channel has been freed. The att_on_sent_cb guard intended to drop the stale callback itself dereferences meta->att_chan, which is now a dangling pointer into a freed (and possibly reused) slab slot. A remote peer with an ATT connection can drive this by disconnecting during routine ATT traffic; no pairing or user interaction is required to reach the ATT bearer. The result is a use-after-free read/write of freed channel memory, reliably crashing the Bluetooth host (denial of service) and, because the channel slab slot may be reused, potentially corrupting live memory. The fix makes bt_att_released() NULL the att_chan field of every tx_meta_data_storage[] entry still referencing the channel before freeing it, so the deferred guard observes a NULL pointer and drops the callback. Teardown and the destroy work both run on the cooperative system workqueue, so the array update is serialized and needs no lock.

영향 받는 제품제품 1개

제품별 영향 버전과 해결 버전
제품영향 버전해결 버전근거
zephyrproject zephyr 4.4.0 이상 4.4.2 미만 4.4.2 이상

참고 자료1건

‹ 목록 운영 중인 서버의 점검 지원 범위가 궁금하면 도입 문의