bisecting fixing commit since f2bc9c908dfe3f56fe4ca4d92e5c5be80963b973 building syzkaller on 618456b4f4f74528ac6b9d709b1870d0e1d70eb2 testing commit f2bc9c908dfe3f56fe4ca4d92e5c5be80963b973 with gcc (GCC) 8.1.0 kernel signature: e1a4e4f162ab23e6d551571f191e4dc527cbac36d913bfb3e427a48a3ce1496c all runs: crashed: WARNING: locking bug in inet_autobind testing current HEAD b85051e755b0e9d6dd8f17ef1da083851b83287d testing commit b85051e755b0e9d6dd8f17ef1da083851b83287d with gcc (GCC) 8.1.0 kernel signature: 0f5b48efb121f1d35c998d7ea93c80f19714ca950e79210a21fd904d489641d2 all runs: crashed: WARNING: locking bug in inet_autobind revisions tested: 2, total time: 21m57.81262867s (build: 11m21.483220803s, test: 9m46.328658663s) the crash still happens on HEAD commit msg: Merge tag 'fixes-for-5.7-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux crash: WARNING: locking bug in inet_autobind ------------[ cut here ]------------ WARNING: CPU: 1 PID: 30831 at kernel/locking/lockdep.c:873 look_up_lock_class kernel/locking/lockdep.c:872 [inline] WARNING: CPU: 1 PID: 30831 at kernel/locking/lockdep.c:873 register_lock_class+0x260/0x2080 kernel/locking/lockdep.c:1220 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 30831 Comm: syz-executor.5 Not tainted 5.7.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:175 [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:872 [inline] RIP: 0010:register_lock_class+0x260/0x2080 kernel/locking/lockdep.c:1220 Code: 3b 75 18 74 27 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 80 3c 02 00 0f 85 7c 14 00 00 49 81 7d 00 40 ac 7c 89 74 02 <0f> 0b 45 85 c0 0f 84 cd 02 00 00 41 83 e1 01 0f 85 c3 02 00 00 41 RSP: 0018:ffff88808f1ff9d8 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: ffffffff89f21128 RCX: 1ffff11011e3ff45 RDX: 1ffff1101410281c RSI: ffffffff89ed6908 RDI: ffff8880a08140f8 RBP: ffff88808f1ffab0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: fffffbfff128d3e0 R12: ffffffff8a25e8a0 R13: ffff8880a08140e0 R14: ffffffff87db9960 R15: ffff88808f1ffa88 __lock_acquire+0xfd/0x3bf0 kernel/locking/lockdep.c:4234 lock_acquire+0x209/0x9e0 kernel/locking/lockdep.c:4934 __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:358 [inline] lock_sock_nested+0x3a/0x100 net/core/sock.c:2958 lock_sock include/net/sock.h:1574 [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+0x13f/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:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 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:00007f9392246c78 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: 00007f93922476d4 R13: 00000000004bf1f1 R14: 00000000004d02c0 R15: 00000000ffffffff Kernel Offset: disabled Rebooting in 86400 seconds..