Thread (3 messages) flat view 3 messages, 3 authors, 2d ago

Re: [PATCH] ixgbevf: fix xfrm_state reference leak in ixgbevf_ipsec_rx()

From: Simon Horman <horms@kernel.org>
Date: 2026-09-21 10:35:09
Also in: intel-wired-lan, lkml, stable

On Thu, Sep 17, 2026 at 11:14:18AM +0000, Wentao Liang wrote:
ixgbevf_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: 0062e7cc955e0 ("ixgbevf: add VF IPsec offload code")
Cc: stable@vger.kernel.org
Signed-off-by: Wentao Liang <redacted>
Reviewed-by: Simon Horman <horms@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help