Bluetooth: hci6: command 0x0409 tx timeout
Bluetooth: hci6: command 0x041b tx timeout
Bluetooth: hci6: command 0x040f tx timeout
Bluetooth: hci6: command 0x0419 tx timeout
Bluetooth: hci6: command 0x0406 tx timeout
INFO: task systemd-rfkill:6137 blocked for more than 143 seconds.
Not tainted 5.16.0-rc6-next-20211224 #1
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:systemd-rfkill state:D stack:25416 pid: 6137 ppid: 1 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:4986 [inline]
__schedule+0x882/0x2190 kernel/sched/core.c:6296
schedule+0xd2/0x260 kernel/sched/core.c:6369
schedule_timeout+0x3ae/0x480 kernel/time/timer.c:1857
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common kernel/sched/completion.c:106 [inline]
wait_for_common kernel/sched/completion.c:117 [inline]
wait_for_completion+0x174/0x270 kernel/sched/completion.c:138
__flush_work+0x53f/0xae0 kernel/workqueue.c:3093
__cancel_work_timer+0x398/0x4d0 kernel/workqueue.c:3180
hci_request_cancel_all+0x38/0x150 net/bluetooth/hci_request.c:2648
hci_dev_close_sync+0x96/0xf10 net/bluetooth/hci_sync.c:4051
hci_dev_do_close net/bluetooth/hci_core.c:553 [inline]
hci_rfkill_set_block+0x16f/0x1b0 net/bluetooth/hci_core.c:935
rfkill_set_block+0x1fd/0x540 net/rfkill/core.c:344
rfkill_fop_write+0x40b/0x4b0 net/rfkill/core.c:1288
vfs_write+0x28a/0xae0 fs/read_write.c:588
ksys_write+0x1ee/0x250 fs/read_write.c:643
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3b/0x90 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7ffa24b21f33
RSP: 002b:00007fffa54b5e98 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fffa54b5ec0 RCX: 00007ffa24b21f33
RDX: 0000000000000008 RSI: 00007fffa54b5ec8 RDI: 0000000000000003
RBP: 00007ffa24ec3c20 R08: 0000000000000000 R09: 00000000ffffffff
R10: 0000000000000004 R11: 0000000000000246 R12: 00007fffa54b5ec8
R13: 0000000000000001 R14: 0000000000000001 R15: 00007ffa24ec2072
INFO: task syz-executor.6:6144 blocked for more than 143 seconds.
Not tainted 5.16.0-rc6-next-20211224 #1
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.6 state:D stack:24144 pid: 6144 ppid: 1 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:4986 [inline]
__schedule+0x882/0x2190 kernel/sched/core.c:6296
schedule+0xd2/0x260 kernel/sched/core.c:6369
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6428
__mutex_lock_common kernel/locking/mutex.c:673 [inline]
__mutex_lock+0xb7e/0x1480 kernel/locking/mutex.c:733
rfkill_fop_open+0x104/0x6c0 net/rfkill/core.c:1160
misc_open+0x375/0x4a0 drivers/char/misc.c:141
chrdev_open+0x268/0x6d0 fs/char_dev.c:414
do_dentry_open+0x4b7/0x1100 fs/open.c:824
do_open fs/namei.c:3476 [inline]
path_openat+0x1a3e/0x28a0 fs/namei.c:3609
do_filp_open+0x1aa/0x400 fs/namei.c:3636
do_sys_openat2+0x16d/0x4d0 fs/open.c:1214
do_sys_open fs/open.c:1230 [inline]
__do_sys_openat fs/open.c:1246 [inline]
__se_sys_openat fs/open.c:1241 [inline]
__x64_sys_openat+0x13f/0x1f0 fs/open.c:1241
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3b/0x90 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f03fd5e3a04
RSP: 002b:00007fffa124cfb0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fffa124d6f8 RCX: 00007f03fd5e3a04
RDX: 0000000000000002 RSI: 00007f03fd68a26f RDI: 00000000ffffff9c
RBP: 00007f03fd68a26f R08: 0000000000000000 R09: 00007fffa124c750
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002
R13: 00007fffa124d190 R14: 0000000000000000 R15: 00000000000000f8
INFO: task kworker/u5:0:6145 blocked for more than 143 seconds.
Not tainted 5.16.0-rc6-next-20211224 #1
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u5:0 state:D stack:28960 pid: 6145 ppid: 2 flags:0x00004000
Workqueue: hci6 scan_update_work
Call Trace:
context_switch kernel/sched/core.c:4986 [inline]
__schedule+0x882/0x2190 kernel/sched/core.c:6296
schedule+0xd2/0x260 kernel/sched/core.c:6369
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6428
__mutex_lock_common kernel/locking/mutex.c:673 [inline]
__mutex_lock+0xb7e/0x1480 kernel/locking/mutex.c:733
hci_req_sync net/bluetooth/hci_request.c:198 [inline]
scan_update_work+0x2d/0xb0 net/bluetooth/hci_request.c:1850
process_one_work+0xa2a/0x16d0 kernel/workqueue.c:2307
worker_thread+0x628/0x1310 kernel/workqueue.c:2454
kthread+0x2f0/0x3a0 kernel/kthread.c:377
ret_from_fork+0x22/0x30 arch/x86/entry/entry_64.S:295
Showing all locks held in the system:
1 lock held by khungtaskd/24:
#0: ffffffff85201e80 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460
1 lock held by kmemleak/52:
1 lock held by in:imklog/187:
#0: ffff88800d07e370 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:1034
2 locks held by systemd-rfkill/6137:
#0: ffffffff85865948 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_write+0xff/0x4b0 net/rfkill/core.c:1272
#1: ffff8880471b5048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:551 [inline]
#1: ffff8880471b5048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_rfkill_set_block+0x167/0x1b0 net/bluetooth/hci_core.c:935
2 locks held by syz-executor.6/6144:
#0: ffffffff85494a48 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x55/0x4a0 drivers/char/misc.c:107
#1: ffffffff85865948 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_open+0x104/0x6c0 net/rfkill/core.c:1160
3 locks held by kworker/u5:0/6145:
#0: ffff888008880138 ((wq_completion)hci6){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888008880138 ((wq_completion)hci6){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888008880138 ((wq_completion)hci6){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888008880138 ((wq_completion)hci6){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline]
#0: ffff888008880138 ((wq_completion)hci6){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline]
#0: ffff888008880138 ((wq_completion)hci6){+.+.}-{0:0}, at: process_one_work+0x923/0x16d0 kernel/workqueue.c:2278
#1: ffff888045d8fdb0 ((work_completion)(&hdev->scan_update)){+.+.}-{0:0}, at: process_one_work+0x957/0x16d0 kernel/workqueue.c:2282
#2: ffff8880471b5048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_req_sync net/bluetooth/hci_request.c:198 [inline]
#2: ffff8880471b5048 (&hdev->req_lock){+.+.}-{3:3}, at: scan_update_work+0x2d/0xb0 net/bluetooth/hci_request.c:1850
=============================================