🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #13598

Re: [PATCH net v2] net: qualcomm: rmnet: avoid stale VND access on TX drop

#13598
From: patchwork-bot+netdevbpf
Date: Tue, 10 Nov 2026 02:55
28 lines
8898 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Sun,  1 Nov 2026 23:23:54 +0000 you wrote:
> A struct rmnet_port stores a pointer to the most recently created
> RMNET VND in port->rmnet_dev, but userspace can delete that VND while
> the port still has another attached VND. When RMNET later sends a
> buffered TX skb, a failure in __skb_linearize() makes rmnet_send_skb()
> update the drop counter through that stale pointer, which causes a UAF.
> 
> The stale pointer can also be used by rmnet_unregister_bridge() when a
> real device leaves bridge mode. In that case it is passed to
> netdev_upper_dev_unlink(), which dereferences the freed VND and leaves
> the actual bridge adjacency behind.
> 
> [...]

Here is the summary with links:
  - [net,v2] net: qualcomm: rmnet: avoid stale VND access on TX drop
    https://git.kernel.org/netdev/net-next/c/4f89bcfa1e16

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179427932474.3612825.13986957054931266186.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359808-linux-kernel-netdev=dewy.ru
References: <20261101232354.2047804-2-Jeremy.Jean@oss.cyber.gouv.fr>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359808-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v2] net: qualcomm: rmnet: avoid stale VND access on TX
 drop
Date: Tue, 10 Nov 2026 02:55:24 +0000
Organization: Usenet Network
Message-ID: <179427932474.3612825.13986957054931266186.git-patchwork-notify@kernel.org>
References: <20261101232354.2047804-2-Jeremy.Jean@oss.cyber.gouv.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="507522"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:pHJ/RNA2E6uN7mWFU5emF+mv1Ww= sha256:vipiSYyib/yQEmNsruuPNOMPvSL4NK2W2YDVWByUIAk=
	sha1:46YXQzmiQdloWqEMjoBPUdqJtek= sha256:rWY0jg74honyMCkxr6ExMjFDWmmWTj5Sv7gjAnqjC8U=
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 7C36D113A03; Tue, 10 Nov 2026 06:05:13 +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 xNY5B9jpikBZ;
	Tue, 10 Nov 2026 06:05:09 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-359808-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 429F111392A; Tue, 10 Nov 2026 06:05:01 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 8ACDFE4EBF; Tue, 10 Nov 2026 02:58:18 +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=1794279327;
	b=Da4miIwQBip3c/n41EIW28Qvm68rXNaM9v78Xpf7VbrGB+/MHLcLcVx9mqNFBLF35wFB
	 gghUOsWvCoGDH/agEvXEA5S7meLcpZYwEB8sdLLdwA6+OvfKgcNI8H9roxxq3tc81WT+5
	 uFI3NfGYD+D5OUPMTCuCTTHWTp0HOYqZdD+Et6hlmF25gWjhDcQf6mE+ZknHCynT6zVse
	 0xDqVXn08WQXM2rfuxWGtALFBI9EY4sWYun3pKt5gSlgpkeXutBSRWj6ONAlBw+/WJip0
	 2PbNx9Z6XwxBzJbe1gOR3EEcaVCzWqWv9lFW90Oy6wxORrm9SZDVh67CPZ0TTWcoEbA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794279327;
	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=yzbqzrXHNeakWLUFfYy0kiXw+elLkCR7kWvTIuAA1SI=;
	b=ZKl85uPSwybFpQlmjVWcsS9yqUrULj2euAvG7Ny2ggjLUuhWyUdr1wjmDaNJD8dt5xAP
	 sAkYjUehg67uR34hjVkN96yo/b3QDzmzvsIALZJvxFgTvGVGviQZlE1aBN2+E7DbGJesz
	 KGRU/bF7WpcJDGTse3/8CE0gfIoQngl/PU37BDCucbhgIoODRQfu+OGLMMrl6vg7gMo4r
	 O/drxZ316emfRejXt8FwGFZDvaoU8wEwq8SoK6KAMB7VORsZtB9ciURsiy64RgPWynOVF
	 hkWlDaLFkcra9jCQ7YQDChnVL2FVNKDz3Y12XzpZ9VxDyHVoxktIf3byxd73DJpV1Xw==
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=b3xLxsL6;
	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 8ED78606D135;
	Tue, 10 Nov 2026 02:55:27 +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=b3xLxsL6
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=1794279326;
	b=WXZ8ndkDgUNuwT8CGCBjvyo7eGwV7ksr97aqylL+E0w7hke7EpmijwIAI7jWJXf/JBPv
	 HHvKZYCUEHLsS9fctz/ay4eRl6VxlZmLPPOB5WmCrhF9puiZdOztPWYc7sFZhsjtv4Lp2
	 5RQF4bKt9AOUjq4knDNVUyFvIGUkUhdUcJaylp8v9h5voiwPE2qPnkgbzjBnMn4ORCx6l
	 pXRMUMqnOQvA0LcT3PlKq8rp4eMPJlCV0bvOen/OgxOukL3d8zGXkDkb46cyxgiWGF4n8
	 xJkhHaOXqEssZ3ZsEB2YdrtM08FN4tuxsqzG1Jp6ULTw42j7xot/1Mx71/MO6gUS1Cg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794279326;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=yzbqzrXHNeakWLUFfYy0kiXw+elLkCR7kWvTIuAA1SI=;
	b=Llu1vT1PlMMFrp9F2oA7eGjXEQMaLi4idfb1rkXemo4kFAqZTsjxgK+xlI+gbcvzljX7
	 3Z8unZP5QJwUMEvVez2XZM3gVCNIAkMsKTfHM5gw1XZrJXrmd88PbbTYVAeV3+jJEJKlp
	 2iO6B+HzXfDJW2KzXtgo3NGz45GDQN+dXYGMNJUynhu06NQ+JfZZRHV/zX4PJKvrDxyrq
	 8Cj3qYxJCCpilqK6kdSAzonPzLqx+basBXc1jwnDQErMVqtTaDZO7eNXuKvdpGJJSTpLI
	 ZFITONca/IVUeH4mX3bmb1SjZKKah9YkS+2epWao7D0+JfY2WElAXHLpig6PfMaebgg==
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=b3xLxsL6;
	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 7102D606D11B;
	Tue, 10 Nov 2026 02:55:26 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 235391F008A4;
	Tue, 10 Nov 2026 02:55:26 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794279326;
	bh=yzbqzrXHNeakWLUFfYy0kiXw+elLkCR7kWvTIuAA1SI=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=b3xLxsL6vGu2KbJDR/sJr9hp9FTUFAlpct1X014CHIIitMBSU2fkFTPbTCzhmXtg0
	 gKwEMywNwghXc9k1OxzoYLjv0sEtB98uyB9TaLWhD+e7r0Hs9UNc+ethviqbDVdaM9
	 uOhc3WZJYjJxywLDzCtP/Udusopso15nrHuL16sb7SArXBmtXuY1aC29JdWgR63cRO
	 n9PiAgPtg06hHoM1uarVWZJ/n0dC4oYEM9IyeTQ/kj58rO3ZFJOQ+TtSzQ/U0B0YKn
	 C0V/mJBYMq0TF5qtohQy70gkID3v5sHJ7CsBqhyP/FIz4E063WgQ2KSfF3cdbMLv3y
	 XzUB6nrfX49Cw==
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 18CDE391AFCB;
	Tue, 10 Nov 2026 02:55:26 +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: <20261101232354.2047804-2-Jeremy.Jean@oss.cyber.gouv.fr>
X-Cc: subash.a.kasiviswanathan@oss.qualcomm.com,
 sean.tranchetti@oss.qualcomm.com, netdev@vger.kernel.org,
 linux-kernel@vger.kernel.org, stable@vger.kernel.org