CVE
РУСҚАЗ
CVE-2026-92241Орташа5.7Машиналық аударма

Zephyr-де Bluetooth AVRCP шолу арнасында қызмет көрсетуден бас тарту

Zephyr

Қысқаша

Zephyr-дің Bluetooth Classic AVRCP шолу арнасы 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.

Сілтемелер