syzbot


WARNING in bpf_int_jit_compile

Status: upstream: reported C repro on 2020/01/27 04:29
Reported-by: syzbot+bd8e8f1508f8ee689fa9@syzkaller.appspotmail.com
First crash: 1605d, last: 1191d
Fix bisection the fix commit could be any of (bisect log):
  8bac50406cca Linux 4.14.167
  4139fb08c05f Linux 4.14.187
  
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in bpf_int_jit_compile bpf net syz 11 2179d 2215d 8/27 fixed on 2018/07/09 18:05
Last patch testing requests (10)
Created Duration User Patch Repo Result
2023/02/06 16:32 14m retest repro linux-4.14.y report log
2023/02/06 15:32 11m retest repro linux-4.14.y report log
2023/02/06 14:32 10m retest repro linux-4.14.y report log
2023/02/06 13:32 12m retest repro linux-4.14.y report log
2023/02/06 12:32 13m retest repro linux-4.14.y report log
2022/09/16 02:29 9m retest repro linux-4.14.y report log
2022/09/16 01:29 9m retest repro linux-4.14.y report log
2022/09/16 00:29 9m retest repro linux-4.14.y report log
2022/09/15 23:29 9m retest repro linux-4.14.y report log
2022/09/15 22:29 9m retest repro linux-4.14.y report log
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2020/06/25 10:23 30m (4) bisect fix linux-4.14.y job log (2)
2020/05/26 09:43 23m bisect fix linux-4.14.y job log (0) log
2020/04/26 09:18 24m bisect fix linux-4.14.y job log (0) log
2020/03/27 08:55 23m bisect fix linux-4.14.y job log (0) log
2020/02/26 05:00 24m bisect fix linux-4.14.y job log (0) log

Sample crash report:
RBP: 00007fff43092060 R08: 0000000000000010 R09: 00000000bb1414ac
R10: 0000000020ab9ff0 R11: 0000000000000246 R12: 00007fff43092090
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
------------[ cut here ]------------
WARNING: CPU: 1 PID: 8024 at include/linux/filter.h:628 bpf_jit_binary_lock_ro include/linux/filter.h:628 [inline]
WARNING: CPU: 1 PID: 8024 at include/linux/filter.h:628 bpf_int_jit_compile+0x50f/0x5fe arch/x86/net/bpf_jit_comp.c:1204
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 8024 Comm: syz-executor594 Not tainted 4.14.210-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x283 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x20/0x4b kernel/panic.c:547
 report_bug+0x208/0x249 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:bpf_jit_binary_lock_ro include/linux/filter.h:628 [inline]
RIP: 0010:bpf_int_jit_compile+0x50f/0x5fe arch/x86/net/bpf_jit_comp.c:1204
RSP: 0018:ffff8880959d7b38 EFLAGS: 00010297
RAX: ffff8880b3586300 RBX: ffff8880b3586300 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff8880b3586b88 RDI: 0000000000000001
RBP: 000000000000005a R08: ffffffff8b9c6c90 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 00007ffffffff000
R13: ffffc900019c7000 R14: ffff8880aa887080 R15: ffff8880959d7ba0
 bpf_prog_select_runtime+0xdf/0x4e0 kernel/bpf/core.c:1455
 bpf_migrate_filter+0x242/0x2d0 net/core/filter.c:1060
 bpf_prepare_filter+0x14c/0x320 net/core/filter.c:1108
 __get_filter+0x196/0x240 net/core/filter.c:1301
 sk_attach_filter+0x1b/0x140 net/core/filter.c:1316
 sock_setsockopt+0x119a/0x1a50 net/core/sock.c:927
 SYSC_setsockopt net/socket.c:1861 [inline]
 SyS_setsockopt+0x1a4/0x1e0 net/socket.c:1844
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x443f49
RSP: 002b:00007fff43092048 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000443f49
RDX: 000000000000001a RSI: 0000000000000001 RDI: 0000000000000005
RBP: 00007fff43092060 R08: 0000000000000010 R09: 00000000bb1414ac
R10: 0000000020ab9ff0 R11: 0000000000000246 R12: 00007fff43092090
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/12/03 15:37 linux-4.14.y c196b3a9c83a 59ad4022 .config console log report syz C ci2-linux-4-14
2020/10/29 19:11 linux-4.14.y 2b7915014161 a0c7169a .config console log report syz C ci2-linux-4-14
2020/07/14 04:26 linux-4.14.y b850307b279c ce4c95b3 .config console log report syz C ci2-linux-4-14
2020/01/27 04:44 linux-4.14.y 8bac50406cca dd56146d .config console log report syz C ci2-linux-4-14
2021/01/24 12:42 linux-4.14.y 2d2791fce891 52e37319 .config console log report syz ci2-linux-4-14 WARNING in bpf_int_jit_compile
2021/03/16 05:23 linux-4.14.y c7150cd2fa8c fdb2bb2c .config console log report info ci2-linux-4-14 WARNING in bpf_int_jit_compile
2020/01/27 04:28 linux-4.14.y 8bac50406cca dd56146d .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.