Re: [PATCH] Bluetooth: hci_event: validate LE Set CIG Parameters response

From: patchwork-bot+bluetooth

Date: Tue Aug 04 2026 - 13:51:00 EST


Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:

On Sat, 1 Aug 2026 23:54:52 +0545 you wrote:
> 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.
>
> [...]

Here is the summary with links:
- Bluetooth: hci_event: validate LE Set CIG Parameters response
https://git.kernel.org/bluetooth/bluetooth-next/c/bece7ec4e259

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html