Re: [PATCH net] net/mlx5e: Fix use-after-free race in sample_restore_put()

From: patchwork-bot+netdevbpf

Date: Sat Sep 05 2026 - 16:25:55 EST


Hello:

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

On Wed, 2 Sep 2026 22:33:41 +0300 you wrote:
> From: Carolina Jubran <cjubran@xxxxxxxxxx>
>
> Concurrent teardown of TC sample rules sharing the same restore
> context may re-read restore->count after dropping restore_lock.
> At that point another thread may already have completed cleanup and
> freed the restore object.
>
> [...]

Here is the summary with links:
- [net] net/mlx5e: Fix use-after-free race in sample_restore_put()
https://git.kernel.org/netdev/net/c/af3aef0245ab

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html