[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190424.144308.1929018924355765004.davem@davemloft.net>
Date: Wed, 24 Apr 2019 14:43:08 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: edumazet@...gle.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com,
ssuryaextr@...il.com
Subject: Re: [PATCH net] ipv4: add sanity checks in ipv4_link_failure()
From: Eric Dumazet <edumazet@...gle.com>
Date: Wed, 24 Apr 2019 08:04:05 -0700
> Before calling __ip_options_compile(), we need to ensure the network
> header is a an IPv4 one, and that it is already pulled in skb->head.
>
> RAW sockets going through a tunnel can end up calling ipv4_link_failure()
> with total garbage in the skb, or arbitrary lengthes.
>
> syzbot report :
...
> Fixes: ed0de45a1008 ("ipv4: recompile ip options in ipv4_link_failure")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied and queued up for -stable.
Thanks for fixing this.
Powered by blists - more mailing lists