------------[ cut here ]------------ Looking for class "l2tp_sock" with key l2tp_socket_class, but found a different class "slock-AF_INET6" with the same key WARNING: CPU: 1 PID: 21003 at kernel/locking/lockdep.c:940 look_up_lock_class+0xdb/0x150 kernel/locking/lockdep.c:937 Modules linked in: CPU: 1 PID: 21003 Comm: syz-executor.5 Not tainted 6.2.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:look_up_lock_class+0xdb/0x150 kernel/locking/lockdep.c:937 Code: 48 c7 c0 80 00 83 90 48 39 c2 74 c3 f6 05 a9 b2 d6 03 01 75 ba c6 05 a0 b2 d6 03 01 48 c7 c7 e0 b8 0d 8b 31 c0 e8 25 80 8e f6 <0f> 0b eb a1 e8 cc 67 7a f9 31 db 48 c7 c7 20 b8 0d 8b 89 ee 31 c0 RSP: 0018:ffffc9000b80f9d8 EFLAGS: 00010046 RAX: 929d28004f2c4800 RBX: ffffffff906ad0c0 RCX: ffff888066e41d40 RDX: 0000000000000000 RSI: 0000000080000201 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff81709fad R09: ffffed1017324f5b R10: ffffed1017324f5b R11: 1ffff11017324f5a R12: ffff88807c6ee8b0 R13: ffff88807c6ee8b0 R14: 0000000000000000 R15: 1ffff92001701f48 FS: 00007fbb4272d700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbb426eb718 CR3: 000000007a741000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: register_lock_class+0xfe/0x9b0 kernel/locking/lockdep.c:1289 __lock_acquire+0xe4/0x1f60 kernel/locking/lockdep.c:4934 lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5668 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x31/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:355 [inline] lock_sock_nested+0x66/0xf0 net/core/sock.c:3473 lock_sock include/net/sock.h:1725 [inline] inet_autobind net/ipv4/af_inet.c:177 [inline] inet_dgram_connect+0x173/0x3f0 net/ipv4/af_inet.c:579 __sys_connect_file net/socket.c:1976 [inline] __sys_connect+0x29b/0x2d0 net/socket.c:1993 __do_sys_connect net/socket.c:2003 [inline] __se_sys_connect net/socket.c:2000 [inline] __x64_sys_connect+0x76/0x80 net/socket.c:2000 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x460b49 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:00007fbb4272d1a8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 000000000052bf00 RCX: 0000000000460b49 RDX: 000000000000001c RSI: 0000000020000000 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004e9d38 R14: 00000000004abaa2 R15: 00007fbb4272d6bc