🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #8852

Re: [PATCH net v2] ipv6: raw: fix use-after-free in rawv6_send_hdrinc()

#8852
From: patchwork-bot+netdevbpf
Date: Fri, 30 Oct 2026 09:40
26 lines
8813 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Dave Miller <davem@davem-thinkpadp1gen8.ibmlond.csb>:

On Mon, 26 Oct 2026 12:48:08 +0800 you wrote:
> rawv6_send_hdrinc() caches the route before handing the skb to
> l3mdev_ip6_out(). The VRF output path may replace skb->dst and release
> the original route, leaving the cached pointer stale.
> 
> The function later dereferences that pointer for statistics accounting
> and as the output device passed to NF_HOOK(). Its RCU read-side critical
> section starts after l3mdev_ip6_out(), so it cannot prevent the old route
> from being reclaimed in between.
> 
> [...]

Here is the summary with links:
  - [net,v2] ipv6: raw: fix use-after-free in rawv6_send_hdrinc()
    https://git.kernel.org/netdev/net/c/66dfb2cacda7

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179335320480.958825.16569701682023560926.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-353692-linux-kernel-netdev=dewy.ru
References: <20261026044808.613-1-n0ps1edzz@gmail.com>

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-353692-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v2] ipv6: raw: fix use-after-free in
 rawv6_send_hdrinc()
Date: Fri, 30 Oct 2026 09:40:04 +0000
Organization: Usenet Network
Message-ID: <179335320480.958825.16569701682023560926.git-patchwork-notify@kernel.org>
References: <20261026044808.613-1-n0ps1edzz@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2202864"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:ukqp7QhMjKtoIepLswXGGryDSec= sha256:YH7wHN4oGkhzvKQcEPPIELq4quAhKUrc6iWaHpzgabc=
	sha1:SPruZEmiy/uCqFxILz6OjEvInoc= sha256:WPw3AWMX5IED8Foa7EDbvUxcB32cPjivRkUyNR+Itqo=
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 3AFBD125C8C; Fri, 30 Oct 2026 12:42:39 +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 4tqpoj8kOf91;
	Fri, 30 Oct 2026 12:42:36 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-353692-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 20802125C86; Fri, 30 Oct 2026 12:42:27 +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 5531C2E8A2; Fri, 30 Oct 2026 09:40:21 +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=1793353217;
	b=wiaMEurut9QHBziNPekAc5b1chVim3AAZ3qyrpzgy21I7LHihrdEMjfAiDEENac1vMg2
	 H8Gd2z3PGWmQVRw6BrPy+fQh2ZiNz0KfoyXLC+IEhF93UyPp5fRJe1PWKdFAyvpEQ0sbD
	 piiXdLkogvpeMgUgzmZcpK+qPTjZe/LuxZM1UJ2G3+5ztClB+zn8fOk4Agq9Iq9XPmeda
	 q7yTrY0lRbXoTPwB1giiEhqg981JbSp06H3hCLfq//Dr+yU+B2Oeoelc/qKhKlcAVC/Or
	 Q4Hf6Ep2hqr0C13Axb8uV6OUSNCc4tML/dmWJxi4Y9RGvUT2oQkY/2z8utgc1T+F7+A==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793353217;
	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=q97ib2TJPGW5E/QbfamNipDgstGtnceryoKyk72t9L8=;
	b=vTcp3mfOq0SMEFrShzJ/+i5ibt94ZxgJAIBHRTJh8NpECBPpCuuZzDB3Ap8Yx07yQIDc
	 DZTGKHxBBQE2FGZyJZ3unxXA4cTGwU3tVT2n3T3V+iqC76EqG/TGJU4VDd5TKrIDSfei5
	 OEXTNYohUEySFx81wiXzLalav6/lPAnvBF+PRc00T4KSlnqDCrqIfl5gGvX+b+yHQdkML
	 zPyJJ0wYSMZMg76dNxkCWFTOhekMa1OvnL0oMk8Q8idJomDHVdDn5fh4+fz0/ZVlHZNtH
	 uT33r/xSV3lEpm+c0LcMxDBzDtmDO4AFqLKIS09iFIlf3+hvlMOteH9V6/ck5cIMbiQ==
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=ng0jMIm3;
	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 8D65160A260C;
	Fri, 30 Oct 2026 09:40:17 +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=ng0jMIm3
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=1793353206;
	b=TOo5RBT5S04wrU5c8fmUcXHUmBzLlGDG2oSDr8tsGdci1HtmVQBd9y/XvUY/xpe2nlFr
	 5sHEmL+amYtKmWwD13Yqw1LAn+9ekQYEXX89qxqksQTNbsjhpEO4ilMmShLaa6WvH5lif
	 gxnnJ46D8oTdZwkwoniHjcl9FBRf8P5jxGo7DFB3IXQAijEPNUeM/QLpfjKH3ZaLgIu4D
	 mox82+uzVyG28o3jVWMgJ4S8tOmoFmo8XR2MPVF56sZc6Yq/+rWPiPID9zvHan/X6tZ+Y
	 UEhMo8fQnP1gTSGi5sD6kATnPB1YIxWzTh80KFEwmpFwTxzGhyLvL1yx7QN86tohRig==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793353206;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=q97ib2TJPGW5E/QbfamNipDgstGtnceryoKyk72t9L8=;
	b=GGbXd7PwpWVBIiWqYg7Hjp4C9AeaNdCaCgpQ291TkUEYQ/aRENQlgibzAD3iITyBdtZx
	 b3sL9BLhMpVUksZ1fRh1op15cmWNRHMztRqHoHRRNV/VrPrZeRmYPKjAOo2rG9tV+omZX
	 AY+lgGgjIXcD+ONqRwP/dthfRup6dd/Ao6dJVrG9hX+WlNBhqFWYL2FNOdar+UE1VOcIj
	 mNhB794SiZbrpNv+Kv589JCb+Qj8fBoDttga8uTi/NQz9+IxoQAmJF51en/qGGiWJjQsw
	 qr96i5sx5H4thkLEXWGf7k3KShyznD0fxjAR8O1rI4iEyILNMy2Gkhdk155zBnaEF1Q==
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=ng0jMIm3;
	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 6ABF4606A32E;
	Fri, 30 Oct 2026 09:40:06 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C6E01F00A02;
	Fri, 30 Oct 2026 09:40:06 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793353206;
	bh=q97ib2TJPGW5E/QbfamNipDgstGtnceryoKyk72t9L8=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=ng0jMIm3EJt5nxY9uMhz8iXU4DgSJvH3LydfcLjyYKK8HUqNNZJFBYWEyl+lefcyL
	 NeFPnkZf6OZqc+RfIYL4WhvmYwemj8EyrmwLIRF6v0e/e3TBtTBEQvdAXQr+AduuLV
	 myUfKQAqIdOquJJRbyJHcBNolj8rSfQuFdrxtArjLOLjBQ4SfmNkVsdKEac4sUZp9v
	 9blouBCPzcIk/w0dNvcdWmFVdHV4k8M+YNpaAdfiivc635ZoCzB3wQymDz5/aHBXQG
	 JU+ZrMez+CkTYliDch24peGKqWClY2m2WTTouemmDi/JVHjKdFjc/yykXloWkYNaXX
	 ut4lGbx81g9rw==
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 030B23800449;
	Fri, 30 Oct 2026 09:40: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: <20261026044808.613-1-n0ps1edzz@gmail.com>
X-Cc: netdev@vger.kernel.org, dsahern@kernel.org, idosch@nvidia.com,
 davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
 horms@kernel.org, hangbin.liu@linux.dev, linux-kernel@vger.kernel.org,
 stable@vger.kernel.org