------------[ 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: 0 PID: 6233 at kernel/locking/lockdep.c:937 look_up_lock_class+0x97/0x110 kernel/locking/lockdep.c:937 Modules linked in: CPU: 0 PID: 6233 Comm: syz-executor.2 Not tainted 6.1.0-rc8-syzkaller-02016-gdd8b3a802b64 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:look_up_lock_class+0x97/0x110 kernel/locking/lockdep.c:937 Code: 17 48 81 fa 60 95 d4 8f 74 59 80 3d 3c ed 4b 04 00 75 50 48 c7 c7 00 44 4c 8a 48 89 04 24 c6 05 28 ed 4b 04 01 e8 94 b4 b9 ff <0f> 0b 48 8b 04 24 eb 31 9c 5a 80 e6 02 74 95 e8 c5 22 13 fa 85 c0 RSP: 0018:ffffc90004207760 EFLAGS: 00010082 RAX: 0000000000000000 RBX: ffffffff919e1980 RCX: 0000000000000000 RDX: ffff888066a18000 RSI: ffffffff81657a8c RDI: fffff52000840ede RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000201 R11: 20676e696b6f6f4c R12: 0000000000000000 R13: ffff88807d2218b0 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fd373e4c700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000040 CR3: 00000000212a0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: register_lock_class+0xbe/0x1120 kernel/locking/lockdep.c:1289 __lock_acquire+0x109/0x56d0 kernel/locking/lockdep.c:4934 lock_acquire kernel/locking/lockdep.c:5668 [inline] lock_acquire+0x1e3/0x630 kernel/locking/lockdep.c:5633 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x33/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:355 [inline] lock_sock_nested+0x5f/0xf0 net/core/sock.c:3471 lock_sock include/net/sock.h:1721 [inline] sockopt_lock_sock+0x55/0x70 net/core/sock.c:1057 do_ipv6_getsockopt+0xbbf/0x2cb0 net/ipv6/ipv6_sockglue.c:1273 ipv6_getsockopt+0x166/0x2a0 net/ipv6/ipv6_sockglue.c:1501 udpv6_getsockopt+0x61/0xa0 net/ipv6/udp.c:1694 __sys_getsockopt+0x21a/0x6a0 net/socket.c:2290 __do_sys_getsockopt net/socket.c:2305 [inline] __se_sys_getsockopt net/socket.c:2302 [inline] __x64_sys_getsockopt+0xbe/0x160 net/socket.c:2302 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x460f19 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:00007fd373e4c1a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 000000000052bf00 RCX: 0000000000460f19 RDX: 0000000000000036 RSI: 0000000000000029 RDI: 0000000000000004 RBP: 0000000000000005 R08: 0000000020000080 R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004ebd68 R14: 00000000004ac5f8 R15: 00007fd373e4c6bc