Linux
Bluetooth: hci_event: validate skb length for unknown CC opcode
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_event: validate skb length for unknown CC opcode In hci_cmd_complete_evt(), if the command complete event has an unknown opcode, we assume the first byte of the remaining skb->data contains the return status. However, parameter data has previously been pulled in hci_event_func(), which may leave the skb empty. If so, using skb->data[0] for the return status uses un-init memory. The fix is to check skb->len before using skb->data.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= afcb3369f46ed5dc883a7b92f2dd1e264d79d388, < fea895de78d3bb2f0c09db9f10b18f8121b15759
- >= afcb3369f46ed5dc883a7b92f2dd1e264d79d388, < 779f83a91d4f1bf5ddfeaf528420cbb6dbf03fa8
- >= afcb3369f46ed5dc883a7b92f2dd1e264d79d388, < cf2c2acec1cf456c3d11c11a7589e886a0f963a9
- >= afcb3369f46ed5dc883a7b92f2dd1e264d79d388, < 1a0ddaaf97405dbd11d4cb5a961a3f82400e8a50
- >= afcb3369f46ed5dc883a7b92f2dd1e264d79d388, < 5c5f1f64681cc889d9b13e4a61285e9e029d6ab5
Fixed in fea895de78d3bb2f0c09db9f10b18f8121b15759, 779f83a91d4f1bf5ddfeaf528420cbb6dbf03fa8, cf2c2acec1cf456c3d11c11a7589e886a0f963a9, 1a0ddaaf97405dbd11d4cb5a961a3f82400e8a50, 5c5f1f64681cc889d9b13e4a61285e9e029d6ab5
- 6.1
Fixed in 0, 6.1.159, 6.6.117, 6.12.58, 6.17.8, 6.18
Mitigation
Upgrade Linux to fea895de78d3bb2f0c09db9f10b18f8121b15759 or 779f83a91d4f1bf5ddfeaf528420cbb6dbf03fa8 or cf2c2acec1cf456c3d11c11a7589e886a0f963a9 or 1a0ddaaf97405dbd11d4cb5a961a3f82400e8a50 or 5c5f1f64681cc889d9b13e4a61285e9e029d6ab5 or later.
Upgrade Linux to 0 or 6.1.159 or 6.6.117 or 6.12.58 or 6.17.8 or 6.18 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.