Alexei Starovoitov
265d7657c9
bpf: fix 32-bit divide by zero
[ upstream commit 68fda450a7df51cff9e5a4d4a4d9d0d5f2589153 ]
due to some JITs doing if (src_reg == 0) check in 64-bit mode
for div/mod operations mask upper 32-bits of src register
before doing the check
Fixes: 622582786c ("net: filter: x86: internal BPF JIT")
Fixes: 7a12b5031c6b ("sparc64: Add eBPF JIT.")
Reported-by: syzbot+48340bb518e88849e2e3@syzkaller.appspotmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
2018-01-31 12:55:57 +01:00 |
| .. |
|
datagram.c
|
udp: on peeking bad csum, drop packets even if not at head
|
2017-09-20 08:19:53 +02:00 |
|
dev.c
|
net: qdisc_pkt_len_init() should be more robust
|
2018-01-31 12:55:54 +01:00 |
|
dev_addr_lists.c
|
net: fix spelling for synchronized
|
2014-11-18 15:26:32 -05:00 |
|
dev_ioctl.c
|
net: Zero terminate ifr_name in dev_ifname().
|
2017-08-11 08:49:32 -07:00 |
|
devlink.c
|
devlink: add hardware messages tracing facility
|
2016-07-12 14:20:18 -07:00 |
|
drop_monitor.c
|
drop_monitor: consider inserted data in genlmsg_end
|
2017-01-15 13:42:54 +01:00 |
|
dst.c
|
Fix an intermittent pr_emerg warning about lo becoming free.
|
2017-07-05 14:40:14 +02:00 |
|
dst_cache.c
|
net: dst_cache_per_cpu_dst_set() can be static
|
2016-03-18 17:45:08 -04:00 |
|
ethtool.c
|
ethtool: do not print warning for applications using legacy API
|
2018-01-17 09:38:53 +01:00 |
|
fib_rules.c
|
fib_rules: Added NLM_F_EXCL support to fib_nl_newrule
|
2016-06-30 08:23:19 -04:00 |
|
filter.c
|
bpf: fix 32-bit divide by zero
|
2018-01-31 12:55:57 +01:00 |
|
flow.c
|
flowcache: Increase threshold for refusing new allocations
|
2016-11-23 06:37:09 +01:00 |
|
flow_dissector.c
|
flow_dissector: properly cap thoff field
|
2018-01-31 12:55:56 +01:00 |
|
gen_estimator.c
|
net: sched: do not acquire qdisc spinlock in qdisc/class stats dump
|
2016-06-07 16:37:14 -07:00 |
|
gen_stats.c
|
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
|
2016-06-10 11:52:24 -07:00 |
|
hwbm.c
|
net: hwbm: Fix unbalanced spinlock in error case
|
2016-05-25 12:35:09 -07:00 |
|
link_watch.c
|
dev: introduce dev_get_iflink()
|
2015-04-02 14:04:59 -04:00 |
|
lwtunnel.c
|
lwtunnel: Fix oops on state free after encap module unload
|
2017-02-04 09:47:11 +01:00 |
|
Makefile
|
net: add a hardware buffer management helper API
|
2016-03-14 12:19:46 -04:00 |
|
neighbour.c
|
net: Allow neigh contructor functions ability to modify the primary_key
|
2018-01-31 12:55:55 +01:00 |
|
net-procfs.c
|
net: remove NETDEV_TX_LOCKED support
|
2016-04-26 15:53:05 -04:00 |
|
net-sysfs.c
|
net: introduce NETDEV_CHANGE_TX_QUEUE_LEN
|
2016-07-01 05:32:17 -04:00 |
|
net-sysfs.h
|
net: netdev_kobject_init: annotate with __init
|
2014-01-05 20:27:54 -05:00 |
|
net-traces.c
|
net: IPv6 fib lookup tracepoint
|
2015-11-22 11:54:10 -05:00 |
|
net_namespace.c
|
net: Fix double free and memory corruption in get_net_ns_by_id()
|
2018-01-02 20:35:13 +01:00 |
|
netclassid_cgroup.c
|
cgroup, net_cls: iterate the fds of only the tasks which are being migrated
|
2017-03-30 09:41:27 +02:00 |
|
netevent.c
|
netevent: remove automatic variable in register_netevent_notifier()
|
2015-05-31 00:03:21 -07:00 |
|
netpoll.c
|
netpoll: Check for skb->queue_mapping
|
2017-05-03 08:36:36 -07:00 |
|
netprio_cgroup.c
|
core: remove unneded headers for net cgroup controllers.
|
2016-02-17 15:31:27 -05:00 |
|
pktgen.c
|
net: pktgen: remove rcu locking in pktgen_change_name()
|
2016-10-17 10:52:59 -04:00 |
|
ptp_classifier.c
|
ptp: Change ptp_class to a proper bitmask
|
2015-11-03 11:08:22 -05:00 |
|
request_sock.c
|
tcp: restore fastopen operations
|
2015-10-05 03:19:06 -07:00 |
|
rtnetlink.c
|
net: rtnetlink: fix info leak in RTM_GETSTATS call
|
2017-10-12 11:51:23 +02:00 |
|
scm.c
|
unix: correctly track in-flight fds in sending process user_struct
|
2016-02-08 10:30:42 -05:00 |
|
secure_seq.c
|
net: remove a sparse error in secure_dccpv6_sequence_number()
|
2015-05-25 22:55:37 -04:00 |
|
skbuff.c
|
sock: free skb in skb_complete_tx_timestamp on error
|
2018-01-02 20:35:13 +01:00 |
|
sock.c
|
net: call cgroup_sk_alloc() earlier in sk_clone_lock()
|
2017-11-18 11:22:21 +01:00 |
|
sock_diag.c
|
net: core: fix module type in sock_diag_bind
|
2018-01-17 09:38:53 +01:00 |
|
sock_reuseport.c
|
soreuseport: fix initialization race
|
2017-11-18 11:22:22 +01:00 |
|
stream.c
|
net: do not export sk_stream_write_space
|
2016-09-28 20:32:38 -04:00 |
|
sysctl_net_core.c
|
bpf: introduce BPF_JIT_ALWAYS_ON config
|
2018-01-31 12:55:56 +01:00 |
|
timestamping.c
|
net: skb_defer_rx_timestamp should check for phydev before setting up classify
|
2015-07-09 14:17:15 -07:00 |
|
tso.c
|
net: tso: add support for IPv6
|
2015-10-26 22:24:22 -07:00 |
|
utils.c
|
net: the space is required before the open parenthesis '('
|
2016-06-29 05:15:14 -04:00 |