ACK: [CVE-2016-9793][trysty, vivid, xenial, yakkety] net: avoid signed overflows for SO_{SND|RCV}BUFFORCE

Steve Beattie sbeattie at ubuntu.com
Mon Dec 12 16:24:20 UTC 2016


On Mon, Dec 12, 2016 at 10:36:17AM +0000, Luis Henriques wrote:
> From: Eric Dumazet <edumazet at google.com>
> 
> CAP_NET_ADMIN users should not be allowed to set negative
> sk_sndbuf or sk_rcvbuf values, as it can lead to various memory
> corruptions, crashes, OOM...
> 
> Note that before commit 82981930125a ("net: cleanups in
> sock_setsockopt()"), the bug was even more serious, since SO_SNDBUF
> and SO_RCVBUF were vulnerable.
> 
> This needs to be backported to all known linux kernels.
> 
> Again, many thanks to syzkaller team for discovering this gem.
> 
> Signed-off-by: Eric Dumazet <edumazet at google.com>
> Reported-by: Andrey Konovalov <andreyknvl at google.com>
> Signed-off-by: David S. Miller <davem at davemloft.net>
> (cherry picked from commit b98b0bc8c431e3ceb4b26b0dfc8db509518fb290)
> CVE-2016-9793
> Signed-off-by: Luis Henriques <luis.henriques at canonical.com>

Acked-by: Steve Beattie <steve.beattie at canonical.com>


-- 
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20161212/99b99cb2/attachment.sig>


More information about the kernel-team mailing list