bisecting fixing commit since 672481c2deffb371d8a7dfdc009e44c09864a869 building syzkaller on af6b8ef8f18c45343685f0ee7af9dd3a4b2b5d95 testing commit 672481c2deffb371d8a7dfdc009e44c09864a869 with gcc (GCC) 8.1.0 kernel signature: e569f70ae777922f51859a1cc3636de097546602ee0b3bc9ad236e1a262ae664 all runs: crashed: WARNING: locking bug in __inet6_bind testing current HEAD 7edd66cf61670d2d0c31f89cb3a247016e489a8a testing commit 7edd66cf61670d2d0c31f89cb3a247016e489a8a with gcc (GCC) 8.1.0 kernel signature: 03524368306c58c80819d1be9bf55cea8c7766b04f41be916b0a8b339fcd3353 run #0: crashed: WARNING: locking bug in __inet6_bind run #1: crashed: WARNING: locking bug in __inet6_bind run #2: crashed: WARNING: locking bug in __inet6_bind run #3: crashed: WARNING: locking bug in __inet6_bind run #4: crashed: WARNING: locking bug in __inet6_bind run #5: crashed: WARNING: locking bug in __inet6_bind run #6: crashed: WARNING: locking bug in __inet6_bind run #7: crashed: WARNING: locking bug in __inet6_bind run #8: OK run #9: OK revisions tested: 2, total time: 34m31.475768343s (build: 17m55.758432937s, test: 15m44.257961113s) the crash still happens on HEAD commit msg: Linux 4.19.118 crash: WARNING: locking bug in __inet6_bind WARNING: CPU: 0 PID: 820 at kernel/locking/lockdep.c:698 arch_local_save_flags arch/x86/include/asm/paravirt.h:784 [inline] WARNING: CPU: 0 PID: 820 at kernel/locking/lockdep.c:698 look_up_lock_class kernel/locking/lockdep.c:689 [inline] WARNING: CPU: 0 PID: 820 at kernel/locking/lockdep.c:698 register_lock_class+0xb95/0x2350 kernel/locking/lockdep.c:748 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 820 Comm: syz-executor.1 Not tainted 4.19.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x123/0x177 lib/dump_stack.c:118 panic+0x1cd/0x375 kernel/panic.c:186 __warn.cold.8+0x1b/0x3e kernel/panic.c:541 report_bug+0x1a4/0x200 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] do_error_trap+0x200/0x350 arch/x86/kernel/traps.c:296 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1037 RIP: 0010:look_up_lock_class kernel/locking/lockdep.c:698 [inline] RIP: 0010:register_lock_class+0xb95/0x2350 kernel/locking/lockdep.c:748 Code: 00 48 89 ca 4d 8b 7e c0 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 53 0f 00 00 4c 89 39 e9 f8 f7 ff ff 0f 0b <0f> 0b e9 da f6 ff ff 49 8d 46 01 4d 69 f6 50 01 00 00 48 89 05 b2 RSP: 0018:ffff88808877f8d0 EFLAGS: 00010087 RAX: 0000000000000004 RBX: ffffffff89d1e530 RCX: ffff88808e4700e0 RDX: 1ffffffff1431d64 RSI: 0000000000000000 RDI: ffff88808e4700f8 RBP: ffff88808877f9b0 R08: 1ffff110110eff25 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000003 R13: 0000000000000000 R14: ffffffff87d06800 R15: ffffffff87bf2400 __lock_acquire+0x160/0x4980 kernel/locking/lockdep.c:3303 lock_acquire+0x173/0x3d0 kernel/locking/lockdep.c:3907 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x31/0x40 kernel/locking/spinlock.c:168 spin_lock_bh include/linux/spinlock.h:334 [inline] lock_sock_nested+0x3a/0x100 net/core/sock.c:2841 lock_sock include/net/sock.h:1506 [inline] __inet6_bind+0x562/0x1760 net/ipv6/af_inet6.c:302 inet6_bind+0xbb/0xfe net/ipv6/af_inet6.c:455 __sys_bind+0x1e1/0x230 net/socket.c:1482 __do_sys_bind net/socket.c:1493 [inline] __se_sys_bind net/socket.c:1491 [inline] __x64_sys_bind+0x6e/0xb0 net/socket.c:1491 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45a919 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fc990fd6c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000031 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a919 RDX: 000000000000001c RSI: 0000000020000000 RDI: 0000000000000003 RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc990fd76d4 R13: 00000000004c0ca5 R14: 00000000004d47d8 R15: 00000000ffffffff Kernel Offset: disabled Rebooting in 86400 seconds..