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: 622582786c9e ("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
..
2016-09-19 20:19:34 +02:00
2017-11-30 08:39:09 +00:00
2018-01-17 09:38:52 +01:00
2016-09-10 21:19:10 -07:00
2016-09-10 21:19:10 -07:00
2017-02-04 09:47:09 +01:00
2016-12-02 10:46:59 +01:00
2018-01-17 09:38:56 +01:00
2018-01-02 20:35:12 +01:00
2017-07-05 14:40:14 +02:00
2018-01-31 12:55:50 +01:00
2017-11-30 08:39:03 +00:00
2018-01-31 12:55:57 +01:00
2016-12-03 23:54:25 -05:00
2018-01-31 12:55:53 +01:00
2017-07-05 14:40:16 +02:00
2017-10-27 10:38:11 +02:00
2017-11-15 15:53:17 +01:00
2017-02-18 15:11:43 +01:00
2016-10-18 10:28:18 -04:00
2017-09-20 08:19:55 +02:00
2018-01-31 12:55:55 +01:00
2018-01-31 12:55:55 +01:00
2017-05-25 15:44:41 +02:00
2017-08-30 10:21:42 +02:00
2017-01-19 20:18:04 +01:00
2017-12-16 16:25:47 +01:00
2018-01-23 19:57:05 +01:00
2017-12-20 10:07:31 +01:00
2016-09-10 23:12:53 -07:00
2016-05-29 22:33:25 -07:00
2017-02-26 11:10:50 +01:00
2018-01-17 09:38:49 +01:00
2016-09-19 20:19:34 +02:00
2017-12-20 10:07:25 +01:00
2016-10-20 11:23:08 -04:00
2018-01-31 12:55:52 +01:00
2016-06-27 15:06:18 -04:00
2018-01-02 20:35:10 +01:00
2017-11-30 08:39:07 +00:00
2017-08-30 10:21:40 +02:00
2017-12-16 16:25:45 +01:00
2017-12-09 22:01:51 +01:00
2018-01-17 09:38:53 +01:00
2016-07-13 11:53:40 -07:00
2017-12-20 10:07:25 +01:00
2018-01-17 09:38:54 +01:00
2018-01-31 12:55:55 +01:00
2017-03-22 12:43:33 +01:00
2018-01-10 09:29:52 +01:00
2016-10-19 10:58:04 -04:00
2018-01-31 12:55:55 +01:00
2017-11-18 11:22:22 +01:00
2017-12-25 14:23:38 +01:00
2017-11-02 09:49:15 +01:00
2016-09-09 18:13:30 -07:00
2017-12-14 09:28:24 +01:00
2017-10-08 10:26:06 +02:00
2016-08-17 19:36:23 -04:00
2016-08-17 19:36:23 -04:00
2018-01-31 12:55:56 +01:00
2016-10-06 09:52:23 -07:00