Article View: linux.kernel.netdev
Article #20018Re: [PATCH net] octeontx2-pf: Fix potential use-after-free in representor teardown
From: patchwork-bot+netdevbpf
Date: Fri, 20 Nov 2026 23:50
Date: Fri, 20 Nov 2026 23:50
25 lines
8703 bytes
8703 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Mon, 16 Nov 2026 22:12:10 +0800 you wrote:
> The representor private data resides in its netdev allocation.
> rvu_rep_destroy() frees that allocation before reading rep->flow_cfg to
> release the flow configuration.
>
> Release the configuration while the representor is still alive.
>
> This issue was found by our static analysis tool under development.
>
> [...]
Here is the summary with links:
- [net] octeontx2-pf: Fix potential use-after-free in representor teardown
https://git.kernel.org/netdev/net-next/c/a98c9978f59e
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179521860503.842584.8663066740540883936.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368207-linux-kernel-netdev=dewy.ruReferences:
<20261116-c29ba55625-net-otx2-representor@mail.sdu.edu.cn>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368207-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] octeontx2-pf: Fix potential use-after-free in representor teardown Date: Fri, 20 Nov 2026 23:50:05 +0000 Organization: Usenet Network Message-ID: <179521860503.842584.8663066740540883936.git-patchwork-notify@kernel.org> References: <20261116-c29ba55625-net-otx2-representor@mail.sdu.edu.cn> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3294526"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:IUSAw4x3x7QZQROS3ELk3eFL+Yo= sha256:WFkNtDWC5yG/QQ5kD8umL9BAjo6SANBcuXG/siFckxg= sha1:w8bM6mIcpfJr1GU+WJyOn7GKbd4= sha256:Z/VKfL1DhgOP0hdHmPoKH+TVqrjpduUYcDwyz/u4l04= 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 4F21F115AD7; Sat, 21 Nov 2026 02:50:26 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.501 X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31 tests=[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 gy6Ad0QgAAwb; Sat, 21 Nov 2026 02:50:22 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-368207-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 359A7115801; Sat, 21 Nov 2026 02:50:11 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id D03206146EB; Fri, 20 Nov 2026 23:50:10 +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=1795218607; b=1eb9YvzwyXLeu1e+Oecs4TjwCalvtuq4HA9hOtGxCozbbudtaHHFHv/cMPLgiKvFJkgx 1c025EvwRPEWAPSKtWZ22EbWe0hcmoiKg5eVl5PfYwBnHy+gtwgkd/FgNXUSaycXr2/rh i2qnWK0Y86PxythwgTvMGXdN8QHJL/6VjtcWTY7D5L1e+n/YBf4uMcaPXCCQBZABmNCqR HzlWEmAerU69ha72+jvAf4aE4HsNoHyCgADDvkZ/QEJvd6TyaXlASWJ3ICiSdcTiq5870 GjPzmExYzSuNAgiBuq5UZrioD8KHPOzrCUz5KcKekOkJsZ96yyZxlnwTP2rpBhWpqWA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795218607; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=tnHYFtgCITrDmSsRECNy2BGdzhmEJLjovQrJ20eJngI=; b=IfN0wASb2bdKLfGh2olfpu+5FDUfFeFJXfv73s1o6lb8P0eYzKmTSn6kY2Aei+nA0YEh RLi4DoJa2w3PAPxijIax3uJ2ckIw2FGIKZZcHsJKh5DCYxhK69/fBH6b2fnWrI8qtkG7e MgL5KLU9Rbd1wrAE5kFJyhi5mHq8Qkjola/AXehduKDXAcuwqyvHzadbnnTn+eupDartc p0A5TwW6hKae7sG9UqPHuaFfOuGp6kbFk0nk6HyzZcC2BpJFeHQjsPkOvF7EAEz+un611 e6Kph8wXGVqvDHpi0Ewufwd09ZDXKY/9C+S8AZx+Rpkqii8IDzc3LjLJu2VAZU4UJHQ== 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="BufQ/3AM"; 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 9D34C606A6B0; Fri, 20 Nov 2026 23:50:07 +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=BufQ/3AM 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=1795218606; b=KDZn0eHVhksMhKYI/mLd9NejXxP31UK6bL5o8/AsVRLaNIgay2aOUu01Uwc7DsVxNc/d RpXN+ZSZUI1AJXxwbsn0F5NLtpVASEDBg2PvPPQMViRN13wegiGRvoizcLb5wv5BduglU /EYrulQLz+cgg6haf6W+JKlZOhgUyqyJB40WttRq3tPgU+RR/PBV4U5ruhCdgKc0qiVjw VVyvBOODbm0KBhGNiAGQ891x0kkiyEa+L0g5n6S9XOVB60MqHB/63OX0RZ19cQm6kJ1HO jd3IyYadpw1bczqOQlY471gRrEBpeVtWLIStcvebg2HkKb0TKB7Mw9i0CYTd+f/4nKw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795218606; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=tnHYFtgCITrDmSsRECNy2BGdzhmEJLjovQrJ20eJngI=; b=Gja/s6glXkeDqHeDPhMEqm57mDkO0YdoSS1kjOKbdhNBZBURFeKrWK1Uc+UjXutkw8Hd IAdekAL9/6fWYJkZGURCad7RD1i5zFte52zN0/rZ4JsssmoaLj2RTBuBc2nT57cgLkCK8 3oqkdLkwOzXpEkFqQw2z4uZi8zMry5PK1m+rGTdG3nYQZA2DtvNRLvvgpTvSmm5l5pzJi hAzXOWSjuOawp2g7kpWbbVRrlAxe0vEMGKOVKTEEGjaZY5wxVO5uvH0zX21G4ePP6P6Xn 4oMpavOpMcAIfF9F/QKcCuTAsvmadxeo9qEJdne25QjBwkL9hhrPs4wuI9L7khmOJFg== 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="BufQ/3AM"; 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 BBF39606A6B7; Fri, 20 Nov 2026 23:50:06 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43E481F000C6; Fri, 20 Nov 2026 23:50:06 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795218606; bh=tnHYFtgCITrDmSsRECNy2BGdzhmEJLjovQrJ20eJngI=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=BufQ/3AMKOnEj1L3y8S5vJyuerHc4GqWgDS5zGeSHsu3rHFNX2leaRXVsfzSl2UFI J8z9WTzPQ5kQwSWV/Oyd8iC4NE1RRhyxVk4VEoyaCl1KhHTMisR+JUTbqMQtjGXA18 mdMrXm8suT5I4qiKpG02O7Xuq4AywKnbWK3ZxBMY5+pKVW8KtI58rA2STAxbk0nXC0 55sHNC+a9fFo1XavY6hta7GJ3oXCRP/UDHfTw/559Mjb8ds5ySATSYmem9bvIWned8 pgWGZ7u72h+6KOXTgayaV9GdGYVmz1nuHI5qrd5Y4XVhweEO+5M90Q2D6r+tvt46de Q8FGaKgXbZWFg== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 3A32B380AA4D; Fri, 20 Nov 2026 23:50:06 +0000 (UTC) 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: <20261116-c29ba55625-net-otx2-representor@mail.sdu.edu.cn> X-Cc: sgoutham@marvell.com, gakula@marvell.com, rkannoth@marvell.com, sbhatta@marvell.com, bbhushan2@marvell.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org