Bluetooth: btintel_pcie: fix plen overflow in btintel_pcie_recv_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: fix plen overflow in btintel_pcie_recv_frame()
plen is u16 and computed as HDR_SIZE + dlen. For ACL/ISO frames dlen is a 16-bit field, so a value >= 0xFFFC wraps the sum, bypassing the "skb->len < plen" check and letting skb_trim() truncate the packet.
Widen plen to u32 so the addition cannot wrap.
From the CVE record · Linux
In the Linux kernel’s Bluetooth btintel_pcie driver, a 16-bit length calculation can overflow when an ACL or ISO frame has a data length of at least 0xFFFC. This can bypass a packet-length check and cause skb_trim() to truncate the packet. The input does not establish how an attacker could supply such a frame or whether authentication or user interaction is required.
Engineers running Linux kernels with the Bluetooth btintel_pcie driver should check whether their kernel includes the fix; affected versions are not specified.