Article View: linux.kernel.netdev
Article #13581Re: [PATCH net] net: protect negative destination advice with RCU
From: patchwork-bot+netdevbpf
Date: Tue, 10 Nov 2026 02:54
Date: Tue, 10 Nov 2026 02:54
27 lines
8722 bytes
8722 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Wed, 4 Nov 2026 14:17:44 +0100 you wrote:
> From: Kyle Zeng <kylebot@openai.com>
>
> SO_CNX_ADVICE calls __dst_negative_advice() while holding the socket
> lock. Connected UDP sends can still invalidate or replace sk_dst_cache
> without that lock. A concurrent sk_dst_check() can drop the final
> destination reference and allow an RCU callback to destroy it while
> __dst_negative_advice() retains only a borrowed pointer. This can cause
> a use-after-free while accessing dst->ops or running the negative_advice
> callback.
>
> [...]
Here is the summary with links:
- [net] net: protect negative destination advice with RCU
https://git.kernel.org/netdev/net/c/4b77d2792c3e
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179427928817.3612825.14867042478896560539.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359786-linux-kernel-netdev=dewy.ruReferences:
<20261104131744.1056562-1-edumazet@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359786-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] net: protect negative destination advice with RCU Date: Tue, 10 Nov 2026 02:54:48 +0000 Organization: Usenet Network Message-ID: <179427928817.3612825.14867042478896560539.git-patchwork-notify@kernel.org> References: <20261104131744.1056562-1-edumazet@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="505812"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:0xoFhakStuss43brgV4O9H97ubM= sha256:WBJVTxQ2PD+6ZRBk9U6zjzKA+1OP+3+X4f4VlacNiaA= sha1:yfPwcbOcgVZqxfL4rhV1bMOJvFc= sha256:2C52utkansGRfMMtwnpyc1tSv2/mUJbks9JBs7RSBGM= 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 0781F1139F2; Tue, 10 Nov 2026 05:56:53 +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 CaQwGPEYQLGQ; Tue, 10 Nov 2026 05:56:48 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-359786-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 B06E71139E6; Tue, 10 Nov 2026 05:56:40 +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 D923A626621; Tue, 10 Nov 2026 02:55:32 +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=1794279291; b=0LsU+p08ciQbCkf/kGeEqFZ3zohwbzOmHeVr+p1+F/d5lpWLTbd8Ce/pwfBjvanxHEr9 gzzrlemZ9u0K1yH88JmRgvvPscCP+gXrvr7v1g9/Bjc54c67hShpewQNtDM1W4DSgNjQY zaWVz5XVwsLl0xZXS72Q8kN1YyToCoS7qunmYNvf2kICPLqXEBLucS6Qo/9Wr4Vb24FNF lOmd4CfqD7zDzVd+HsBd9M4Vb0UTq+Ax0IFd8VwYw8XmxpqR7UAYjgGXK4IfjLrVamhAw RCtODN/qIKWmMG1qVMIvinU86wPCQH1afo98p9NVPuiEs2+ZVvlvRJL1lSr6wVfMoZQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794279291; 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=2bJUW4l49sLKtxAo1NUnTsY3j2u1ukhxvsoHbWHGuK4=; b=Sqf3kutKeSJq984KPZFrQ4UdVuUo1TaVX1qG4ZXh69x2b8D6EXkkHpXZZqleX9rtdr1z TSK2GKICbHvnpcZQur687L8cXieTpBQr+9JXcRoD1xCWY0xhmwvkPibCk9qUmwB8j9I2s P/Bk5sErzJfy5PCk7t9aFGYr6L6H4pYElaeiOkbD0t3kPujpsYsTfAOiYS5efYbDyPIJu t9WhoqDRxw865Uv2DaebK8aIh5NKoCSasXHGtcXWkpsLTLlMwVJz8M/ZTXxkrTa6Ae2n5 kTxyA73ruuQZLF0K6sxpKd7qXG7HO7JVDkwn5HXucIxGkSjNa/u1ai+vJOlhZJjNYJQ== 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=njvlZ5og; 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 2D78560A382C; Tue, 10 Nov 2026 02:54:51 +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=njvlZ5og 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=1794279290; b=vQQMPj58P5gNJUMN7IXYy20hRsI1qMKjGFXxQ4L31W2s2RbfuYKyD3njG+E1UzYVOIeG oAaMBxcavaavVoi5HmUvATyvrcWrzuxNm5BcnB7qfJm2QDL7zFnhuvPzuQYSpLtEjaNuu eP0kceOunhppOT/qBrTyDIdGKqt34PKKjVsosQC/5rmNL7f86WjilxAH1Aw24rW1HaPDa gyT2tmvTxRZAUUzPMFL1BJqavjIboC2uO+mIjodknOon89ryA9XNmSxuADViAkWUZBw0O g3oSPIqv64ixXFBiNRV5Mn05IMfAYc8/cAxlaKX/F2HOhLa8Yjv+W7SQwDC33slwcAg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794279290; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=2bJUW4l49sLKtxAo1NUnTsY3j2u1ukhxvsoHbWHGuK4=; b=qO76Vyy8SCtjz9ma4eWY4T1Aya/f2vdebvnYIAtUdbh1jrEbJsJYM4JuQl0khrY4FHGm gp0NnbW/jfmb9B3pdJyqS+VNwol6f/sx3npRkmgoaV/V46XWpJr2/P9BwRBUydkuqO54q xfNxdRrKXVJpZwJYRw94JRAaGlxa5Z6EMI2rwi/7/DlnCDpme5oSVUW2Q5TByp52Dk2Bs ocfN7JRi42WPoEar/6m0x10YjfKZxctyGQfTX+xq9CaTb/0rHJ9Qi3wQ4fJUAFbiiqmM7 2G/4rmrC6jcNQvwW6CetuNDS7pNiKtLDWLvwg676TxSeQJmYCzeIq4T2KJX13Jrs+DA== 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=njvlZ5og; 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 0DE6E60A381A for <netdev@vger.kernel.org>; Tue, 10 Nov 2026 02:54:49 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id A50001F008A4; Tue, 10 Nov 2026 02:54:49 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794279289; bh=2bJUW4l49sLKtxAo1NUnTsY3j2u1ukhxvsoHbWHGuK4=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=njvlZ5ogTHGuB5bmVWn3+R+Ysc9JAl0WGpi9L6yUwji0cmSH4Y6ZCIbcDupesv4jx 0JEKebzoUErZLLnb81A3qq1Kfw62EXBZvlxl0DdzWHHacPDHjQZCI1oHiFsp36p/9q xiDhFeoUOozmNemMoE6KYmriDAzAjQjvioNv4681KXdbNdP7jYbytWcCF5GIh83pb2 hblZ09B3NdszXlyegt6j2dY1pzcenR7MIshgM2PploDyWWOMBy4cVFFTE6zi9udSL4 /LQKk5fFeGzYOBiD2Y5ePn+hAg/mMruUh6NCcUgeAt14KzdDdxbFnOoySlfGx3F8+z eqHkDdYqd35gA== 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 9B02B391AFCB; Tue, 10 Nov 2026 02:54:49 +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: <20261104131744.1056562-1-edumazet@kernel.org> X-Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, kuniyu@google.com, willemb@google.com, horms@kernel.org, netdev@vger.kernel.org, kylebot@openai.com