JP Abgrall
01c475ac39
ANDROID: 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>
2017-07-17 10:27:40 +05:30
..
2017-06-15 11:59:32 -04:00
2017-06-30 06:27:09 -07:00
2017-06-09 12:26:07 -04:00
2017-07-04 01:29:04 -07:00
2017-07-04 01:29:04 -07:00
2017-07-17 10:27:40 +05:30
2017-06-23 14:17:31 -04:00
2017-07-04 01:29:04 -07:00
2017-07-04 22:35:16 +01:00
2017-07-01 07:39:08 -07:00
2017-06-22 10:49:14 +02:00
2017-07-01 07:39:08 -07:00
2017-07-17 10:27:40 +05:30
2017-07-04 01:29:03 -07:00
2017-06-20 15:34:02 -04:00
2017-05-21 13:42:36 -04:00
2017-06-14 15:33:58 -04:00
2017-01-28 10:33:06 -05:00
2017-07-01 07:39:08 -07:00
2016-06-14 15:26:42 -04:00
2017-07-06 10:48:01 +01:00
2016-12-24 11:46:01 -08:00
2017-06-26 23:13:22 -04:00
2016-06-18 22:11:38 -07:00
2017-04-20 10:35:33 -04:00
2017-06-04 21:41:10 -04:00
2017-07-01 07:39:08 -07:00
2017-06-26 23:13:22 -04:00
2016-11-02 15:18:36 -04:00
2017-06-26 23:13:22 -04:00
2017-06-21 11:22:53 -04:00
2016-11-04 14:45:23 -04:00
2017-07-05 16:05:24 -07:00
2017-03-27 16:05:06 -07:00
2017-02-15 11:04:11 +01:00
2017-07-04 01:29:04 -07:00
2016-12-25 17:21:23 +01:00
2017-06-16 11:48:39 -04:00
2016-11-04 14:45:23 -04:00
2017-05-17 14:55:59 -04:00
2017-06-04 22:56:55 -04:00
2017-06-12 09:53:14 -04:00
2017-03-24 13:17:07 -07:00
2017-06-04 22:56:55 -04:00
2016-11-03 15:41:11 -04:00
2017-07-06 10:48:01 +01:00
2017-02-07 16:29:30 -05:00
2017-05-30 11:55:32 -04:00
2017-05-21 13:42:36 -04:00
2017-06-30 12:43:08 -04:00
2017-07-01 07:39:07 -07:00
2016-06-27 15:06:17 -04:00
2017-07-01 07:39:08 -07:00
2017-05-18 10:23:33 -04:00
2017-05-17 22:54:11 -04:00
2017-07-01 07:39:08 -07:00
2016-11-24 15:32:14 -05:00
2017-06-22 10:49:14 +02:00
2017-06-16 11:48:39 -04:00
2017-06-02 13:57:27 -04:00
2017-06-02 13:57:27 -04:00
2017-04-14 10:07:39 +02:00
2017-04-14 10:06:10 +02:00
2017-02-09 10:22:19 +01:00
2017-02-09 10:22:17 +01:00
2017-07-04 01:29:04 -07:00