Re: [PATCH] nfc/nci: Add the inconsistency check between the input data length and count

From: patchwork-bot+netdevbpf
Date: Wed May 29 2024 - 08:10:36 EST


Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Tue, 28 May 2024 11:12:31 +0800 you wrote:
> write$nci(r0, &(0x7f0000000740)=ANY=[@ANYBLOB="610501"], 0xf)
>
> Syzbot constructed a write() call with a data length of 3 bytes but a count value
> of 15, which passed too little data to meet the basic requirements of the function
> nci_rf_intf_activated_ntf_packet().
>
> Therefore, increasing the comparison between data length and count value to avoid
> problems caused by inconsistent data length and count.
>
> [...]

Here is the summary with links:
- nfc/nci: Add the inconsistency check between the input data length and count
https://git.kernel.org/netdev/net/c/068648aab72c

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