[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161223.121938.1965120330531794672.davem@davemloft.net>
Date: Fri, 23 Dec 2016 12:19:38 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: willemdebruijn.kernel@...il.com
Cc: netdev@...r.kernel.org, njagabar@...udmark.com,
samanthakumar@...gle.com, willemb@...gle.com
Subject: Re: [PATCH net] inet: fix IP(V6)_RECVORIGDSTADDR for udp sockets
From: Willem de Bruijn <willemdebruijn.kernel@...il.com>
Date: Thu, 22 Dec 2016 18:19:16 -0500
> From: Willem de Bruijn <willemb@...gle.com>
>
> Socket cmsg IP(V6)_RECVORIGDSTADDR checks that port range lies within
> the packet. For sockets that have transport headers pulled, transport
> offset can be negative. Use signed comparison to avoid overflow.
>
> Fixes: e6afc8ace6dd ("udp: remove headers from UDP packets before queueing")
> Reported-by: Nisar Jagabar <njagabar@...udmark.com>
> Signed-off-by: Willem de Bruijn <willemb@...gle.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists