CVE-2026-143307: Bluetooth: validate retained LE Set CIG Parameters command length
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: validate retained LE Set CIG Parameters command length
hcicclesetcigparams() validates the controller response but not the parameters of the previously sent command. A short command can claim a large numcis without containing the corresponding cis[] array. A complete successful response then makes the handler read beyond the command skb while looking up each CIS ID.
KASAN reports:
BUG: KASAN: slab-out-of-bounds in hcicclesetcigparams Read of size 1 hcicclesetcigparams hcicmdcompleteevt hcieventpacket
Obtain the retained parameter length and require both the fixed header and the complete CIS array before using the command data.
The reproducer no longer triggers a KASAN report with this change.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.2 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.4 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7 - Compensating control
In hci_cc_le_set_cig_params(), obtain the retained parameter length and require it to cover both the fixed header and the complete CIS array before using the command data.
Event History
Frequently Asked Questions
What sequence is required to trigger the out-of-bounds read?
A previously retained LE Set CIG Parameters command must be shorter than the data implied by its num_cis value, while a complete successful controller response is received. The completion handler then attempts to look up CIS IDs that are not present in the retained command buffer.
How can an affected system be identified at runtime?
KASAN can report a slab-out-of-bounds read in hci_cc_le_set_cig_params, reached through hci_cmd_complete_evt and hci_event_packet. The report describes a read of size 1.
What does the remediation validate?
The remediation obtains the retained command parameter length and requires both the fixed command header and the full CIS array to be present before using the retained command data. The supplied reproducer no longer produces a KASAN report after this validation is added.