Ghalem Boudour
e895140826
xfrm: fix policy lookup for ipv6 gre packets
...
commit bcf141b2eb551b3477b24997ebc09c65f117a803 upstream.
On egress side, xfrm lookup is called from __gre6_xmit() with the
fl6_gre_key field not initialized leading to policies selectors check
failure. Consequently, gre packets are sent without encryption.
On ingress side, INET6_PROTO_NOPOLICY was set, thus packets were not
checked against xfrm policies. Like for egress side, fl6_gre_key should be
correctly set, this is now done in decode_session6().
Fixes: c12b395a46 ("gre: Support GRE over IPv6")
Cc: [email protected]
Signed-off-by: Ghalem Boudour <[email protected] >
Signed-off-by: Nicolas Dichtel <[email protected] >
Signed-off-by: Steffen Klassert <[email protected] >
Signed-off-by: Greg Kroah-Hartman <[email protected] >
2022-01-27 09:19:50 +01:00
..
ila
netfilter
netfilter: ip6_tables: zero-initialize fragment offset
2021-10-17 10:42:33 +02:00
addrconf.c
gre/sit: Don't generate link-local addr if addr_gen_mode is IN6_ADDR_GEN_MODE_NONE
2021-11-17 09:48:32 +01:00
addrconf_core.c
addrlabel.c
af_inet6.c
net: ipv6: add fib6_nh_release_dsts stub
2021-12-01 09:23:33 +01:00
ah6.c
anycast.c
calipso.c
cipso,calipso: resolve a number of problems with the DOI refcounts
2021-03-17 17:03:35 +01:00
datagram.c
esp6.c
xfrm: xfrm_state_mtu should return at least 1280 for ipv6
2021-07-14 16:53:26 +02:00
esp6_offload.c
esp: delete NETIF_F_SCTP_CRC bit from features for esp offload
2021-04-14 08:24:13 +02:00
exthdrs.c
ipv6: fix out-of-bound access in ip6_parse_tlv()
2021-07-14 16:53:33 +02:00
exthdrs_core.c
exthdrs_offload.c
fib6_notifier.c
fib6_rules.c
ipv6: fix memory leak in fib6_rule_suppress
2021-12-08 09:01:13 +01:00
fou6.c
icmp.c
net: icmp: pass zeroed opts from icmp{,v6}_ndo_send before sending
2021-03-04 10:26:53 +01:00
inet6_connection_sock.c
inet6_hashtables.c
net: prefer socket bound to interface when not in VRF
2021-10-13 10:08:20 +02:00
ip6_checksum.c
ip6_fib.c
ipv6: delay fib6_sernum increase in fib6_add
2021-09-30 10:09:24 +02:00
ip6_flowlabel.c
ip6_gre.c
xfrm: fix policy lookup for ipv6 gre packets
2022-01-27 09:19:50 +01:00
ip6_icmp.c
net: icmp: pass zeroed opts from icmp{,v6}_ndo_send before sending
2021-03-04 10:26:53 +01:00
ip6_input.c
ipv6: weaken the v4mapped source check
2021-04-07 14:47:38 +02:00
ip6_offload.c
ip6_offload.h
ip6_output.c
ipv6: fix typos in __ip6_finish_output()
2021-12-01 09:23:32 +01:00
ip6_tunnel.c
ipv6: remove extra dev_hold() for fallback tunnels
2021-05-22 11:38:30 +02:00
ip6_udp_tunnel.c
ip6_vti.c
ip6_vti: initialize __ip6_tnl_parm struct in vti6_siocdevprivate
2022-01-11 15:23:33 +01:00
ip6mr.c
ipcomp6.c
ipv6_sockglue.c
Kconfig
Makefile
mcast.c
mld: fix panic in mld_newpack()
2021-06-03 08:59:14 +02:00
mcast_snoop.c
net: bridge: mcast: fix broken length + header check for MRDv6 Adv.
2021-05-14 09:44:32 +02:00
mip6.c
ndisc.c
netfilter.c
output_core.c
ipv6: use prandom_u32() for ID generation
2021-07-19 08:53:09 +02:00
ping.c
proc.c
protocol.c
raw.c
net-ipv6: bugfix - raw & sctp - switch to ipv6_can_nonlocal_bind()
2021-04-14 08:24:12 +02:00
reassembly.c
ipv6: record frag_max_size in atomic fragments in input path
2021-06-03 08:59:15 +02:00
route.c
ipv6: Do cleanup if attribute validation fails in multipath route
2022-01-11 15:23:33 +01:00
seg6.c
seg6_hmac.c
seg6_iptunnel.c
seg6: fix the iif in the IPv6 socket control block
2021-12-14 14:49:00 +01:00
seg6_local.c
sit.c
sit: do not call ipip6_dev_free() from sit_init_net()
2021-12-22 09:29:38 +01:00
syncookies.c
sysctl_net_ipv6.c
tcp_ipv6.c
ipv6: tcp: drop silly ICMPv6 packet too big messages
2021-07-25 14:35:15 +02:00
tcpv6_offload.c
tunnel6.c
udp.c
udp: using datalen to cap ipv6 udp max gso segments
2022-01-05 12:37:44 +01:00
udp_impl.h
udp_offload.c
udplite.c
xfrm6_input.c
xfrm6_output.c
net: ipv6: fix return value of ip6_skb_dst_mtu
2021-07-25 14:35:14 +02:00
xfrm6_policy.c
xfrm6_protocol.c
xfrm6_state.c
xfrm6_tunnel.c