Re: [PATCH net] Revert "nfc/nci: Add the inconsistency check between the input data length and count"
From: patchwork-bot+netdevbpf
Date: Mon Jan 19 2026 - 09:21:58 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Tue, 13 Jan 2026 17:24:58 -0300 you wrote:
> This reverts commit 068648aab72c9ba7b0597354ef4d81ffaac7b979.
>
> NFC packets may have NUL-bytes. Checking for string length is not a correct
> assumption here. As long as there is a check for the length copied from
> copy_from_user, all should be fine.
>
> The fix only prevented the syzbot reproducer from triggering the bug
> because the packet is not enqueued anymore and the code that triggers the
> bug is not exercised.
>
> [...]
Here is the summary with links:
- [net] Revert "nfc/nci: Add the inconsistency check between the input data length and count"
https://git.kernel.org/netdev/net/c/f40ddcc0c0ca
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html