Bluetooth: btintel_pcie: reject oversized TX packets in send_frame()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: btintel_pcie: reject oversized TX packets in send_frame()
btintel_pcie_send_frame() eventually copies skb->data into a fixed BTINTEL_PCIE_BUFFER_SIZE (4096) DMA buffer via memcpy() in btintel_pcie_prepare_tx(), with a 4-byte PCIe type header prepended. A user-space process with HCI_CHANNEL_USER access can inject an oversized packet and overflow the buffer.
Reject packets larger than BTINTEL_PCIE_BUFFER_SIZE - BTINTEL_PCIE_HCI_TYPE_LEN on entry.
From the CVE record · Linux
The Linux kernel’s btintel_pcie driver copies transmitted packets into a fixed-size DMA buffer without rejecting oversized packets. A local user-space process with HCI_CHANNEL_USER access can inject an oversized packet and overflow that buffer; no additional user interaction is described.
Anyone running a Linux kernel with the btintel_pcie Bluetooth driver should check their vendor advisory; affected versions were not provided.