In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_event: validate LE Set CIG Parameters response The Command Complete dispatch validates only the fixed part of the LE Set CIG Parameters response. After that part is pulled from the skb, hci_cc_le_set_cig_params() trusts num_handles and reads each entry in the trailing handle array. Matching num_handles against the command's num_cis does not guarantee that the response contains the advertised handles. A truncated response from a malfunctioning controller can therefore make the handler read beyond the skb data. Validate that the remaining skb data contains all advertised handles. Include this in the existing response validation so malformed responses also follow the established CIG failure handling.
https://git.kernel.org/stable/c/e3f82e8f2a5915f533b57a065e9a045aa2ee03bc
https://git.kernel.org/stable/c/d83ecb7b96105d932dabaa56ccd7418c25fb7cbb
https://git.kernel.org/stable/c/a34df5c4a439cfc04565fa5be608ed1e53134f1f
https://git.kernel.org/stable/c/9e05783d0bb96a7b853cc058a7c7de2dc4a62154
https://git.kernel.org/stable/c/6fc540e835dddb518cef3ff522b780f701cd03df
https://git.kernel.org/stable/c/26741d178f31932c9018b36b7953e6dc391436a4
https://git.kernel.org/stable/c/0acd4eeb4b225b9bebbf9ef96cc10cdd79b94899