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

From: patchwork-bot+netdevbpf

Date: Mon Nov 09 2026 - 22:05:08 EST


Hello:

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

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