JP Abgrall
ef08cfe9ce
netfilter: ipv6: fix crash caused by ipv6_find_hdr()
...
When calling:
ipv6_find_hdr(skb, &thoff, -1, NULL)
on a fragmented packet, thoff would be left with a random
value causing callers to read random memory offsets with:
skb_header_pointer(skb, thoff, ...)
Now we force ipv6_find_hdr() to return a failure in this case.
Calling:
ipv6_find_hdr(skb, &thoff, -1, &fragoff)
will set fragoff as expected, and not return a failure.
Change-Id: Ib474e8a4267dd2b300feca325811330329684a88
Signed-off-by: JP Abgrall <jpa@google.com >
2013-07-01 13:40:36 -07:00
..
2013-07-01 13:40:35 -07:00
2013-04-14 15:24:17 -04:00
2013-06-25 16:27:28 -07:00
2013-03-22 10:31:16 -04:00
2013-07-01 13:40:27 -07:00
2013-02-15 15:10:37 -05:00
2013-02-18 14:53:08 -05:00
2013-03-08 12:29:23 -05:00
2013-01-08 12:41:30 +01:00
2013-07-01 13:40:36 -07:00
2012-11-15 17:39:24 -05:00
2013-01-13 20:17:14 -05:00
2012-11-03 14:59:05 -04:00
2013-04-29 15:14:03 -04:00
2013-03-08 12:29:22 -05:00
2013-01-23 13:44:01 -05:00
2013-01-08 17:56:10 -08:00
2013-02-27 19:10:24 -08:00
2013-03-07 16:33:10 -05:00
2013-05-11 17:40:14 -07:00
2013-04-29 13:54:36 -04:00
2013-03-29 14:57:33 -04:00
2013-03-09 16:09:17 -05:00
2012-11-15 17:39:24 -05:00
2013-06-26 15:13:47 -07:00
2013-03-26 12:27:18 -04:00
2013-03-28 14:25:25 -04:00
2012-07-12 00:25:15 -07:00
2013-01-31 13:53:08 -05:00
2013-03-26 12:27:19 -04:00
2013-04-29 13:54:36 -04:00
2013-02-18 14:53:08 -05:00
2012-09-25 16:04:44 -04:00
2013-06-17 22:59:12 -07:00
2013-05-23 11:58:55 +02:00
2012-11-15 17:39:23 -05:00
2013-05-31 16:26:49 -07:00
2012-11-15 17:39:24 -05:00
2013-03-08 12:29:22 -05:00
2013-04-22 20:32:51 -04:00
2013-03-22 10:31:16 -04:00
2013-03-26 12:27:19 -04:00
2013-03-17 14:35:13 -04:00
2012-11-18 20:33:00 -05:00
2013-05-11 16:26:38 -07:00
2012-11-15 17:39:51 -05:00
2012-05-16 01:01:03 -04:00
2013-05-11 16:26:38 -07:00
2013-05-31 17:06:07 -07:00
2013-05-11 16:26:38 -07:00
2013-05-11 16:26:38 -07:00
2010-03-25 16:00:49 +01:00
2012-02-23 16:50:45 -05:00
2008-01-28 14:53:52 -08:00
2007-10-10 16:55:54 -07:00
2013-03-06 07:02:45 +01:00
2012-02-01 02:52:48 -05:00
2013-05-11 17:40:15 -07:00
2012-11-01 12:41:35 -04:00
2013-02-27 19:10:24 -08:00