Re: [PATCH] NFC: nci: Add bounds checking in nci_hci_create_pipe()

patchwork-bot+netdevbpf
2025-01-23T04:10:05Z

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 17 Jan 2025 12:38:41 +0300 you wrote:
> The "pipe" variable is a u8 which comes from the network. If it's more
> than 127, then it results in memory corruption in the caller,
> nci_hci_connect_gate().
>
> Cc: stable@vger.kernel.org
> Fixes: a1b0b9415817 ("NFC: nci: Create pipe on specific gate in nci_hci_connect_gate")
> Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
>
> [...]

Here is the summary with links:
- NFC: nci: Add bounds checking in nci_hci_create_pipe()
https://git.kernel.org/netdev/net/c/110b43ef0534

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.