Bluetooth: btmtk: validate WMT event SKB length before struct access
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.12.88, Kernel 6.18.30, Kernel 7.0.7 and 7 more.
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: btmtk: validate WMT event SKB length before struct access btmtk_usb_hci_wmt_sync() casts the WMT event response SKB data to struct btmtk_hci_wmt_evt (7 bytes) and struct btmtk_hci_wmt_evt_funcc (9 bytes) without first checking that the SKB contains enough data. A short firmware response causes out-of-bounds reads from SKB tailroom. Use skb_pull_data() to validate and advance past the base WMT event header. For the FUNC_CTRL case, pull the additional status field bytes before accessing them.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.11 <6.12.88, >=6.13 <6.18.30, >=6.19 <7.0.7, >=6.6.142 <6.7, =7.1, >=d019930b0049fc2648a6b279893d8ad330596e81 <634a4408c0615c523cf7531790f4f14a422b9206, >=d019930b0049fc2648a6b279893d8ad330596e81 <70d37a8b9229e394cc17ddad47e90b81d80fcd09, >=d019930b0049fc2648a6b279893d8ad330596e81 <c411cf1bfde951cfa821809cf4020ba177f76e0c, >=f0457842215438786e2e205ad06a4fbb8ab63cd0 <36c85f7029484d5ede769f8873d16e9c8e35533c, =6.11, >=6.6.142 <6.6.144, >=d019930b0049fc2648a6b279893d8ad330596e81 <624fb79dadc1b65757986a9d0fdde5c0cf3fe179 | 6.12.88, 6.18.30, 7.0.7, 6.7, 634a4408c0615c523cf7531790f4f14a422b9206, 70d37a8b9229e394cc17ddad47e90b81d80fcd09, c411cf1bfde951cfa821809cf4020ba177f76e0c, 36c85f7029484d5ede769f8873d16e9c8e35533c, 6.6.144, 624fb79dadc1b65757986a9d0fdde5c0cf3fe179 |
| linux-kernel: Kernel | >=6.11.0 <6.12.88, >=6.13.0 <6.18.30, >=6.19.0 <7.0.7, >=6.6.142 <6.6.144 | 6.12.88, 6.18.30, 7.0.7, 6.6.144 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket