------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(1) WARNING: CPU: 2 PID: 27 at kernel/locking/lockdep.c:203 hlock_class kernel/locking/lockdep.c:203 [inline] WARNING: CPU: 2 PID: 27 at kernel/locking/lockdep.c:203 hlock_class kernel/locking/lockdep.c:192 [inline] WARNING: CPU: 2 PID: 27 at kernel/locking/lockdep.c:203 check_wait_context kernel/locking/lockdep.c:4700 [inline] WARNING: CPU: 2 PID: 27 at kernel/locking/lockdep.c:203 __lock_acquire+0x1342/0x5470 kernel/locking/lockdep.c:4977 Modules linked in: CPU: 2 PID: 27 Comm: kworker/2:0 Not tainted 5.16.0-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 Workqueue: events sco_sock_timeout RIP: 0010:hlock_class kernel/locking/lockdep.c:203 [inline] RIP: 0010:hlock_class kernel/locking/lockdep.c:192 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4700 [inline] RIP: 0010:__lock_acquire+0x1342/0x5470 kernel/locking/lockdep.c:4977 Code: 08 84 d2 0f 85 44 2e 00 00 8b 15 c1 5b 37 0c 85 d2 0f 85 f3 fd ff ff 48 c7 c6 c0 1c ac 89 48 c7 c7 80 10 ac 89 e8 f8 c6 a9 07 <0f> 0b 31 ed e9 bc f0 ff ff e8 40 e0 7c 02 85 c0 0f 84 11 fe ff ff RSP: 0018:ffffc90000547a98 EFLAGS: 00010086 RAX: 0000000000000000 RBX: ffff88801158e160 RCX: 0000000000000000 RDX: ffff88801158d700 RSI: ffffffff815f1498 RDI: fffff520000a8f45 RBP: 00000000000016c2 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815eb1fe R11: 0000000000000000 R12: ffff88801158e1b0 R13: ffff88801158d700 R14: ffff8880189ef130 R15: 0000000000040000 FS: 0000000000000000(0000) GS:ffff88802cc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000033527000 CR3: 0000000049ecb000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5639 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5604 lock_sock_nested+0x36/0xf0 net/core/sock.c:3291 lock_sock include/net/sock.h:1668 [inline] sco_sock_timeout+0xd2/0x290 net/bluetooth/sco.c:97 process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307 worker_thread+0x657/0x1110 kernel/workqueue.c:2454 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295