bisecting fixing commit since f2bc9c908dfe3f56fe4ca4d92e5c5be80963b973 building syzkaller on 618456b4f4f74528ac6b9d709b1870d0e1d70eb2 testing commit f2bc9c908dfe3f56fe4ca4d92e5c5be80963b973 with gcc (GCC) 8.1.0 kernel signature: 1ab03dd7ee772dfefdd3e3f7a58048cb4370e7f06a9b0fd822472158ee8fe3a1 all runs: crashed: WARNING: locking bug in inet_autobind testing current HEAD b5fc7a89e58bcc059a3d5e4db79c481fb437de59 testing commit b5fc7a89e58bcc059a3d5e4db79c481fb437de59 with gcc (GCC) 8.1.0 kernel signature: 352499ab95a444ddc90d896b9b167e8b9a2e6ab7a962da7dfc18a449f25c045e all runs: crashed: WARNING: locking bug in inet_autobind revisions tested: 2, total time: 18m47.454561556s (build: 10m38.491329983s, test: 7m9.765138859s) the crash still happens on HEAD commit msg: Merge tag 'overflow-v5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux crash: WARNING: locking bug in inet_autobind ------------[ cut here ]------------ WARNING: CPU: 1 PID: 11437 at kernel/locking/lockdep.c:893 look_up_lock_class kernel/locking/lockdep.c:892 [inline] WARNING: CPU: 1 PID: 11437 at kernel/locking/lockdep.c:893 register_lock_class+0xb3/0x580 kernel/locking/lockdep.c:1240 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 11437 Comm: syz-executor.5 Not tainted 5.9.0-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+0xa9/0xd1 lib/dump_stack.c:118 panic+0x135/0x32c kernel/panic.c:231 __warn.cold.13+0x20/0x20 kernel/panic.c:600 report_bug+0xc5/0x100 lib/bug.c:198 handle_bug+0x39/0xa0 arch/x86/kernel/traps.c:234 exc_invalid_op+0x18/0x70 arch/x86/kernel/traps.c:254 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:536 RIP: 0010:look_up_lock_class kernel/locking/lockdep.c:892 [inline] RIP: 0010:register_lock_class+0xb3/0x580 kernel/locking/lockdep.c:1240 Code: 00 00 4d 8b 36 4d 85 f6 0f 84 1c 01 00 00 49 3b 56 40 75 ee 49 8b 47 18 49 39 86 b0 00 00 00 74 0b 49 81 3f 20 9e 73 84 74 02 <0f> 0b 45 85 e4 74 48 83 e3 01 75 43 41 83 fc 01 77 04 4d 89 77 10 RSP: 0018:ffffc900032c7bf8 EFLAGS: 00010002 RAX: ffffffff83da879e RBX: 0000000000000000 RCX: 0000000000000671 RDX: ffffffff854bd240 RSI: 0000000000000000 RDI: ffffffff854bd240 RBP: ffffc900032c7c68 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff84e924e0 R15: ffff8881298c01a0 __lock_acquire+0x75/0x17d0 kernel/locking/lockdep.c:4716 lock_acquire+0xf9/0x410 kernel/locking/lockdep.c:5442 __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:359 [inline] lock_sock_nested+0x31/0xa0 net/core/sock.c:3048 lock_sock include/net/sock.h:1583 [inline] inet_autobind+0xf/0x60 net/ipv4/af_inet.c:180 inet_dgram_connect+0x84/0xa0 net/ipv4/af_inet.c:575 __sys_connect_file+0x5f/0x70 net/socket.c:1852 __sys_connect+0x97/0xd0 net/socket.c:1869 __do_sys_connect net/socket.c:1879 [inline] __se_sys_connect net/socket.c:1876 [inline] __x64_sys_connect+0x15/0x20 net/socket.c:1876 do_syscall_64+0x37/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x458e29 Code: 2d 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 fb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f4d94a42c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458e29 RDX: 000000000000001c RSI: 0000000020000080 RDI: 0000000000000007 RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4d94a436d4 R13: 00000000004bf271 R14: 00000000004d0340 R15: 00000000ffffffff Kernel Offset: disabled Rebooting in 86400 seconds..