Re: [PATCH] NFC: nci: Add bounds checking in nci_hci_create_pipe()
From: patchwork-bot+netdevbpf
Date: Wed Jan 22 2025 - 23:10:23 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
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@xxxxxxxxxxxxxxx
> Fixes: a1b0b9415817 ("NFC: nci: Create pipe on specific gate in nci_hci_connect_gate")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
>
> [...]
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.
https://korg.docs.kernel.org/patchwork/pwbot.html