Re: [PATCH] sctp: Fix memory leak in sctp_sf_do_5_2_4_dupcook
From: Jakub Kicinski
Date: Sat Nov 23 2019 - 21:26:21 EST
On Fri, 22 Nov 2019 16:17:56 -0600, Navid Emamdoost wrote:
> In the implementation of sctp_sf_do_5_2_4_dupcook() the allocated
> new_asoc is leaked if security_sctp_assoc_request() fails. Release it
> via sctp_association_free().
>
> Fixes: 2277c7cd75e3 ("sctp: Add LSM hooks")
> Signed-off-by: Navid Emamdoost <navid.emamdoost@xxxxxxxxx>
Applied, queued for stable, thanks!