bisecting fixing commit since 8bac50406cca10a219aa899243d49c57ddaf7c5b building syzkaller on dd56146d2611f7de0fbb7d8db6c016d3dcdc6371 testing commit 8bac50406cca10a219aa899243d49c57ddaf7c5b with gcc (GCC) 8.1.0 kernel signature: 09c907db772b604a0948aa249d640dcdd36818c7c293f7bdfd5a3f45531cc164 run #0: crashed: WARNING in bpf_int_jit_compile run #1: crashed: WARNING in bpf_int_jit_compile run #2: crashed: WARNING in corrupted run #3: crashed: WARNING in bpf_int_jit_compile run #4: crashed: WARNING in bpf_int_jit_compile run #5: crashed: WARNING in bpf_int_jit_compile run #6: crashed: WARNING in bpf_int_jit_compile run #7: crashed: WARNING in bpf_prog_select_runtime run #8: crashed: WARNING in bpf_int_jit_compile run #9: crashed: WARNING in corrupted testing current HEAD 01364dad1d4577e27a57729d41053f661bb8a5b9 testing commit 01364dad1d4577e27a57729d41053f661bb8a5b9 with gcc (GCC) 8.1.0 kernel signature: eb6af12b0dbfed94981d14e06ff740aef5ebcb0d5b2f87a2d46df287593f68ed all runs: crashed: WARNING in bpf_int_jit_compile revisions tested: 2, total time: 23m14.920998883s (build: 16m9.524688107s, test: 6m1.234891784s) the crash still happens on HEAD commit msg: Linux 4.14.174 crash: WARNING in bpf_int_jit_compile RBP: 000000000075bf20 R08: 0000000000000010 R09: 0000000000000000 R10: 0000000020000140 R11: 0000000000000246 R12: 0000000000000004 R13: 0000000000000a17 R14: 00000000004cb794 R15: 0000000000000013 IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready ------------[ cut here ]------------ WARNING: CPU: 0 PID: 7712 at include/linux/filter.h:628 bpf_int_jit_compile+0x55b/0x603 arch/x86/net/bpf_jit_comp.c:1204 IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 7712 Comm: syz-executor.4 Not tainted 4.14.174-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+0xf7/0x13b lib/dump_stack.c:58 panic+0x1b0/0x358 kernel/panic.c:183 __warn.cold.8+0x25/0x2c kernel/panic.c:547 report_bug+0x1a4/0x1f3 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:177 [inline] do_error_trap+0x1bd/0x310 arch/x86/kernel/traps.c:295 IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:314 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:963 RIP: 0010:bpf_jit_binary_lock_ro include/linux/filter.h:628 [inline] RIP: 0010:bpf_int_jit_compile+0x55b/0x603 arch/x86/net/bpf_jit_comp.c:1192 RSP: 0018:ffff8880a88779c0 EFLAGS: 00010282 RAX: 00000000fffffff4 RBX: ffffc90005a56000 RCX: 0000000000000000 RDX: 0000000000000004 RSI: ffff8880a8472b80 RDI: ffffffff89a68c00 RBP: ffff8880a8877ac0 R08: ffff8880a8472ba0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880a8877a98 R13: 0000000000000065 R14: ffff8880a8472300 R15: 0000000000000065 IPv6: ADDRCONF(NETDEV_UP): veth1_macvtap: link is not ready bpf_prog_select_runtime+0xe1/0x5e0 kernel/bpf/core.c:1455 bpf_migrate_filter net/core/filter.c:1060 [inline] bpf_prepare_filter+0x790/0xfe0 net/core/filter.c:1108 device veth0_macvtap entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready __get_filter+0x17e/0x220 net/core/filter.c:1301 sk_attach_filter+0x13/0x60 net/core/filter.c:1316 sock_setsockopt+0x1067/0x1870 net/core/sock.c:927 SYSC_setsockopt net/socket.c:1861 [inline] SyS_setsockopt+0x1bc/0x1f0 net/socket.c:1844 device veth1_macvtap entered promiscuous mode do_syscall_64+0x1c7/0x5b0 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45b349 IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready RSP: 002b:00007f2c94de1c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f2c94de26d4 RCX: 000000000045b349 RDX: 000000000000001a RSI: 0000000000000001 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000010 R09: 0000000000000000 R10: 0000000020000140 R11: 0000000000000246 R12: 0000000000000004 R13: 0000000000000a17 R14: 00000000004cb794 R15: 0000000000000013 Kernel Offset: disabled Rebooting in 86400 seconds..