------------[ cut here ]------------ WARNING: CPU: 1 PID: 5572 at kernel/locking/lockdep.c:907 look_up_lock_class+0x6a/0xd0 kernel/locking/lockdep.c:907 Modules linked in: CPU: 1 PID: 5572 Comm: syz-executor.2 Not tainted 5.18.0-rc2-syzkaller-00975-g0339d25a2807 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:look_up_lock_class+0x6a/0xd0 kernel/locking/lockdep.c:907 Code: 85 c0 75 0a eb 57 48 8b 00 48 85 c0 74 4f 48 39 70 40 75 f2 48 8b 4f 18 48 39 88 b0 00 00 00 74 0b 48 81 3f 20 74 23 8f 74 02 <0f> 0b 5d c3 9c 5a 80 e6 02 74 c2 e8 b6 c7 8a fa 85 c0 74 1f 8b 05 RSP: 0018:ffffc9000b8c79f0 EFLAGS: 00010002 RAX: ffffffff9007b120 RBX: ffffffff90581940 RCX: ffffffff8aeba660 RDX: 0000000000000046 RSI: ffffffff908fb5e0 RDI: ffff888040b908b0 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff888040b908b0 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fc5bc9dd700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200002c0 CR3: 000000007744c000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: register_lock_class+0xbe/0x11b0 kernel/locking/lockdep.c:1257 __lock_acquire+0x10a/0x56c0 kernel/locking/lockdep.c:4908 lock_acquire kernel/locking/lockdep.c:5641 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5606 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:354 [inline] lock_sock_nested+0x5b/0xf0 net/core/sock.c:3335 lock_sock include/net/sock.h:1681 [inline] inet_autobind+0x1a/0x190 net/ipv4/af_inet.c:177 inet_dgram_connect+0x1f5/0x2d0 net/ipv4/af_inet.c:574 __sys_connect_file+0x14f/0x190 net/socket.c:1900 __sys_connect+0x161/0x190 net/socket.c:1917 __do_sys_connect net/socket.c:1927 [inline] __se_sys_connect net/socket.c:1924 [inline] __x64_sys_connect+0x6f/0xb0 net/socket.c:1924 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fc5bda890e9 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc5bc9dd168 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007fc5bdb9c030 RCX: 00007fc5bda890e9 RDX: 000000000000001c RSI: 0000000020000080 RDI: 0000000000000004 RBP: 00007fc5bdae308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff8e0bbc4f R14: 00007fc5bc9dd300 R15: 0000000000022000