Bluetooth: hci7: link tx timeout
Bluetooth: hci7: killing stalled connection 10: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: 841, name: kworker/u5:2
preempt_count: 0, expected: 0
RCU nest depth: 1, expected: 0
3 locks held by kworker/u5:2/841:
#0: ffff88800bf66138 ((wq_completion)hci7#2){+.+.}-{0:0}, at: process_one_work+0x99d/0x1770
#1: ffff8880357a7d90 ((work_completion)(&hdev->tx_work)){+.+.}-{0:0}, at: process_one_work+0x9d0/0x1770
#2: ffffffff8560c2e0 (rcu_read_lock){....}-{1:2}, at: __check_timeout+0x171/0x480
CPU: 1 PID: 841 Comm: kworker/u5:2 Not tainted 6.5.0-rc4-next-20230804 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
Workqueue: hci7 hci_tx_work
Call Trace:
dump_stack_lvl+0xc1/0xf0
__might_resched+0x2f9/0x510
__mutex_lock+0x9e/0x1a30
hci_cmd_sync_submit+0x3b/0x2d0
hci_cmd_sync_queue+0x7b/0xb0
hci_disconnect+0x1c2/0x450
__check_timeout+0x2cc/0x480
hci_tx_work+0x11b1/0x1a70
process_one_work+0xabf/0x1770
worker_thread+0x64f/0x12a0
kthread+0x33f/0x440
ret_from_fork+0x2f/0x70
ret_from_fork_asm+0x1b/0x30
=============================
[ BUG: Invalid wait context ]
6.5.0-rc4-next-20230804 #1 Tainted: G W
-----------------------------
kworker/u5:2/841 is trying to lock:
ffff88800e98c9b0 (&hdev->unregister_lock){+.+.}-{3:3}, at: hci_cmd_sync_submit+0x3b/0x2d0
other info that might help us debug this:
context-{4:4}
3 locks held by kworker/u5:2/841:
#0: ffff88800bf66138 ((wq_completion)hci7#2){+.+.}-{0:0}, at: process_one_work+0x99d/0x1770
#1: ffff8880357a7d90 ((work_completion)(&hdev->tx_work)){+.+.}-{0:0}, at: process_one_work+0x9d0/0x1770
#2: ffffffff8560c2e0 (rcu_read_lock){....}-{1:2}, at: __check_timeout+0x171/0x480
stack backtrace:
CPU: 1 PID: 841 Comm: kworker/u5:2 Tainted: G W 6.5.0-rc4-next-20230804 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
Workqueue: hci7 hci_tx_work
Call Trace:
dump_stack_lvl+0x91/0xf0
__lock_acquire+0x1605/0x6340
lock_acquire+0x19a/0x4c0
__mutex_lock+0x12a/0x1a30
hci_cmd_sync_submit+0x3b/0x2d0
hci_cmd_sync_queue+0x7b/0xb0
hci_disconnect+0x1c2/0x450
__check_timeout+0x2cc/0x480
hci_tx_work+0x11b1/0x1a70
process_one_work+0xabf/0x1770
worker_thread+0x64f/0x12a0
kthread+0x33f/0x440
ret_from_fork+0x2f/0x70
ret_from_fork_asm+0x1b/0x30
ieee802154 phy0 wpan0: encryption failed: -22
Bluetooth: hci1: link tx timeout
Bluetooth: hci1: killing stalled connection 10:aa:aa:aa:aa:aa
Bluetooth: hci6: link tx timeout
Bluetooth: hci6: killing stalled connection 10:aa:aa:aa:aa:aa
ieee802154 phy0 wpan0: encryption failed: -22
Bluetooth: hci1: link tx timeout
Bluetooth: hci1: killing stalled connection 10:aa:aa:aa:aa:aa
Bluetooth: hci7: link tx timeout
Bluetooth: hci7: killing stalled connection 10:aa:aa:aa:aa:aa
Bluetooth: hci6: link tx timeout
Bluetooth: hci6: killing stalled connection 10:aa:aa:aa:aa:aa
Bluetooth: hci7: link tx timeout
Bluetooth: hci7: killing stalled connection 10:aa:aa:aa:aa:aa
Bluetooth: hci1: link tx timeout
Bluetooth: hci1: killing stalled connection 10:aa:aa:aa:aa:aa
Bluetooth: hci0: link tx timeout
Bluetooth: hci0: killing stalled connection 10: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: 843, name: kworker/u5:4
preempt_count: 0, expected: 0
RCU nest depth: 1, expected: 0
INFO: lockdep is turned off.
CPU: 1 PID: 843 Comm: kworker/u5:4 Tainted: G W 6.5.0-rc4-next-20230804 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
Workqueue: hci0 hci_tx_work
Call Trace:
dump_stack_lvl+0xc1/0xf0
__might_resched+0x2f9/0x510
__mutex_lock+0x9e/0x1a30
hci_cmd_sync_submit+0x3b/0x2d0
hci_cmd_sync_queue+0x7b/0xb0
hci_disconnect+0x1c2/0x450
__check_timeout+0x2cc/0x480
hci_tx_work+0x11b1/0x1a70
process_one_work+0xabf/0x1770
worker_thread+0x64f/0x12a0
kthread+0x33f/0x440
ret_from_fork+0x2f/0x70
ret_from_fork_asm+0x1b/0x30
Bluetooth: hci7: link tx timeout
Bluetooth: hci7: killing stalled connection 10:aa:aa:aa:aa:aa
Bluetooth: hci4: link tx timeout
Bluetooth: hci4: killing stalled connection 10:aa:aa:aa:aa:aa
Bluetooth: hci6: link tx timeout
Bluetooth: hci6: killing stalled connection 10:aa:aa:aa:aa:aa
Bluetooth: hci2: link tx timeout
Bluetooth: hci2: killing stalled connection 10:aa:aa:aa:aa:aa
Bluetooth: hci7: link tx timeout
Bluetooth: hci7: killing stalled connection 10:aa:aa:aa:aa:aa
Bluetooth: hci0: link tx timeout
Bluetooth: hci0: killing stalled connection 10:aa:aa:aa:aa:aa
Bluetooth: hci1: link tx timeout
Bluetooth: hci1: killing stalled connection 10:aa:aa:aa:aa:aa
Bluetooth: hci6: link tx timeout
Bluetooth: hci6: killing stalled connection 10:aa:aa:aa:aa:aa
ieee802154 phy0 wpan0: encryption failed: -22
Bluetooth: hci7: link tx timeout
Bluetooth: hci7: killing stalled connection 10:aa:aa:aa:aa:aa
Bluetooth: hci0: link tx timeout
Bluetooth: hci0: killing stalled connection 10:aa:aa:aa:aa:aa
Bluetooth: hci7: command 0x0406 tx timeout
ieee802154 phy0 wpan0: encryption failed: -22
Bluetooth: hci5: link tx timeout
Bluetooth: hci5: killing stalled connection 10:aa:aa:aa:aa:aa
Bluetooth: hci1: command 0x0406 tx timeout
ieee802154 phy0 wpan0: encryption failed: -22
Bluetooth: hci6: command 0x0406 tx timeout
Bluetooth: hci0: link tx timeout
Bluetooth: hci0: killing stalled connection 10:aa:aa:aa:aa:aa
Bluetooth: hci0: command 0x0406 tx timeout
Bluetooth: hci2: command 0x0406 tx timeout
Bluetooth: hci4: command 0x0406 tx timeout
Bluetooth: hci5: command 0x0406 tx timeout
netlink: 'syz-executor.1': attribute type 1 has an invalid length.
netlink: 'syz-executor.1': attribute type 1 has an invalid length.
netlink: 'syz-executor.1': attribute type 1 has an invalid length.
ieee80211 phy20: Selected rate control algorithm 'minstrel_ht'
ieee80211 phy21: Selected rate control algorithm 'minstrel_ht'
ieee80211 phy22: Selected rate control algorithm 'minstrel_ht'
ieee80211 phy23: Selected rate control algorithm 'minstrel_ht'
loop6: detected capacity change from 0 to 39
loop6: detected capacity change from 0 to 39
loop6: detected capacity change from 0 to 39
loop5: detected capacity change from 0 to 39
loop6: detected capacity change from 0 to 39
loop5: detected capacity change from 0 to 39
loop6: detected capacity change from 0 to 39
loop5: detected capacity change from 0 to 39
loop6: detected capacity change from 0 to 39
loop6: detected capacity change from 0 to 39