Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
f0457842215438786e2e205ad06a4fbb8ab63cd0 to < 36c85f7029484d5ede769f8873d16e9c8e35533caffectedd019930b0049fc2648a6b279893d8ad330596e81 to < c411cf1bfde951cfa821809cf4020ba177f76e0caffectedd019930b0049fc2648a6b279893d8ad330596e81 to < 624fb79dadc1b65757986a9d0fdde5c0cf3fe179affectedd019930b0049fc2648a6b279893d8ad330596e81 to < 70d37a8b9229e394cc17ddad47e90b81d80fcd09affectedd019930b0049fc2648a6b279893d8ad330596e81 to < 634a4408c0615c523cf7531790f4f14a422b9206affected6.6.142 to < 6.6.144affected
Linux Linux
Default version status: affected
6.11affected0 to < 6.11unaffected6.6.144 to ≤ 6.6.*unaffected6.12.88 to ≤ 6.12.*unaffected6.18.30 to ≤ 6.18.*unaffected7.0.7 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/36c85f7029484d5ede769f8873d16e9c8e35533c ↗
- https://git.kernel.org/stable/c/c411cf1bfde951cfa821809cf4020ba177f76e0c ↗
- https://git.kernel.org/stable/c/624fb79dadc1b65757986a9d0fdde5c0cf3fe179 ↗
- https://git.kernel.org/stable/c/70d37a8b9229e394cc17ddad47e90b81d80fcd09 ↗
- https://git.kernel.org/stable/c/634a4408c0615c523cf7531790f4f14a422b9206 ↗