Re: [PATCH net v2 3/3] net/nfc: nci: do not hand a NULL skb to the nfc core
From: netdev-bot+sashiko
Date: Mon Nov 30 2026 - 21:15:47 EST
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@xxxxxxxxxxx/
> Signed-off-by: Kapil Vaswani <kapil@xxxxxxxxxxxxxxx>
> Signed-off-by: Piyus Kedia <piyus@xxxxxxxxxxx>
[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@xxxxxxxxxxxxxxx>" 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