Re: [PATCH v1] octeontx2: Fix use-after-free of qos node in delete path
From: patchwork-bot+netdevbpf
Date: Tue Oct 20 2026 - 15:45:49 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Wed, 14 Oct 2026 14:42:04 +0800 you wrote:
> hash_del_rcu() only unlinks the node; a reader that already holds the
> bucket iterator still uses the node. The immediate kfree() has no
> grace period, so a concurrent transmit on a socket whose skb priority
> carries the deleted classid reads node->classid / node->qid from freed
> memory (use-after-free in the softirq transmit path).
>
> Fix this by calling synchronize_net() before the node is freed, as
> mlx5e does.
>
> [...]
Here is the summary with links:
- [v1] octeontx2: Fix use-after-free of qos node in delete path
https://git.kernel.org/netdev/net-next/c/dcaa62196489
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html