[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180518.134838.419746174150358098.davem@davemloft.net>
Date: Fri, 18 May 2018 13:48:38 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: edumazet@...gle.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com, kraig@...gle.com
Subject: Re: [PATCH net] sock_diag: fix use-after-free read in __sk_free
From: Eric Dumazet <edumazet@...gle.com>
Date: Fri, 18 May 2018 04:47:55 -0700
> We must not call sock_diag_has_destroy_listeners(sk) on a socket
> that has no reference on net structure.
...
> Fixes: b922622ec6ef ("sock_diag: don't broadcast kernel sockets")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Cc: Craig Gallek <kraig@...gle.com>
> Reported-by: syzbot <syzkaller@...glegroups.com>
Applied and queued up for -stable, thanks Eric.
Powered by blists - more mailing lists