linux_dsm_epyc7002/net/ipv6
Florian Westphal f24e230d25 netfilter: x_tables: don't move to non-existent next rule
Ben Hawkes says:

 In the mark_source_chains function (net/ipv4/netfilter/ip_tables.c) it
 is possible for a user-supplied ipt_entry structure to have a large
 next_offset field. This field is not bounds checked prior to writing a
 counter value at the supplied offset.

Base chains enforce absolute verdict.

User defined chains are supposed to end with an unconditional return,
xtables userspace adds them automatically.

But if such return is missing we will move to non-existent next rule.

Reported-by: Ben Hawkes <hawkes@google.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2016-04-14 00:30:34 +02:00
..
ila rhashtable: accept GFP flags in rhashtable_walk_init 2016-04-05 10:56:32 +02:00
netfilter netfilter: x_tables: don't move to non-existent next rule 2016-04-14 00:30:34 +02:00
addrconf_core.c
addrconf.c
addrlabel.c
af_inet6.c udp: Add GRO functions to UDP socket 2016-04-07 16:53:29 -04:00
ah6.c
anycast.c
datagram.c ipv6: process socket-level control messages in IPv6 2016-04-04 15:50:30 -04:00
esp6.c
exthdrs_core.c
exthdrs_offload.c
exthdrs.c
fib6_rules.c
icmp.c sock: enable timestamping using control messages 2016-04-04 15:50:30 -04:00
inet6_connection_sock.c
inet6_hashtables.c ipv6: fix inet6_lookup_listener() 2016-04-09 16:53:52 -04:00
ip6_checksum.c
ip6_fib.c
ip6_flowlabel.c ipv6: process socket-level control messages in IPv6 2016-04-04 15:50:30 -04:00
ip6_gre.c
ip6_icmp.c
ip6_input.c
ip6_offload.c udp: Add GRO functions to UDP socket 2016-04-07 16:53:29 -04:00
ip6_offload.h udp: Add GRO functions to UDP socket 2016-04-07 16:53:29 -04:00
ip6_output.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-04-09 17:41:41 -04:00
ip6_tunnel.c ip6_tunnel: set rtnl_link_ops before calling register_netdevice 2016-04-05 19:48:51 -04:00
ip6_udp_tunnel.c
ip6_vti.c
ip6mr.c
ipcomp6.c
ipv6_sockglue.c net: introduce lockdep_is_held and update various places to use it 2016-04-07 16:44:14 -04:00
Kconfig
Makefile udp: Add GRO functions to UDP socket 2016-04-07 16:53:29 -04:00
mcast_snoop.c
mcast.c
mip6.c
ndisc.c
netfilter.c
output_core.c
ping.c sock: enable timestamping using control messages 2016-04-04 15:50:30 -04:00
proc.c
protocol.c
raw.c sock: enable timestamping using control messages 2016-04-04 15:50:30 -04:00
reassembly.c
route.c
sit.c tunnels: Remove encapsulation offloads on decap. 2016-03-20 16:33:40 -04:00
syncookies.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2016-03-19 10:05:34 -07:00
sysctl_net_ipv6.c
tcp_ipv6.c net: introduce lockdep_is_held and update various places to use it 2016-04-07 16:44:14 -04:00
tcpv6_offload.c
tunnel6.c
udp_impl.h
udp_offload.c udp: Add GRO functions to UDP socket 2016-04-07 16:53:29 -04:00
udp.c udp: Add udp6_lib_lookup_skb and udp4_lib_lookup_skb 2016-04-07 16:53:14 -04:00
udplite.c
xfrm6_input.c
xfrm6_mode_beet.c
xfrm6_mode_ro.c
xfrm6_mode_transport.c
xfrm6_mode_tunnel.c
xfrm6_output.c
xfrm6_policy.c
xfrm6_protocol.c
xfrm6_state.c
xfrm6_tunnel.c