Haishuang Yan
01f5bffad5
ip6_tunnel: fix possible use-after-free on xmit
...
ip4ip6/ip6ip6 tunnels run iptunnel_handle_offloads on xmit which
can cause a possible use-after-free accessing iph/ipv6h pointer
since the packet will be 'uncloned' running pskb_expand_head if
it is a cloned gso skb.
Fixes: 0e9a709560db ("ip6_tunnel, ip6_gre: fix setting of DSCP on encapsulated packets")
Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-07-26 14:17:44 -07:00
..
2019-07-06 12:50:01 +02:00
2019-07-12 17:31:19 -07:00
2019-06-19 17:09:55 +02:00
2019-06-22 08:59:24 -04:00
2019-06-05 17:37:10 +02:00
2019-05-30 11:26:32 -07:00
2019-06-16 14:22:37 -07:00
2019-07-08 19:48:57 -07:00
2019-07-11 10:55:49 -07:00
2019-05-30 11:29:53 -07:00
2019-07-12 16:03:16 -07:00
2019-07-19 18:08:14 +02:00
2019-05-30 11:29:22 -07:00
2019-07-24 11:19:03 +02:00
2019-07-18 11:05:25 -07:00
2019-07-25 17:35:03 -07:00
2019-05-30 11:29:52 -07:00
2019-07-18 17:08:07 -07:00
2019-05-24 17:36:42 +02:00
2019-07-10 18:43:43 -07:00
2019-07-19 21:27:45 -07:00
2019-06-07 11:00:14 -07:00
2019-07-11 14:37:45 -07:00
2019-06-19 11:37:47 -04:00
2019-05-21 10:50:46 +02:00
2019-07-25 17:35:03 -07:00
2019-07-26 14:17:44 -07:00
2019-06-19 16:26:33 -04:00
2019-06-19 17:09:55 +02:00
2019-07-08 19:48:57 -07:00
2019-07-08 19:38:03 -07:00
2019-06-23 13:24:17 -07:00
2019-06-17 20:20:36 -07:00
2019-06-05 17:36:36 +02:00
2019-07-20 21:40:32 +02:00
2019-05-30 11:26:41 -07:00
2019-07-18 17:08:07 -07:00
2019-05-30 11:26:32 -07:00
2019-07-19 21:27:45 -07:00
2019-05-21 11:28:45 +02:00
2019-06-14 19:50:33 -07:00
2019-07-24 15:49:05 -07:00
2019-07-08 12:46:24 -07:00
2019-06-19 17:09:55 +02:00
2019-07-24 15:45:11 -07:00
2019-06-27 21:06:39 -07:00
2019-06-05 17:37:07 +02:00
2019-06-19 17:09:55 +02:00
2019-06-05 17:36:37 +02:00
2019-07-19 10:06:06 -07:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2019-07-18 17:08:07 -07:00
2019-07-25 11:21:39 -07:00
2019-07-19 10:06:06 -07:00
2019-06-27 21:06:39 -07:00
2019-06-22 08:59:24 -04:00
2019-07-19 10:42:02 -07:00
2019-05-30 11:26:32 -07:00
2019-07-21 11:41:01 -07:00
2019-07-22 16:04:17 +02:00
2019-06-07 11:00:14 -07:00
2019-07-08 15:35:17 -07:00
2019-06-05 17:30:29 +02:00
2019-07-15 20:44:49 -07:00
2019-05-24 17:27:12 +02:00
2019-07-12 15:02:21 +02:00
2019-07-08 19:48:57 -07:00
2019-05-31 15:30:03 -06:00
2019-06-17 13:56:26 -07:00
2019-02-28 08:24:23 -07:00
2019-07-19 10:42:02 -07:00
2019-05-21 10:50:45 +02:00