[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140721.201726.119337265768368434.davem@davemloft.net>
Date: Mon, 21 Jul 2014 20:17:26 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net] ipv4: fix buffer overflow in ip_options_compile()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 21 Jul 2014 07:17:42 +0200
> From: Eric Dumazet <edumazet@...gle.com>
>
> There is a benign buffer overflow in ip_options_compile spotted by
> AddressSanitizer[1] :
>
> Its benign because we always can access one extra byte in skb->head
> (because header is followed by struct skb_shared_info), and in this case
> this byte is not even used.
...
> [1] https://code.google.com/p/address-sanitizer/wiki/AddressSanitizerForKernel
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Right, should be benign, but I will queue it up to -stable anyways
just to be safe.
Applied, thanks a lot Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists