Bluetooth: hci1: unexpected event 0x01 length: 4 > 1
Bluetooth: hci3: link tx timeout
Bluetooth: hci3: killing stalled connection 11:aa:aa:aa:aa:aa
BUG: sleeping function called from invalid context at kernel/locking/mutex.c:580
in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 4445, name: kworker/u5:1
preempt_count: 0, expected: 0
RCU nest depth: 1, expected: 0
3 locks held by kworker/u5:1/4445:
#0: ffff888028716d38 ((wq_completion)hci3#2){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605
#1: ffffc9000d717d80 ((work_completion)(&hdev->tx_work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606
#2: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline]
#2: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline]
#2: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: hci_link_tx_to net/bluetooth/hci_core.c:3414 [inline]
#2: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: __check_timeout net/bluetooth/hci_core.c:3567 [inline]
#2: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: __check_timeout+0x20b/0x4e0 net/bluetooth/hci_core.c:3547
CPU: 0 PID: 4445 Comm: kworker/u5:1 Not tainted 6.6.0-rc4-syzkaller-00037-g3006adf3be79 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
Workqueue: hci3 hci_tx_work
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x125/0x1b0 lib/dump_stack.c:106
__might_resched+0x3c3/0x5e0 kernel/sched/core.c:10187
__mutex_lock_common kernel/locking/mutex.c:580 [inline]
__mutex_lock+0xee/0x1340 kernel/locking/mutex.c:747
hci_cmd_sync_submit+0x3f/0x340 net/bluetooth/hci_sync.c:699
hci_cmd_sync_queue+0x79/0xa0 net/bluetooth/hci_sync.c:739
hci_abort_conn+0x15b/0x330 net/bluetooth/hci_conn.c:2928
hci_disconnect+0xc4/0x220 net/bluetooth/hci_conn.c:258
hci_link_tx_to net/bluetooth/hci_core.c:3421 [inline]
__check_timeout net/bluetooth/hci_core.c:3567 [inline]
__check_timeout+0x32f/0x4e0 net/bluetooth/hci_core.c:3547
hci_sched_le net/bluetooth/hci_core.c:3750 [inline]
hci_tx_work+0x818/0x1d30 net/bluetooth/hci_core.c:3828
process_one_work+0x884/0x15c0 kernel/workqueue.c:2630
process_scheduled_works kernel/workqueue.c:2703 [inline]
worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784
kthread+0x33c/0x440 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
=============================
[ BUG: Invalid wait context ]
6.6.0-rc4-syzkaller-00037-g3006adf3be79 #0 Tainted: G W
-----------------------------
kworker/u5:1/4445 is trying to lock:
ffff88807aca49b0 (&hdev->unregister_lock){+.+.}-{3:3}, at: hci_cmd_sync_submit+0x3f/0x340 net/bluetooth/hci_sync.c:699
other info that might help us debug this:
context-{4:4}
3 locks held by kworker/u5:1/4445:
#0: ffff888028716d38 ((wq_completion)hci3#2){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605
#1: ffffc9000d717d80 ((work_completion)(&hdev->tx_work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606
#2: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline]
#2: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline]
#2: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: hci_link_tx_to net/bluetooth/hci_core.c:3414 [inline]
#2: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: __check_timeout net/bluetooth/hci_core.c:3567 [inline]
#2: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: __check_timeout+0x20b/0x4e0 net/bluetooth/hci_core.c:3547
stack backtrace:
CPU: 0 PID: 4445 Comm: kworker/u5:1 Tainted: G W 6.6.0-rc4-syzkaller-00037-g3006adf3be79 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
Workqueue: hci3 hci_tx_work
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
print_lock_invalid_wait_context kernel/locking/lockdep.c:4750 [inline]
check_wait_context kernel/locking/lockdep.c:4820 [inline]
__lock_acquire+0x1575/0x5de0 kernel/locking/lockdep.c:5086
lock_acquire kernel/locking/lockdep.c:5753 [inline]
lock_acquire+0x1ae/0x510 kernel/locking/lockdep.c:5718
__mutex_lock_common kernel/locking/mutex.c:603 [inline]
__mutex_lock+0x181/0x1340 kernel/locking/mutex.c:747
hci_cmd_sync_submit+0x3f/0x340 net/bluetooth/hci_sync.c:699
hci_cmd_sync_queue+0x79/0xa0 net/bluetooth/hci_sync.c:739
hci_abort_conn+0x15b/0x330 net/bluetooth/hci_conn.c:2928
hci_disconnect+0xc4/0x220 net/bluetooth/hci_conn.c:258
hci_link_tx_to net/bluetooth/hci_core.c:3421 [inline]
__check_timeout net/bluetooth/hci_core.c:3567 [inline]
__check_timeout+0x32f/0x4e0 net/bluetooth/hci_core.c:3547
hci_sched_le net/bluetooth/hci_core.c:3750 [inline]
hci_tx_work+0x818/0x1d30 net/bluetooth/hci_core.c:3828
process_one_work+0x884/0x15c0 kernel/workqueue.c:2630
process_scheduled_works kernel/workqueue.c:2703 [inline]
worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784
kthread+0x33c/0x440 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
bt_warn_ratelimited: 10 callbacks suppressed
Bluetooth: hci1: unexpected event 0x2f length: 1017 > 260
Bluetooth: hci3: SCO packet for unknown connection handle 201
Bluetooth: hci3: SCO packet for unknown connection handle 201
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci3: Malformed HCI Event: 0x22
Bluetooth: hci3: ACL packet for unknown connection handle 200
Bluetooth: hci3: Malformed HCI Event: 0x22
Bluetooth: hci3: ACL packet for unknown connection handle 200
Bluetooth: hci3: Malformed HCI Event: 0x22
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: Malformed Event: 0x02
Bluetooth: hci4: unexpected event 0x01 length: 4 > 1
Bluetooth: hci3: Malformed HCI Event: 0x22
Bluetooth: hci4: unexpected event 0x01 length: 4 > 1
Bluetooth: hci1: unexpected event 0x2f length: 1017 > 260
Bluetooth: hci1: unexpected event 0x2f length: 1017 > 260
Bluetooth: hci4: SCO packet for unknown connection handle 201
Bluetooth: hci3: SCO packet for unknown connection handle 201
Bluetooth: hci1: unexpected event 0x2f length: 1017 > 260
Bluetooth: hci1: SCO packet for unknown connection handle 200
Bluetooth: hci2: Received unexpected HCI Event 0x00
Bluetooth: hci2: SCO packet for unknown connection handle 201
Bluetooth: hci1: unexpected event 0x2f length: 1017 > 260
Bluetooth: hci2: Received unexpected HCI Event 0x00
Bluetooth: hci2: Received unexpected HCI Event 0x00
Bluetooth: hci2: Received unexpected HCI Event 0x00
Bluetooth: hci1: unexpected event 0x2f length: 1017 > 260
Bluetooth: hci4: ACL packet for unknown connection handle 712
Bluetooth: hci2: Received unexpected HCI Event 0x00
Bluetooth: hci2: Received unexpected HCI Event 0x00
Bluetooth: hci2: Received unexpected HCI Event 0x00
Bluetooth: hci2: ACL packet for unknown connection handle 0
Bluetooth: hci3: hardware error 0x07