Article View: linux.kernel.netdev
Article #24906Re: [PATCH net v2 3/3] net/nfc: nci: do not hand a NULL skb to the nfc core
From: netdev-bot+sashiko
Date: Tue, 01 Dec 2026 02:15
Date: Tue, 01 Dec 2026 02:15
41 lines
9489 bytes
9489 bytes
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
Technical Details
Message-ID:
<179609134231.3146.17480849178252080412@kernel.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374628-linux-kernel-netdev=dewy.ruReferences:
<20261130012208.1962491-4-piyus@iiitd.ac.in>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374628-linux-kernel-netdev=dewy.ru From: netdev-bot+sashiko@kernel.org Newsgroups: linux.kernel.netdev 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 Organization: Usenet Network Message-ID: <179609134231.3146.17480849178252080412@kernel.org> References: <20261130012208.1962491-4-piyus@iiitd.ac.in> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1590681"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:Ono6a4ge9piLOKsDVo1ViXSu62A= sha256:EGid3Mc+XVfcftUH/Q9iBfUFFlSiWN+20HXLXmMtI74= sha1:6SpP4XWcaCXF1e66bY3m3OCn57k= sha256:byuvFw4Sb9zvyDYAJOr7ADywibPYWDU4L7NzGiw357s= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id B5CBE117165; Tue, 1 Dec 2026 05:16:04 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hg_6cKe142mE; Tue, 1 Dec 2026 05:16:01 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-374628-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id A2E511171F9; Tue, 1 Dec 2026 05:15:52 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id 0551B2652A; Tue, 1 Dec 2026 02:15:50 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796091349; b=u7ewGyzjqZlv0HEdwo9aKtKl6y84NlrKC/x1xauJuKLRlEbbA65/jLlMxO/pek1jmwsJ 1A5Nw/xgXbSyTzB1lXCY1PWrmyMNC7xuTYH8csMzVSDM9NZhzapb5tkHtJr8dK59mh0u/ yhZQjxyclAykn1cPE2x/WC2AiaR4qYPfyw/EAtfK5WbBTXIOTp4qqMjPpiad0Jy1EPg43 y2sOYn2sm6a0/zfS/9GCja7X9zxG/l+dWH5Lhordl5LHH3GoYhlpYMxRM4Pz28FcN2Qg+ t01rDHKusxyRbGyTamn94JAfllYtV7zXxIzRUNsVQRYWz6ZYiptkixs0ac2fHsLlVug== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796091349; h=X-Original-To:Received:Received:DKIM-Signature:Subject:From:To:Cc: Date:Message-ID:In-Reply-To:References:X-sashiko-severity: Content-Type:Content-Transfer-Encoding:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version; bh=C2ZSrqIXP7NkRkijKZ1koe/abnpAbyGTQ7T++rXIhIM=; b=4dH82EmK34Y4ja/xxrhVabIFisTdm9wGKR3EwysOJTpfPO5ZlsoXEbSinaYfZY7R4gZJ La0+EqZWux7t+h4EczBfSilIuOj3b3mcO/1qYuyFtjz+Rz8lSUm/oW8tqfR3fhGZ+yVDP r3GDmEl+JvpQqpigFafdf13bOLfGHJCQu5NEIkzVICHQPD1qipL99oS8HYt1zgvZbKbyv O9ekGV49I3lsjYRHkl5pfZ+UB8ZXYeGCw1x/gVzQe15gZBoIFDmdU2YnYxR8LE7+Nav7v L8wzqHMJQjleM8cG/GaQpqC9c0c04v7+Bj0RTGnbq+RbeHmPrO/bBJULNILliXp5Qrg== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=U5pKEtjq; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BF581606A325; Tue, 1 Dec 2026 02:15:49 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=U5pKEtjq X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796091343; b=fCKrTPBFttuv9Pxcf1qbar7osh/vwPxyZyKL5Rfr00nq6lwRXUfk//sBdrsiNAXANm3X u4R++rZRqP+MreXkxpZi4oOZKO0oKlpi4hw+0lNcVymEjvSU8JoAH+Z3qgQIhnHxv9tk0 DqKMGHq0b6XDHUzzpm4F2d9/CNzxpH7Zmi8f/1S/h5p0kKO7IlR1qFlf5LdIQzZPYvznv gjdOwx11oNybC7CvmXzxpGKhxpl6Eb8P8nbDbuIGLS5QlkVlN/OXktIkw6OlkbeujB7e4 JwNqOiSliFVCgQ2L5E+1mpKlMa+EE9Y7ooZV/BE/3aAo6fN3DQrWflcnBC11s+AO+iw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796091343; h=Received:DKIM-Signature:Subject:From:To:Cc:Date:Message-ID: In-Reply-To:References:X-sashiko-severity:Content-Type: Content-Transfer-Encoding:MIME-Version; bh=C2ZSrqIXP7NkRkijKZ1koe/abnpAbyGTQ7T++rXIhIM=; b=pzniJqtasNc1dKWBOJTQ25PB6bUSe6r7u2jmXurbPhDlYNJu5/YzCmo0RO/VfB0gcMLE 1OuWXAJcpQWSyPMVTd6ekbHNoBALjsWkPNkaQE3rbxntV5Hz9Qf6rDA9LOBHVM87vkjn/ dqZrloLKP2A5lStWPm/X9C7LQ/iGG6Zj74BG/uFlFtGDkW+oolJh905SeMlJZxWjFhyJi ksgTChojf2bTm4UzB1TBqIVeutcQ5VaLd4uEYmDk8vY1t8HN+4uOmfXwnVYPq7Up2DCAF 84hmwmiWGaK28ep8j8hH1Ty3u0tfS+pmxgqoMZHbleWaHHp20vj6ZcLnS397p13aDtA== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=U5pKEtjq; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DD871606A329; Tue, 1 Dec 2026 02:15:43 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id C4AA31F000C1; Tue, 1 Dec 2026 02:15:42 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796091343; bh=C2ZSrqIXP7NkRkijKZ1koe/abnpAbyGTQ7T++rXIhIM=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=U5pKEtjqTGAm/szYecbk+Mao/hsAJBkk1oJBsx9lwgAIbprNMAGVX20Pm9t9+wIQG 1eb4FV0QRkG5gJw97GAV8sH7z0yWnyIpwT8UYHFJH5PbcUieMVFb/oLq1e84k8AsTx FmCH6Ct5PS+UuwXhIw1SiXgd4BkGUXKmT0S+ig+8D4cDYf9rl9sT4b9ud/mZcwk42n UhnPowYkC7EV3Bu6Zq4Y+59oj215E/zB1T40t3j6h1hxvd47Nn0+/bYlH+hD0bgoGi 2JBbrcOXcbkjaIGn2GpzbvsMfKNyXzgzLJz2H3EG0sSGyUm++vtx6aBgHRVUCO921Y 0O9kVpav5FXng== X-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 X-In-Reply-To: <20261130012208.1962491-4-piyus@iiitd.ac.in> X-sashiko-severity: Low X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list