[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170719.225051.645203803095342.davem@davemloft.net>
Date: Wed, 19 Jul 2017 22:50:51 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: sd@...asysnail.net
Cc: netdev@...r.kernel.org, hannes@...essinduktion.org
Subject: Re: [PATCH net] ipv6: avoid overflow of offset in
ip6_find_1stfragopt
From: Sabrina Dubroca <sd@...asysnail.net>
Date: Wed, 19 Jul 2017 22:28:55 +0200
> In some cases, offset can overflow and can cause an infinite loop in
> ip6_find_1stfragopt(). Make it unsigned int to prevent the overflow, and
> cap it at IPV6_MAXPLEN, since packets larger than that should be invalid.
>
> This problem has been here since before the beginning of git history.
>
> Signed-off-by: Sabrina Dubroca <sd@...asysnail.net>
> Acked-by: Hannes Frederic Sowa <hannes@...essinduktion.org>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists