WARNING: bad unlock balance detected! 6.3.0-rc7-syzkaller #0 Not tainted ------------------------------------- kworker/u19:2/3042 is trying to release lock (&conn->chan_lock) at: [] l2cap_disconnect_rsp net/bluetooth/l2cap_core.c:4697 [inline] [] l2cap_bredr_sig_cmd net/bluetooth/l2cap_core.c:5748 [inline] [] l2cap_sig_channel net/bluetooth/l2cap_core.c:6507 [inline] [] l2cap_recv_frame+0x4ad8/0x9390 net/bluetooth/l2cap_core.c:7786 but there are no more locks to release! other info that might help us debug this: 2 locks held by kworker/u19:2/3042: #0: ffff8880262c4938 ((wq_completion)hci3#2){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880262c4938 ((wq_completion)hci3#2){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff8880262c4938 ((wq_completion)hci3#2){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff8880262c4938 ((wq_completion)hci3#2){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff8880262c4938 ((wq_completion)hci3#2){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff8880262c4938 ((wq_completion)hci3#2){+.+.}-{0:0}, at: process_one_work+0x87a/0x15c0 kernel/workqueue.c:2361 #1: ffffc90002f9fda8 ((work_completion)(&hdev->rx_work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x15c0 kernel/workqueue.c:2365 stack backtrace: CPU: 3 PID: 3042 Comm: kworker/u19:2 Not tainted 6.3.0-rc7-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 Workqueue: hci3 hci_rx_work Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 __lock_release kernel/locking/lockdep.c:5346 [inline] lock_release+0x4f1/0x670 kernel/locking/lockdep.c:5689 __mutex_unlock_slowpath+0x99/0x5e0 kernel/locking/mutex.c:907 l2cap_disconnect_rsp net/bluetooth/l2cap_core.c:4697 [inline] l2cap_bredr_sig_cmd net/bluetooth/l2cap_core.c:5748 [inline] l2cap_sig_channel net/bluetooth/l2cap_core.c:6507 [inline] l2cap_recv_frame+0x4ad8/0x9390 net/bluetooth/l2cap_core.c:7786 l2cap_recv_acldata+0xa80/0xbf0 net/bluetooth/l2cap_core.c:8504 hci_acldata_packet net/bluetooth/hci_core.c:3828 [inline] hci_rx_work+0x709/0x1340 net/bluetooth/hci_core.c:4063 process_one_work+0x991/0x15c0 kernel/workqueue.c:2390 worker_thread+0x669/0x1090 kernel/workqueue.c:2537 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Bluetooth: Unexpected continuation frame (len 18) Bluetooth: hci4: Ignoring HCI_Connection_Complete for existing connection Bluetooth: hci4: Ignoring HCI_Connection_Complete for existing connection Bluetooth: hci2: Invalid handle: 0xff00 > 0x0eff Bluetooth: hci2: Invalid handle: 0xff00 > 0x0eff Bluetooth: Unexpected continuation frame (len 18) Bluetooth: hci2: Invalid handle: 0xff00 > 0x0eff Bluetooth: hci2: unexpected cc 0x1003 length: 249 > 9 Bluetooth: hci2: unexpected cc 0x1001 length: 249 > 9 Bluetooth: hci2: unexpected cc 0x0c23 length: 249 > 4 Bluetooth: hci2: unexpected cc 0x0c25 length: 249 > 3 Bluetooth: hci2: unexpected cc 0x0c38 length: 249 > 2 Bluetooth: hci4: command 0x0419 tx timeout Bluetooth: hci3: unexpected cc 0x0c03 length: 249 > 1 Bluetooth: hci3: unexpected cc 0x1003 length: 249 > 9 Bluetooth: hci3: unexpected cc 0x1001 length: 249 > 9 Bluetooth: hci3: unexpected cc 0x0c23 length: 249 > 4 Bluetooth: hci3: unexpected cc 0x0c25 length: 249 > 3 Bluetooth: hci3: unexpected cc 0x0c38 length: 249 > 2 Bluetooth: hci4: command 0x2016 tx timeout Bluetooth: hci3: command 0x041b tx timeout Bluetooth: hci3: Invalid handle: 0xff00 > 0x0eff Bluetooth: hci3: Invalid handle: 0xff00 > 0x0eff