# CVE-2026-79982 - Out-of-bounds write in the USB Bluetooth HCI transport class when a controller-to-host HCI packet exceeds the bulk endpoint maximum packet size

DevFeed: [CVE-2026-79982 - Out-of-bounds write in the USB Bluetooth HCI transport class when a controller-to-host HCI packet exceeds the bulk endpoint maximum packet size](<https://devfeed.tech/articles/cve-2026-79982-out-of-bounds-write-in-the-usb-bluetooth-hci-transport-class-when-a-controller-to-host-hci-packet-exceeds-the-bulk-endpoint-maximum-packet-size-98408.md>)

Original publisher: [Read original article](<https://cvefeed.io/vuln/detail/CVE-2026-79982>)

Author: cvefeed.io

Published: 2026-10-23T20:17:28Z

Content type: article

Language: en

Sources: [Latest High/Critical Vulnerabilitiy Feed](<https://devfeed.tech/sources/latest-high-critical-vulnerabilitiy-feed.md>)

Topics: [Memory Safety](<https://devfeed.tech/topics/memory-safety.md>), [Bluetooth](<https://devfeed.tech/topics/bluetooth.md>), [Bluetooth LE](<https://devfeed.tech/topics/bluetooth-le.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [bluetooth](<https://devfeed.tech/tags/bluetooth.md>), [cve-2026-79982](<https://devfeed.tech/tags/cve-2026-79982.md>), [hci](<https://devfeed.tech/tags/hci.md>), [net](<https://devfeed.tech/tags/net.md>), [packet](<https://devfeed.tech/tags/packet.md>), [size](<https://devfeed.tech/tags/size.md>), [transport](<https://devfeed.tech/tags/transport.md>), [usb](<https://devfeed.tech/tags/usb.md>), [write](<https://devfeed.tech/tags/write.md>), [zephyr](<https://devfeed.tech/tags/zephyr.md>), [zephyrproject](<https://devfeed.tech/tags/zephyrproject.md>)

## AI overview

In the USB Bluetooth HCI transport, bt_hci_tx_sync_in() copies controller-to-host packets into fixed-size transfer slots without checking packet length. On full-speed-only builds, a slot is 64 bytes, while HCI event or ACL buffers can be larger, so the copy can overwrite adjacent memory. The excerpt says a mandatory 70-byte Read Supported Commands event triggers a six-byte overflow at each host initialization; Bluetooth traffic can also reach the vulnerable path through ACL fragments or extended advertising reports. With assertions disabled, the overwrite can corrupt memory and may enable code execution on targets lacking subsystem memory protection; with assertions enabled, it instead triggers a panic and denial of service. The described fix uses a separate transmit pool sized for the larger configured HCI buffers, while retaining the endpoint-sized pool for host-to-device traffic.

## Source excerpt

CVE ID :CVE-2026-79982 Published : Oct. 23, 2026, 8:17 p.m. | 1 hour, 29 minutes ago Description :The Bluetooth HCI USB transport class of the new USB device stack, subsys/usb/device_next/class/bt_hci.c, copies every controller-to-host HCI packet into a USB transfer buffer before enqueuing it on an endpoint. bt_hci_tx_sync_in() allocated that buffer from bt_hci_ep_pool, a fixed pool whose slots are only USBD_MAX_BULK_MPS bytes (64 on full-speed-only builds), and then performed net_buf_add_mem(buf, bt_buf->data, bt_buf->len) with no length check. HCI event and ACL buffers are sized by CONFIG_BT_BUF_EVT_RX_SIZE and CONFIG_BT_BUF_ACL_RX_SIZE and can be far larger, so the copy runs past the end of the 64-byte slot into the adjacent slots and into whatever follows the statically allocated pool. The device runs the local Bluetooth controller in raw HCI mode (CONFIG_BT_HCI_RAW), so the oversized packets originate over the air. With the HCI buffer sizes recommended for full-featured controllers, an unauthenticated attacker within Bluetooth range can supply the overflowing bytes: a connected peer that negotiates Data Length Extension can send ACL fragments up to CONFIG_BT_CTLR_DATA_LENGTH_MAX bytes, and an attacker that merely broadcasts extended advertising data reaches the same path through LE Extended Advertising Report events, which the controller fragments only to CONFIG_BT_BUF_EVT_RX_SIZE. In the stock configuration the overflow is already reached without any radio traffic: the mandatory Read Supported Commands command-complete event is 70 bytes and overruns the 64-byte slot by six bytes on every host initialization. Because net_buf_add_mem() validates tailroom only through an assertion unless CONFIG_NET_BUF_HARDENING is enabled, builds with CONFIG_ASSERT=n -- the usual production setting -- silently corrupt memory adjacent to the USB buffer pool with attacker-chosen contents, which on a target without memory protection between subsystems can lead to arbitrary code execu