Re: [PATCH net v2] net: mlx5e: Fix use-after-free of the MACsec xarray entry on RX SC deletion

From: patchwork-bot+netdevbpf

Date: Thu Oct 15 2026 - 21:07:00 EST


Hello:

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

On Sat, 10 Oct 2026 11:21:15 +0800 you wrote:
> In macsec_del_rxsc_ctx(), the RX secure channel is torn down with:
>
> list_del_rcu(&rx_sc->rx_sc_list_element);
> xa_erase(&macsec->sc_xarray, rx_sc->sc_xarray_element->fs_id);
> dst_release(&rx_sc->md_dst->dst);
> kfree(rx_sc->sc_xarray_element);
> kfree_rcu_mightsleep(rx_sc);
>
> [...]

Here is the summary with links:
- [net,v2] net: mlx5e: Fix use-after-free of the MACsec xarray entry on RX SC deletion
https://git.kernel.org/netdev/net-next/c/ad17ad50b8dc

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