linux/net/core
Rabin Vincent 229394e8e6 net: bpf: reject invalid shifts
On ARM64, a BUG() is triggered in the eBPF JIT if a filter with a
constant shift that can't be encoded in the immediate field of the
UBFM/SBFM instructions is passed to the JIT.  Since these shifts
amounts, which are negative or >= regsize, are invalid, reject them in
the eBPF verifier and the classic BPF filter checker, for all
architectures.

Signed-off-by: Rabin Vincent <rabin@rab.in>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-01-12 17:06:53 -05:00
..
Makefile
datagram.c
dev.c net, sched: add clsact qdisc 2016-01-10 22:13:15 -05:00
dev_addr_lists.c
dev_ioctl.c
drop_monitor.c
dst.c net: possible use after free in dst_release 2016-01-06 15:00:27 -05:00
ethtool.c
fib_rules.c
filter.c net: bpf: reject invalid shifts 2016-01-12 17:06:53 -05:00
flow.c
flow_dissector.c
gen_estimator.c
gen_stats.c
link_watch.c
lwtunnel.c
neighbour.c
net-procfs.c
net-sysfs.c
net-sysfs.h
net-traces.c
net_namespace.c
netclassid_cgroup.c
netevent.c
netpoll.c
netprio_cgroup.c
pktgen.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-01-11 23:55:43 -05:00
ptp_classifier.c
request_sock.c
rtnetlink.c net/rtnetlink: remove unused sz_idx variable 2016-01-11 00:22:20 -05:00
scm.c
secure_seq.c
skbuff.c
sock.c soreuseport: setsockopt SO_ATTACH_REUSEPORT_[CE]BPF 2016-01-04 22:49:59 -05:00
sock_diag.c
sock_reuseport.c soreuseport: change consume_skb to kfree_skb in error case 2016-01-06 01:30:27 -05:00
stream.c
sysctl_net_core.c
timestamping.c
tso.c
utils.c