public inbox for linux-kernel-mentees@lists.linux-foundation.org
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Deepak Sharma <deepak.sharma.472935@gmail.com>
Cc: krzk@kernel.org, vadim.fedorenko@linux.dev,
	linville@tuxdriver.com, kuba@kernel.org, edumazet@google.com,
	juraj@sarinay.com, pabeni@redhat.com, horms@kernel.org,
	netdev@vger.kernel.org, stable@vger.kernel.org,
	linux-kernel-mentees@lists.linux.dev,
	david.hunter.linux@gmail.com, skhan@linuxfoundation.org,
	syzbot+740e04c2a93467a0f8c8@syzkaller.appspotmail.com
Subject: Re: [PATCH net v4] net: nfc: nci: Add parameter validation for packet data
Date: Tue, 30 Sep 2025 08:30:06 +0000	[thread overview]
Message-ID: <175922100601.1892773.12754446584125259059.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20250925132846.213425-1-deepak.sharma.472935@gmail.com>

Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Thu, 25 Sep 2025 18:58:46 +0530 you wrote:
> Syzbot reported an uninitialized value bug in nci_init_req, which was
> introduced by commit 5aca7966d2a7 ("Merge tag
> 'perf-tools-fixes-for-v6.17-2025-09-16' of
> git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools").
> 
> This bug arises due to very limited and poor input validation
> that was done at nic_valid_size(). This validation only
> validates the skb->len (directly reflects size provided at the
> userspace interface) with the length provided in the buffer
> itself (interpreted as NCI_HEADER). This leads to the processing
> of memory content at the address assuming the correct layout
> per what opcode requires there. This leads to the accesses to
> buffer of `skb_buff->data` which is not assigned anything yet.
> 
> [...]

Here is the summary with links:
  - [net,v4] net: nfc: nci: Add parameter validation for packet data
    https://git.kernel.org/netdev/net/c/9c328f54741b

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



      reply	other threads:[~2025-09-30  8:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-25 13:28 [PATCH net v4] net: nfc: nci: Add parameter validation for packet data Deepak Sharma
2025-09-30  8:30 ` patchwork-bot+netdevbpf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=175922100601.1892773.12754446584125259059.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=david.hunter.linux@gmail.com \
    --cc=deepak.sharma.472935@gmail.com \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=juraj@sarinay.com \
    --cc=krzk@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel-mentees@lists.linux.dev \
    --cc=linville@tuxdriver.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=skhan@linuxfoundation.org \
    --cc=stable@vger.kernel.org \
    --cc=syzbot+740e04c2a93467a0f8c8@syzkaller.appspotmail.com \
    --cc=vadim.fedorenko@linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox