From: netdev-bot+sashiko@kernel.org
To: piyus@iiitd.ac.in
Cc: david@ixit.cz, davem@davemloft.net, edumazet@kernel.org,
kuba@kernel.org, pabeni@redhat.com, willemb@google.com,
horms@kernel.org, oe-linux-nfc@lists.linux.dev,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
kapil@presceralabs.ai
Subject: Re: [PATCH net v2 3/3] net/nfc: nci: do not hand a NULL skb to the nfc core
Date: Tue, 01 Dec 2026 02:15:42 +0000 [thread overview]
Message-ID: <179609134231.3146.17480849178252080412@kernel.org> (raw)
In-Reply-To: <20261130012208.1962491-4-piyus@iiitd.ac.in>
Thank you for your contribution! Sashiko AI review found more severe
issue(s) in other patches of this series. This mail is only an FYI, in case
you want to address the nit picks below when you respin.
Low priority / nit picks for your consideration:
- [Low] The Signed-off-by chain in the commit "net/nfc: nci: do not hand
a NULL skb to the nfc core" does not match the authorship.
--
net/nfc: nci: do not hand a NULL skb to the nfc core
This patch adds a NULL check on the skb in the target-mode exit path of
nci_add_rx_data_frag(). Without it, the skb that was freed and set to NULL
after a failed skb_cow_head() can be passed to nfc_tm_data_received(). That
call path then dereferences the NULL skb in __nfc_llcp_recv().
Link: https://lore.kernel.org/netdev/20261123023446.3350387-1-piyus@iiitd.ac.in/
> Signed-off-by: Kapil Vaswani <kapil@presceralabs.ai>
> Signed-off-by: Piyus Kedia <piyus@iiitd.ac.in>
[Severity: Low]
This isn't a bug, but could the trailers be checked? The patch author is
Piyus Kedia, but the first Signed-off-by belongs to Kapil Vaswani, and the
patch has no Co-developed-by tag.
Documentation/process/submitting-patches.rst reads the Signed-off-by chain
in the order people handled the patch. With a non-author's SoB placed ahead
of the author's, the chain says Kapil handled the patch before its author
did, which doesn't match the From: line.
If Kapil co-developed the fix, should there be a
"Co-developed-by: Kapil Vaswani <kapil@presceralabs.ai>" line directly
before his Signed-off-by? If he only handled or forwarded the patch, should
his Signed-off-by go after the author's?
--
Sashiko AI review · https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261130012208.1962491-1-piyus%40iiitd.ac.in
prev parent reply other threads:[~2026-12-01 2:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 1:22 [PATCH net v2 0/3] net/nfc: three peer-reachable skb bugs in LLCP and NCI Piyus Kedia
2026-11-30 1:22 ` [PATCH net v2 1/3] net/nfc: llcp: fix the 16-bit truncation that overruns the SNL response skb Piyus Kedia
2026-12-01 2:15 ` netdev-bot+sashiko
2026-11-30 1:22 ` [PATCH net v2 2/3] net/nfc: llcp: take the skb reference before queueing it to the socket Piyus Kedia
2026-12-01 2:15 ` netdev-bot+sashiko
2026-11-30 1:22 ` [PATCH net v2 3/3] net/nfc: nci: do not hand a NULL skb to the nfc core Piyus Kedia
2026-12-01 2:15 ` netdev-bot+sashiko [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=179609134231.3146.17480849178252080412@kernel.org \
--to=netdev-bot+sashiko@kernel.org \
--cc=davem@davemloft.net \
--cc=david@ixit.cz \
--cc=edumazet@kernel.org \
--cc=horms@kernel.org \
--cc=kapil@presceralabs.ai \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=oe-linux-nfc@lists.linux.dev \
--cc=pabeni@redhat.com \
--cc=piyus@iiitd.ac.in \
--cc=willemb@google.com \
/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
all inboxes | Powered by JetHome®