BUG: workqueue leaked lock or atomic: kworker/0:4/0x00000001/8679 last function: sco_sock_timeout 1 lock held by kworker/0:4/8679: #0: ffff8880202c2020 (&conn->lock#2){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:354 [inline] #0: ffff8880202c2020 (&conn->lock#2){+.+.}-{2:2}, at: sco_sock_timeout+0x1a/0x280 net/bluetooth/sco.c:85 CPU: 0 PID: 8679 Comm: kworker/0:4 Not tainted 5.14.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events sco_sock_timeout Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:105 process_one_work.cold+0xa2/0xba kernel/workqueue.c:2291 worker_thread+0x658/0x11f0 kernel/workqueue.c:2422 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 BUG: sleeping function called from invalid context at kernel/workqueue.c:2302 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 8679, name: kworker/0:4 1 lock held by kworker/0:4/8679: #0: ffff8880202c2020 (&conn->lock#2){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:354 [inline] #0: ffff8880202c2020 (&conn->lock#2){+.+.}-{2:2}, at: sco_sock_timeout+0x1a/0x280 net/bluetooth/sco.c:85 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 0 PID: 8679 Comm: kworker/0:4 Not tainted 5.14.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events sco_sock_timeout Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:105 ___might_sleep.cold+0x1f1/0x237 kernel/sched/core.c:9154 process_one_work+0xaca/0x1630 kernel/workqueue.c:2302 worker_thread+0x658/0x11f0 kernel/workqueue.c:2422 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 BUG: workqueue leaked lock or atomic: kworker/0:4/0x00000001/8679 last function: wg_packet_tx_worker 1 lock held by kworker/0:4/8679: #0: ffff8880202c2020 (&conn->lock#2){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:354 [inline] #0: ffff8880202c2020 (&conn->lock#2){+.+.}-{2:2}, at: sco_sock_timeout+0x1a/0x280 net/bluetooth/sco.c:85 CPU: 0 PID: 8679 Comm: kworker/0:4 Tainted: G W 5.14.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: wg-crypt-wg1 wg_packet_tx_worker Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:105 process_one_work.cold+0xa2/0xba kernel/workqueue.c:2291 worker_thread+0x658/0x11f0 kernel/workqueue.c:2422 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ======================================================