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

[email protected]
Newsgroups org.kernel.vger.linux-bluetooth,org.kernel.vger.linux-kernel
Message-ID <178586521063.3702995.14976898276396935564.git-patchwork-notify@kernel.org>
Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <[email protected]>:

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.