In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: validate retained LE Create CIS command length
hci_cs_le_create_cis() retrieves the parameters of the previously sent command without their length. It then trusts num_cis and walks the flexible cis[] array when a controller reports a failed command.
A five-byte HCI command containing only num_cis can therefore make the handler read beyond the command skb. KASAN reports:
BUG: KASAN: slab-out-of-bounds in hci_cs_le_create_cis Read of size 2 hci_cs_le_create_cis hci_cmd_status_evt hci_event_packet
Add a length-returning saved-command helper and require the fixed header and complete CIS array before walking it.
The reproducer no longer triggers a KASAN report with this change.
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub