[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191123182545.2c73268a@cakuba.netronome.com>
Date: Sat, 23 Nov 2019 18:25:45 -0800
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: Navid Emamdoost <navid.emamdoost@...il.com>
Cc: Vlad Yasevich <vyasevich@...il.com>,
Neil Horman <nhorman@...driver.com>,
Marcelo Ricardo Leitner <marcelo.leitner@...il.com>,
"David S. Miller" <davem@...emloft.net>,
linux-sctp@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, emamd001@....edu
Subject: Re: [PATCH] sctp: Fix memory leak in sctp_sf_do_5_2_4_dupcook
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@...il.com>
Applied, queued for stable, thanks!
Powered by blists - more mailing lists