> -----Original Message----- > From: Wentao Liang <[email protected]> > Sent: Thursday, September 17, 2026 4:13 AM > To: [email protected] > Cc: Nguyen, Anthony L <[email protected]>; [email protected]; > [email protected]; [email protected]; [email protected]; > [email protected]; [email protected]; [email protected]; > Kitszel, Przemyslaw <[email protected]>; [email protected]; Wentao > Liang <[email protected]>; [email protected] > Subject: [PATCH] ixgbe: fix xfrm_state reference leak in ixgbe_ipsec_rx() > > 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: [email protected] > Signed-off-by: Wentao Liang <[email protected]> > --- > drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-)
Tested-by: Alexander Nowlin <[email protected]>
