Article View: linux.kernel.netdev
Article #10256Re: [PATCH] net: ixgbevf: drop the SA reference if secpath_set() fails
From: Krzysztof Kozlowski
Date: Tue, 03 Nov 2026 10:25
Date: Tue, 03 Nov 2026 10:25
60 lines
10171 bytes
10171 bytes
On Tue, 03 Nov 2026 10:05:34 +0000, Wentao Liang wrote:
> ixgbevf_ipsec_rx() takes a reference on the xfrm_state returned by
> ixgbevf_ipsec_find_rx_state(). On success that reference is handed over
> to the skb's security path, which releases it when the skb is freed.
> When secpath_set() cannot allocate the extension it returns NULL, but
> the function returns without releasing the xfrm_state, so the SA
> reference is leaked.
>
> Put the reference before bailing out.
>
> Fixes: 0062e7cc955e ("ixgbevf: add VF IPsec offload code")
> Cc: stable@vger.kernel.org
> Assisted-by: DeepSeek-V4.1-Flash and OpenAI Codex
> Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
> ---
> drivers/net/ethernet/intel/ixgbevf/ipsec.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
Multiple things here:
1. Your team ignored completely previous feedback. Multiple times.
2. You use multiple identities with this email address, thus I doubt that we
speak with an actual person.
3. Your bot does not even bother running checkpatch, right?
4. Nothing of this was reproduced nor tested.
5. Finally, the same feedback:
You sent multiple independent patches, to multiple independent
subsystems. The amount of these patches clearly suggest this was
AI generated and most likely not tested.
More importantly, you sent all this work without properly organizing
relevant patches into patchsets. This makes reviewing difficult
and might cause multiple reviewers to address the same issue.
Replying to the entire set is impossible and requires handling each
patch independently, instead of applying or discarding the set.
Maintainers also won't see the bigger picture of your work. Quite
worrying.
This is on the verge of hostile patch: bomb us with so many
contributions, we won't be able to handle them in efficient manner,
like responding ONCE to ask you to slow down. Considering all this
is untested and LLM generated, I have even more doubts whether this
should be considered for review.
Please read kernel documentation BEFORE posting more work. It will
explain you how to identify subsystems, how to organize your work per
subsystem (so a patchset grouping multiple patches with a short cover
letter), how to document the issue discovery method and what was
or was not tested.
Best regards,
Krzysztof
Technical Details
Message-ID:
<20261103-esoteric-hyena-of-penetration-223ea3@quoll>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355416-linux-kernel-netdev=dewy.ruReferences:
<20261103100534.1310071-1-vulab@iscas.ac.cn>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355416-linux-kernel-netdev=dewy.ru From: krzk@kernel.org (Krzysztof Kozlowski) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH] net: ixgbevf: drop the SA reference if secpath_set() fails Date: Tue, 3 Nov 2026 11:25:41 +0100 Organization: Usenet Network Message-ID: <20261103-esoteric-hyena-of-penetration-223ea3@quoll> References: <20261103100534.1310071-1-vulab@iscas.ac.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Injection-Info: usenet.network; logging-data="3151693"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:DnP1toqs4IPK1tsHhZpYEKprukg= sha256:3owiStH9YJ22bU5VoXGitZ9/Aby9/ozT8HxbPZV9lfg= sha1:ZHv5804NX8/QdoFwVE0uS9MowBc= sha256:t/9gxtNvMwGAeDSzVYcIVOYn/bhJAIPnPEPemRNKlks= Content-Disposition: inline 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 A35AA11281F; Tue, 3 Nov 2026 14:19:42 +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 I52SCOF34WNK; Tue, 3 Nov 2026 14:19:40 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-355416-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id A92651127C8; Tue, 3 Nov 2026 14:19:29 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sin.lore.kernel.org (Postfix) with ESMTP id 9A62747B22; Tue, 3 Nov 2026 10:29:43 +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=1793701552; b=yKGB+9em4+yDt64Ckse5AwbaHUHWLdm+ntcHgqKaVDYTvMKiO0yRpet1v9keLFV49bJC mftfgD0Vcq12dNIQYlthn7mBA9mD5GW034XsdYVtG1IjquxNYvgYpFUhn8cKL2ToiVOoi ZMrX6dl5gQlAxpyw4jqCvsp2NSRJZ/AtJVvVGI96z4CUNxzJCphOyQxYhSk33TrKDmsAh cVqMhi81fWNNI9CigRTh3QvVIs0YykFL4uG8K/DN03RSzohhXRbLdqR6cfNb8dBQChCHo NWpqAyiwU2YZtXlr831Hd6vrLgLuF2EQ5gXErdrHu0iuGwFlXM4jh3TNReqH8vUYDZg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793701552; h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc: Subject:Message-ID:References:X-Mailing-List:List-Id:List-Post: List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence: MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=u2LnnysjiNlnAErgAFylACAxMV+BLUH6+e8OJM6PuFw=; b=kmqCDEXexN8jdGeTW0L9V9EfnwvHLglfxHXhGyuwCq78OXe2+WxjsXh0tg2RAbhMnRBv Vq2N3MEboqawbvZdB7JyUDr/cn+pQ96lYYdPDwSlU4wy3WXhqtbDRpeCD49vxBalKAlqW jtfsI2AM4GFCalGaGwYhcOcI9DQQM4q3bwQ2uflicvKH/iytBUR+lDxG8KJ9Q2nB2CTjS Wa8D6XQGleiuhwB7qvnreTF8S7TnZZ+6s+t2MgzgANkLWvvBHUNPg553Od3gB5J4YeNkU ifNOW+NIEEmsINiPU4FEuqQZD7a0gf8EyXPmLuSBvPR8noPQtoTldxDK6oGGiiHdaWA== 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=NSx5z+Eg; 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 427F3606C549; Tue, 3 Nov 2026 10:25:52 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=NSx5z+Eg 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=1793701545; b=AaG/DIf+A3062pMSszZxRr4t3YPfAlUbfRFdxxGVmU4b3dLKrZAwlK54jCFmqgxq5Ek4 kQulmhlQHYuSEDrUnSpAMgNouYg78YHpKN/69dh1pJVvM5FHvIMWhDfkDY7p3inIzFXCo hoy7hV684SfIRn5hm5px3qfYgDFdC3Dk2gQ59gED6e2KpdFXSlnBGdFn9sqgkujIxQ0uy dYzox8mn4efPDvDjuqMrq2CY+yfNAZpRl9u3dxFZkKnPkT76Aoz+rIyzDTrdMG23k61wu nJWMTqeVhGxvJKMfa2jELJA0ECQG9wMIhAkLWfaiodP6REsIgrVTTR2Az4onXXStE2A== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793701545; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=u2LnnysjiNlnAErgAFylACAxMV+BLUH6+e8OJM6PuFw=; b=maPAfc8cvjVFWUAQJ0zjcbfzvcY1qJpHGqSwN32EjWauHFDCnJH4uHh6EJY6NzTFJNv2 s+p/v1Ak1aNT+6LqVg7iCGE94AVPbpIcBfKunC+1Oavj9vnbK/dT6wSpYGyx0O2ikAA7H jSCi6ACPIZJ8sVvvJvKnmyX/sVSFywb6kR1JdwmowxFp0D8KxnvJkU2rMqMLxjZAojRtS QQek9XAExv7a7u4C0m49iWPKiJNhLl3vv/RLbOd3Tad4esITxOPyZEdivx67Wp5QNZ1DG 9SyaXDkFKQFnuMHs1FV4ZwM3fc2wmFGqeLZpkxrum0dFhs/TigEu7wfCGbVBjgPTaIQ== 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=NSx5z+Eg; 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 BFF1D606BFAF; Tue, 3 Nov 2026 10:25:44 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 047651F00919; Tue, 3 Nov 2026 10:25:43 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793701544; bh=u2LnnysjiNlnAErgAFylACAxMV+BLUH6+e8OJM6PuFw=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=NSx5z+EgmJ/vqZbdQdsVGn57b8f6BhRgX4zf7ZogXfqYI/ouOgdCh3Jk/J06tb6wz lihMw8dP784rFojOlkRlOi3BeCiwQzV+X2B/qZ3HX3wEYwCJrD5xVbvb6/9Jo0rL3v x4hyIa73hXQE2Vbo2pFmEUrCFIcDuzAqg4kFcfHJR5hs5NkgQsS4lvp5JL++ECEnHl xLZDjCdkRWXbowhxVnRBMjJm3LbBS8DhZZYPDWK+XyxuUyNNdAU1pfzC8HG83wa3Cp n1kmcIchka8DV/BjwQnbK2sZhmPa3Ci3eAdIh4dvfZBJHxlagLe8rPf8M+l71EFyvD bMys7mWMgqzrQ== X-Cc: stable@vger.kernel.org, Eric Dumazet <edumazet@kernel.org>, Przemek Kitszel <przemyslaw.kitszel@intel.com>, Tony Nguyen <anthony.l.nguyen@intel.com>, Paolo Abeni <pabeni@redhat.com>, "David S. Miller" <davem@davemloft.net>, Jakub Kicinski <kuba@kernel.org>, netdev@vger.kernel.org, Andrew Lunn <andrew+netdev@lunn.ch>, linux-kernel@vger.kernel.org, intel-wired-lan@lists.osuosl.org 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 X-In-Reply-To: <20261103100534.1310071-1-vulab@iscas.ac.cn>