[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180115.142039.954443479148325017.davem@davemloft.net>
Date: Mon, 15 Jan 2018 14:20:39 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, maloney@...gle.com
Subject: Re: [PATCH net] ipv6: ip6_make_skb() needs to clear cork.base.dst
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 11 Jan 2018 22:31:18 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> In my last patch, I missed fact that cork.base.dst was not initialized
> in ip6_make_skb() :
>
> If ip6_setup_cork() returns an error, we might attempt a dst_release()
> on some random pointer.
>
> Fixes: 862c03ee1deb ("ipv6: fix possible mem leaks in ipv6_make_skb()")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: syzbot <syzkaller@...glegroups.com>
Applied and queued up for -stable, thanks Eric.
Powered by blists - more mailing lists