Subject: Re: [PATCH ipsec] esp: fix uninitialised req->src dereference in esp_ssg_unref

From: Steffen Klassert <[email-masked]>
Date: Mon, 1 Jun 2026 09:14:21 +0200

On Fri, May 29, 2026 at 09:18:46AM +0200, Alessandro Schino wrote:
> When esp_ssg_unref() is called with already_unref=true, req->src has
> not been initialised yet because aead_request_set_crypt() has not been
> called at that point. Use esp_req_sg() to obtain the source scatterlist
> directly from the tmp buffer layout instead.
> 
> Fixes: 2982e599fff6 ("esp: fix page frag reference leak on skb_to_sgvec failure")
> Signed-off-by: Alessandro Schino <[email-masked]>

Please resend the full fixed patch on top of the ipsec tree.