Eric Dumazet
fbfa743a9d
ipv6: fix ip6_tnl_parse_tlv_enc_lim()
...
This function suffers from multiple issues.
First one is that pskb_may_pull() may reallocate skb->head,
so the 'raw' pointer needs either to be reloaded or not used at all.
Second issue is that NEXTHDR_DEST handling does not validate
that the options are present in skb->data, so we might read
garbage or access non existent memory.
With help from Willem de Bruijn.
Signed-off-by: Eric Dumazet <edumazet@google.com >
Reported-by: Dmitry Vyukov <dvyukov@google.com >
Cc: Willem de Bruijn <willemb@google.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2017-01-24 14:53:24 -05:00
..
2016-09-19 20:19:34 +02:00
2016-09-23 13:47:44 -04:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-09-10 21:19:10 -07:00
2016-12-28 15:11:32 -05:00
2017-01-16 14:39:58 -05:00
2016-12-06 21:33:19 -05:00
2016-12-16 10:24:44 -08:00
2017-01-20 15:07:27 -05:00
2016-12-06 21:33:19 -05:00
2016-12-25 17:21:22 +01:00
2016-12-14 22:39:08 +01:00
2017-01-18 17:07:14 -05:00
2016-12-03 23:54:25 -05:00
2016-12-03 12:29:53 -05:00
2016-12-24 11:46:01 -08:00
2016-04-11 22:37:37 +01:00
2017-01-23 15:43:35 -05:00
2016-11-07 20:15:55 -05:00
2016-10-30 12:42:58 -04:00
2016-12-16 00:13:43 +02:00
2017-01-19 11:35:26 -05:00
2017-01-24 14:53:24 -05:00
2016-12-25 17:21:22 +01:00
2016-12-24 11:46:01 -08:00
2017-01-10 21:08:29 -05:00
2016-10-07 15:36:58 -07:00
2016-11-18 10:59:15 -05:00
2017-01-01 22:07:20 -05:00
2016-09-10 23:12:53 -07:00
2016-12-24 11:46:01 -08:00
2016-11-14 13:17:21 -05:00
2017-01-24 16:31:54 +01:00
2016-12-25 17:21:22 +01:00
2017-01-23 12:48:14 -05:00
2016-10-20 11:23:08 -04:00
2017-01-05 11:49:57 -05:00
2017-01-06 22:20:45 -05:00
2016-12-24 11:46:01 -08:00
2015-06-18 21:14:32 +02:00
2016-10-27 16:16:09 -04:00
2017-01-15 22:15:16 -05:00
2017-01-20 11:01:17 -05:00
2016-11-18 10:59:15 -05:00
2017-01-10 20:45:04 -05:00
2016-12-20 14:22:49 -05:00
2016-04-05 10:48:53 +02:00
2016-12-24 11:46:01 -08:00
2016-12-14 16:04:10 -08:00
2017-01-16 19:43:19 -05:00
2017-01-20 11:29:43 -05:00
2016-10-12 01:51:49 -04:00
2017-01-12 16:14:47 -05:00
2016-10-30 12:42:58 -04:00
2017-01-16 13:31:53 -05:00
2017-01-24 14:30:56 -05:00
2016-12-17 20:17:04 -08:00
2016-10-27 16:16:09 -04:00
2017-01-11 16:34:25 +01:00
2016-12-24 11:46:01 -08:00
2016-12-25 17:21:22 +01:00
2016-12-24 11:46:01 -08:00
2017-01-11 09:47:10 -05:00
2016-08-17 19:36:23 -04:00
2017-01-10 11:29:50 -05:00
2016-10-06 09:52:23 -07:00