CVE
РУСҚАЗ
CVE-2026-92241Средняя5.7Машинный перевод

Отказ в обслуживании (DoS) в канале просмотра Bluetooth AVRCP в Zephyr

Zephyr

Кратко

Канал просмотра AVRCP Bluetooth Classic в Zephyr может вызвать взаимную блокировку потока приёма Bluetooth, что приводит к зависанию всего хоста Bluetooth. Злоумышленник, находящийся в непосредственной близости и имеющий Bluetooth-соединение с низкими привилегиями, без каких-либо действий со стороны пользователя может исчерпать общий пул буферов приёма с помощью обычного сегментированного трафика L2CAP, в результате чего хост остаётся зависшим до перезагрузки.

Резюме сгенерировано ИИ по данным источников и переведено автоматически.

Исправление

Исправлено в версиях: 4.5.0

Затронутые версии

zephyr
с 4.4.0 → исправлено в 4.5.0
Оригинальное описание (EN)

Оригинальный заголовок: Zephyr denial of service in Bluetooth AVRCP browsing channel

The AVRCP browsing channel's L2CAP receive-buffer callback, browsing_avrcp_l2cap_alloc_buf() in subsys/bluetooth/host/classic/avrcp.c, allocated from the shared avctp_browsing_rx_pool with K_FOREVER. L2CAP invokes that callback from the Bluetooth RX work queue thread (bt_workq, "BT RX WQ"), both for the head buffer of a new SDU and — through l2cap_br_alloc_frag() and net_buf_append_bytes() — for every further fragment of a reassembled SDU. That same thread is the only context that ever releases these buffers, after bt_l2cap_br_recv_seg() delivers a completed SDU and calls net_buf_unref(), so a wait taken there can never be satisfied. The pool holds CONFIG_BT_MAX_CONN + 1 buffers of CONFIG_BT_AVRCP_BROWSING_L2CAP_MTU bytes (two buffers of 339 bytes in the default configuration). A connected browsing peer can drain it because bt_l2cap_br_recv_seg() in subsys/bluetooth/host/classic/l2cap_br.c accepts the SDU length declared in an SAR_START segment without bounding it by br_chan->rx.mtu: a peer that announces a large SDU and then streams continuation segments forces one pool buffer per segment-worth of data. Once the pool is empty the next allocation blocks forever inside the callback. Triggering the flaw requires a build with CONFIG_BT_CLASSIC and the experimental CONFIG_BT_AVRCP_BROWSING option, an application that registers AVRCP callbacks, and a BR/EDR peer that has established the AVRCP control channel and then the browsing channel, which requires an encrypted (paired) link. No malformed packet is needed — a few hundred bytes of ordinary segmented L2CAP traffic suffice. The consequence is a permanent hang of the whole Bluetooth host, not just of AVRCP: the blocked thread drains bt_dev.rx_queue for all HCI ACL data and low-priority events and also runs the host's internal work items, so all connections stop being serviced and the state is unrecoverable without a reboot. There is no memory-corruption or information-disclosure component. The fix allocates with K_NO_WAIT, so an empty pool now yields a local-busy indication or a channel disconnect that the application can recover from.

Ссылки