Alexei Starovoitov
ca0a096720
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 14:03:50 +01:00
..
2017-11-02 11:10:55 +01:00
2017-11-30 08:40:49 +00:00
2017-11-02 11:10:55 +01:00
2018-01-17 09:45:20 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-08-09 16:28:45 -07:00
2018-01-17 09:45:26 +01:00
2017-05-02 11:46:28 -04:00
2018-01-02 20:31:09 +01:00
2017-11-02 11:10:55 +01:00
2018-01-23 19:58:17 +01:00
2017-11-30 08:40:45 +00:00
2018-01-31 14:03:50 +01:00
2017-08-09 16:57:38 -07:00
2018-01-31 14:03:44 +01:00
2017-11-02 11:10:55 +01:00
2017-10-18 09:12:40 +01:00
2017-11-11 15:45:09 +09:00
2017-06-16 11:48:40 -04:00
2017-08-22 13:40:23 -07:00
2017-11-02 11:10:55 +01:00
2017-11-01 12:19:03 +09:00
2018-01-31 14:03:49 +01:00
2018-01-31 14:03:47 +01:00
2017-11-02 11:10:55 +01:00
2017-07-03 02:31:22 -07:00
2017-12-17 15:07:59 +01:00
2018-01-23 19:58:12 +01:00
2017-12-20 10:10:31 +01:00
2017-07-04 22:35:16 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 10:04:46 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-10-21 01:56:38 +01:00
2018-01-31 14:03:41 +01:00
2017-11-02 11:10:55 +01:00
2018-01-31 14:03:48 +01:00
2017-07-04 22:35:17 +01:00
2017-11-30 08:40:55 +00:00
2017-08-29 15:16:52 -07:00
2018-01-02 20:31:10 +01:00
2017-12-17 15:07:56 +01:00
2017-11-02 11:10:55 +01:00
2017-11-01 12:19:03 +09:00
2017-11-08 14:32:18 +09:00
2018-01-17 09:45:21 +01:00
2017-06-13 11:07:51 +02:00
2017-11-02 11:10:55 +01:00
2018-01-17 09:45:22 +01:00
2018-01-31 14:03:47 +01:00
2017-12-14 09:53:05 +01:00
2017-10-25 10:37:11 +09:00
2017-12-20 10:10:36 +01:00
2017-08-07 14:48:48 -07:00
2018-01-31 14:03:46 +01:00
2018-01-31 14:03:48 +01:00
2017-11-02 10:04:46 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 10:04:46 -07:00
2017-11-02 11:10:55 +01:00
2018-01-31 14:03:41 +01:00
2017-09-20 15:36:18 -07:00
2017-09-04 13:25:20 +02:00
2017-11-02 11:10:55 +01:00
2018-01-31 14:03:49 +01:00
2017-04-16 23:42:49 -05:00