mbox series

[D,E,F,SRU,0/1] Fix for CVE-2019-19050

Message ID 20191202045228.22028-1-po-hsu.lin@canonical.com
Headers show
Series Fix for CVE-2019-19050 | expand

Message

Po-Hsu Lin Dec. 2, 2019, 4:52 a.m. UTC
From the commit message:
In crypto_reportstat, a new skb is created by nlmsg_new(). This skb is
leaked if crypto_reportstat_alg() fails. Required release for skb is
added.

This patch can be cherry-picked into D/E/F.
Kernel test build and boot test OK.

Navid Emamdoost (1):
  crypto: user - fix memory leak in crypto_reportstat

 crypto/crypto_user_stat.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Seth Forshee Dec. 6, 2019, 4:40 a.m. UTC | #1
On Mon, Dec 02, 2019 at 12:52:27PM +0800, Po-Hsu Lin wrote:
> From the commit message:
> In crypto_reportstat, a new skb is created by nlmsg_new(). This skb is
> leaked if crypto_reportstat_alg() fails. Required release for skb is
> added.
> 
> This patch can be cherry-picked into D/E/F.
> Kernel test build and boot test OK.

Acked-by: Seth Forshee <seth.forshee@canonical.com>

Applied to unstable/master, thanks!
Kleber Sacilotto de Souza Dec. 10, 2019, 2:35 p.m. UTC | #2
On 2019-12-02 05:52, Po-Hsu Lin wrote:
> From the commit message:
> In crypto_reportstat, a new skb is created by nlmsg_new(). This skb is
> leaked if crypto_reportstat_alg() fails. Required release for skb is
> added.
> 
> This patch can be cherry-picked into D/E/F.
> Kernel test build and boot test OK.
> 
> Navid Emamdoost (1):
>   crypto: user - fix memory leak in crypto_reportstat
> 
>  crypto/crypto_user_stat.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 

Applied to disco and eoan master-next branches.

Thanks,
Kleber