Re: [PATCH] ixgbe: fix xfrm_state reference leak in ixgbe_ipsec_rx()
From: Simon Horman
Date: Mon Sep 21 2026 - 07:18:39 EST
On Thu, Sep 17, 2026 at 11:13:17AM +0000, Wentao Liang wrote:
> ixgbe_ipsec_find_rx_state() returns the state with an extra reference,
> which is handed over to the secpath on the success path. When
> secpath_set() fails, the state has not been stored anywhere yet and the
> reference is dropped on the floor.
>
> Release it before returning.
>
> Fixes: 92103199f10a3 ("ixgbe: process the Rx ipsec offload")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Wentao Liang <vulab@xxxxxxxxxxx>
Reviewed-by: Simon Horman <horms@xxxxxxxxxx>