bisecting fixing commit since 672481c2deffb371d8a7dfdc009e44c09864a869 building syzkaller on af6b8ef8f18c45343685f0ee7af9dd3a4b2b5d95 testing commit 672481c2deffb371d8a7dfdc009e44c09864a869 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 7c9e4affb1ac281173d35bf472efb44cc8bb6f967c9b7618358274cf6c271681 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: crashed: WARNING: locking bug in __inet6_bind run #9: crashed: WARNING: locking bug in __inet6_bind run #10: crashed: WARNING: locking bug in __inet6_bind run #11: crashed: WARNING: locking bug in __inet6_bind run #12: crashed: WARNING: locking bug in __inet6_bind run #13: crashed: WARNING: locking bug in __inet6_bind run #14: crashed: WARNING: locking bug in __inet6_bind run #15: crashed: WARNING: locking bug in __inet6_bind run #16: crashed: WARNING: locking bug in __inet6_bind run #17: crashed: WARNING: locking bug in __inet6_bind run #18: OK run #19: OK testing current HEAD 59456c9cc40c8f75b5a7efa0fe1f211d9c6fcaf1 testing commit 59456c9cc40c8f75b5a7efa0fe1f211d9c6fcaf1 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 55a921d221ca12df87f9231287fe36e645556e72645e1693b31c9e925cb3e750 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: crashed: WARNING: locking bug in __inet6_bind run #9: OK revisions tested: 2, total time: 36m45.753039667s (build: 18m22.020639418s, test: 17m36.082924178s) the crash still happens on HEAD commit msg: Linux 4.19.204 crash: WARNING: locking bug in __inet6_bind WARNING: CPU: 1 PID: 15469 at kernel/locking/lockdep.c:698 arch_local_save_flags arch/x86/include/asm/paravirt.h:784 [inline] WARNING: CPU: 1 PID: 15469 at kernel/locking/lockdep.c:698 arch_local_save_flags arch/x86/include/asm/paravirt.h:782 [inline] WARNING: CPU: 1 PID: 15469 at kernel/locking/lockdep.c:698 look_up_lock_class kernel/locking/lockdep.c:689 [inline] WARNING: CPU: 1 PID: 15469 at kernel/locking/lockdep.c:698 register_lock_class+0xb95/0x2360 kernel/locking/lockdep.c:749 Modules linked in: CPU: 1 PID: 15469 Comm: syz-executor.5 Not tainted 4.19.204-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:look_up_lock_class kernel/locking/lockdep.c:698 [inline] RIP: 0010:register_lock_class+0xb95/0x2360 kernel/locking/lockdep.c:749 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 f2 RSP: 0018:ffff8881d18c78d0 EFLAGS: 00010083 RAX: 0000000000000004 RBX: ffffffff89d1d7c0 RCX: ffff8881e15848e0 RDX: 1ffffffff143236c RSI: 0000000000000000 RDI: ffff8881e15848f8 RBP: ffff8881d18c79b0 R08: 1ffff1103a318f25 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000003 R13: 0000000000000000 R14: ffffffff87d16b20 R15: ffffffff87c01300 FS: 00007f1662c43700(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff888352028 CR3: 00000001e1e8b006 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x160/0x4950 kernel/locking/lockdep.c:3304 lock_acquire+0x173/0x3d0 kernel/locking/lockdep.c:3908 __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:2864 lock_sock include/net/sock.h:1510 [inline] __inet6_bind+0x562/0x1760 net/ipv6/af_inet6.c:302 inet6_bind+0xbb/0x100 net/ipv6/af_inet6.c:455 __sys_bind+0x1e1/0x230 net/socket.c:1592 __do_sys_bind net/socket.c:1603 [inline] __se_sys_bind net/socket.c:1601 [inline] __x64_sys_bind+0x6e/0xb0 net/socket.c:1601 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x462229 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1662c431a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000031 RAX: ffffffffffffffda RBX: 000000000052bfa8 RCX: 0000000000462229 RDX: 000000000000001c RSI: 0000000020000000 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004ed678 R14: 00000000004ac81d R15: 00007f1662c436bc irq event stamp: 148 hardirqs last enabled at (147): [] do_syscall_64+0x21/0x4e0 arch/x86/entry/common.c:280 hardirqs last disabled at (146): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (0): [] copy_process.part.34+0x179c/0x76c0 kernel/fork.c:1855 softirqs last disabled at (148): [] spin_lock_bh include/linux/spinlock.h:334 [inline] softirqs last disabled at (148): [] lock_sock_nested+0x3a/0x100 net/core/sock.c:2864 ---[ end trace e7363bd6d6a7a948 ]---