bisecting fixing commit since f2bc9c908dfe3f56fe4ca4d92e5c5be80963b973 building syzkaller on 618456b4f4f74528ac6b9d709b1870d0e1d70eb2 testing commit f2bc9c908dfe3f56fe4ca4d92e5c5be80963b973 with gcc (GCC) 8.1.0 kernel signature: cb5549be6ffae686033a4c40f5e680b4aeb00cf9cc03ec6d4bb48b4e1985d006 run #0: crashed: WARNING: locking bug in inet_autobind run #1: crashed: WARNING: locking bug in inet_autobind run #2: crashed: WARNING: locking bug in inet_autobind run #3: crashed: WARNING: locking bug in inet_autobind run #4: crashed: WARNING: locking bug in inet_autobind run #5: crashed: WARNING: locking bug in inet_autobind run #6: crashed: WARNING: locking bug in inet_autobind run #7: crashed: WARNING: locking bug in inet_autobind run #8: crashed: WARNING: locking bug in inet_autobind run #9: OK testing current HEAD b74b991fb8b9d642b8fea20d6245c6e19125a305 testing commit b74b991fb8b9d642b8fea20d6245c6e19125a305 with gcc (GCC) 8.1.0 kernel signature: d0188dfcc6ce8088b4a5f95e1cf79f1900a64f47e5f40eb6d10b7b37f455ec22 run #0: crashed: WARNING: locking bug in inet_autobind run #1: crashed: WARNING: locking bug in inet_autobind run #2: crashed: WARNING: locking bug in inet_autobind run #3: crashed: WARNING: locking bug in inet_autobind run #4: crashed: WARNING: locking bug in inet_autobind run #5: crashed: WARNING: locking bug in inet_autobind run #6: crashed: WARNING: locking bug in inet_autobind run #7: crashed: WARNING: locking bug in inet_autobind run #8: crashed: WARNING: locking bug in inet_autobind run #9: OK revisions tested: 2, total time: 32m7.679206542s (build: 11m36.622103482s, test: 19m40.729799567s) the crash still happens on HEAD commit msg: Merge tag 'block-5.6-20200320' of git://git.kernel.dk/linux-block crash: WARNING: locking bug in inet_autobind ------------[ cut here ]------------ WARNING: CPU: 0 PID: 21505 at kernel/locking/lockdep.c:840 look_up_lock_class kernel/locking/lockdep.c:839 [inline] WARNING: CPU: 0 PID: 21505 at kernel/locking/lockdep.c:840 register_lock_class+0x296/0x22d0 kernel/locking/lockdep.c:1184 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 21505 Comm: syz-executor.5 Not tainted 5.6.0-rc6-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+0x12d/0x187 lib/dump_stack.c:118 panic+0x22a/0x4f5 kernel/panic.c:221 __warn.cold.10+0x25/0x28 kernel/panic.c:582 report_bug+0x1b0/0x270 lib/bug.c:195 fixup_bug arch/x86/kernel/traps.c:174 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:267 do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:286 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1027 RIP: 0010:look_up_lock_class kernel/locking/lockdep.c:839 [inline] RIP: 0010:register_lock_class+0x296/0x22d0 kernel/locking/lockdep.c:1184 Code: 45 ae 08 74 27 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 80 3c 02 00 0f 85 b7 16 00 00 49 81 3c 24 a0 eb 58 89 74 02 <0f> 0b 45 85 c0 0f 84 67 03 00 00 41 83 e1 01 0f 85 5d 03 00 00 41 RSP: 0018:ffff888092587a58 EFLAGS: 00010002 RAX: dffffc0000000000 RBX: ffffffff89cdd610 RCX: 1ffff110124b0f55 RDX: 1ffff11012e6c90c RSI: 1ffffffff14024ec RDI: ffff888097364878 RBP: ffff888092587b30 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: ffff8880980da440 R12: ffff888097364860 R13: 0000000000000003 R14: 0000000000000000 R15: ffffffff87cb1700 __lock_acquire+0xff/0x4ef0 kernel/locking/lockdep.c:3836 lock_acquire+0x194/0x410 kernel/locking/lockdep.c:4484 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x31/0x40 kernel/locking/spinlock.c:175 spin_lock_bh include/linux/spinlock.h:343 [inline] lock_sock_nested+0x3a/0x100 net/core/sock.c:2939 lock_sock include/net/sock.h:1541 [inline] inet_autobind+0x13/0x160 net/ipv4/af_inet.c:179 inet_dgram_connect+0x1e8/0x280 net/ipv4/af_inet.c:569 __sys_connect_file+0x139/0x1a0 net/socket.c:1859 __sys_connect+0x104/0x140 net/socket.c:1876 __do_sys_connect net/socket.c:1887 [inline] __se_sys_connect net/socket.c:1884 [inline] __x64_sys_connect+0x6e/0xb0 net/socket.c:1884 do_syscall_64+0xd0/0x630 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458da9 Code: ad b8 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 b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fab9fae5c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458da9 RDX: 000000000000001c RSI: 0000000020000080 RDI: 0000000000000007 RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fab9fae66d4 R13: 00000000004bf1f1 R14: 00000000004d02c0 R15: 00000000ffffffff Kernel Offset: disabled Rebooting in 86400 seconds..