------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(!test_bit(class_idx, lock_classes_in_use)) WARNING: CPU: 0 PID: 12956 at kernel/locking/lockdep.c:4872 __lock_acquire+0xfbf/0x5230 kernel/locking/lockdep.c:4872 Modules linked in: CPU: 0 PID: 12956 Comm: kworker/0:17 Not tainted 5.13.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events l2cap_chan_timeout RIP: 0010:__lock_acquire+0xfbf/0x5230 kernel/locking/lockdep.c:4872 Code: d2 0f 85 26 36 00 00 44 8b 3d 75 6f 6f 0c 45 85 ff 0f 85 b1 fd ff ff 48 c7 c6 80 e2 6b 89 48 c7 c7 c0 b3 6b 89 e8 b4 6e 7b 07 <0f> 0b e9 9a fd ff ff 41 bd 02 00 00 00 e9 32 f6 ff ff 48 c7 c2 20 RSP: 0018:ffffc900018af908 EFLAGS: 00010086 RAX: 0000000000000000 RBX: 0000000001268a2f RCX: 0000000000000000 RDX: ffff888063123880 RSI: ffffffff815ce355 RDI: fffff52000315f13 RBP: ffff888063124318 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815c81be R11: 0000000000000000 R12: ffff888063123880 R13: ffff88806312433a R14: ffff888063124278 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004e4da1 CR3: 000000002f69a000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5512 [inline] lock_acquire+0x1ab/0x740 kernel/locking/lockdep.c:5477 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:175 spin_lock_bh include/linux/spinlock.h:359 [inline] lock_sock_nested+0x40/0x120 net/core/sock.c:3057 l2cap_sock_teardown_cb+0xa1/0x660 net/bluetooth/l2cap_sock.c:1528 l2cap_chan_del+0xbc/0xa80 net/bluetooth/l2cap_core.c:622 l2cap_chan_close+0x1bc/0xaf0 net/bluetooth/l2cap_core.c:825 l2cap_chan_timeout+0x17e/0x2f0 net/bluetooth/l2cap_core.c:436 process_one_work+0x98d/0x1600 kernel/workqueue.c:2276 worker_thread+0x64c/0x1120 kernel/workqueue.c:2422 kthread+0x3b1/0x4a0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294