INFO: task syz.3.389:7394 blocked for more than 143 seconds.
Not tainted 6.16.0-rc3-syzkaller-00998-g5f712c3877f9 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.389 state:D stack:25352 pid:7394 tgid:7393 ppid:5830 task_flags:0x400140 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5396 [inline]
__schedule+0x16f5/0x4d00 kernel/sched/core.c:6785
__schedule_loop kernel/sched/core.c:6863 [inline]
schedule+0x165/0x360 kernel/sched/core.c:6878
schedule_timeout+0x9a/0x270 kernel/time/sleep_timeout.c:75
do_wait_for_common kernel/sched/completion.c:95 [inline]
__wait_for_common kernel/sched/completion.c:116 [inline]
wait_for_common kernel/sched/completion.c:127 [inline]
wait_for_completion+0x2bf/0x5d0 kernel/sched/completion.c:148
__flush_work+0x9b9/0xbc0 kernel/workqueue.c:4246
__cancel_work_sync+0xbe/0x110 kernel/workqueue.c:4366
hidp_session_remove+0x62/0x260 net/bluetooth/hidp/core.c:1169
l2cap_unregister_user+0x18b/0x1b0 net/bluetooth/l2cap_core.c:1734
hidp_connection_del+0xb0/0x170 net/bluetooth/hidp/core.c:1409
do_hidp_sock_ioctl net/bluetooth/hidp/sock.c:97 [inline]
hidp_sock_ioctl+0x317/0x560 net/bluetooth/hidp/sock.c:128
sock_do_ioctl+0xdc/0x300 net/socket.c:1238
sock_ioctl+0x576/0x790 net/socket.c:1359
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:907 [inline]
__se_sys_ioctl+0xf9/0x170 fs/ioctl.c:893
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7faa23f8e929
RSP: 002b:00007faa24ea9038 EFLAGS: 00000246
ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007faa241b5fa0 RCX: 00007faa23f8e929
RDX: 0000200000000000 RSI: 00000000400448c9 RDI: 0000000000000007
RBP: 00007faa24010b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007faa241b5fa0 R15: 00007fff8339c3c8
INFO: task khidpd_16c05515:7396 blocked for more than 144 seconds.
Not tainted 6.16.0-rc3-syzkaller-00998-g5f712c3877f9 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:khidpd_16c05515 state:D
stack:29320 pid:7396 tgid:7396 ppid:2 task_flags:0x208040 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5396 [inline]
__schedule+0x16f5/0x4d00 kernel/sched/core.c:6785
__schedule_loop kernel/sched/core.c:6863 [inline]
schedule+0x165/0x360 kernel/sched/core.c:6878
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6935
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0x724/0xe80 kernel/locking/mutex.c:747
l2cap_unregister_user+0x6a/0x1b0 net/bluetooth/l2cap_core.c:1728
hidp_session_thread+0x3c9/0x410 net/bluetooth/hidp/core.c:1304
kthread+0x70e/0x8a0 kernel/kthread.c:464
ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Showing all locks held in the system:
1 lock held by khungtaskd/31:
#0:
ffffffff8e13ee60
(
rcu_read_lock
){....}-{1:3}
, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770
4 locks held by kworker/u8:4/59:
#0:
ffff88801b2fe148 (
(wq_completion)netns
){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321
#1:
ffffc9000210fbc0
(net_cleanup_work
){+.+.}-{0:0}
, at: process_one_work kernel/workqueue.c:3214 [inline]
, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321
#2:
ffffffff8f505930
(
pernet_ops_rwsem
){++++}-{4:4}
, at: cleanup_net+0xf7/0x800 net/core/net_namespace.c:658
#3:
ffffffff8e144840 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x570 kernel/rcu/tree.c:3786
3 locks held by kworker/1:2/2155:
2 locks held by getty/5593:
#0: ffff88814d8a00a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002fee2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222
4 locks held by kworker/u9:7/5843:
#0: ffff8880306b7148 ((wq_completion)hci4){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff8880306b7148 ((wq_completion)hci4){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321
#1: ffffc900041bfbc0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc900041bfbc0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321
#2: ffff888078e58dc0 (&hdev->req_lock){+.+.}-{4:4}
, at: hci_cmd_sync_work+0x1d4/0x3a0 net/bluetooth/hci_sync.c:331
#3:
ffff888078e580b8
(
&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x1eb/0xdf0 net/bluetooth/hci_sync.c:5626
2 locks held by syz.3.389/7394:
#0:
ffff888078e580b8
(
&hdev->lock){+.+.}-{4:4}, at: l2cap_unregister_user+0x6a/0x1b0 net/bluetooth/l2cap_core.c:1728
#1:
ffffffff8f6a2770
(hidp_session_sem){++++}-{4:4}, at: hidp_session_remove+0x2c/0x260 net/bluetooth/hidp/core.c:1165
1 lock held by khidpd_16c05515/7396:
#0: ffff888078e580b8 (&hdev->lock){+.+.}-{4:4}, at: l2cap_unregister_user+0x6a/0x1b0 net/bluetooth/l2cap_core.c:1728
1 lock held by syz.1.995/9345:
#0: ffff888078e580b8 (&hdev->lock){+.+.}-{4:4}, at: hci_get_conn_list+0x14b/0x740 net/bluetooth/hci_conn.c:2615
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.16.0-rc3-syzkaller-00998-g5f712c3877f9 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:307 [inline]
watchdog+0xfee/0x1030 kernel/hung_task.c:470
kthread+0x70e/0x8a0 kernel/kthread.c:464
ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 2155 Comm: kworker/1:2 Not tainted 6.16.0-rc3-syzkaller-00998-g5f712c3877f9 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: events hidp_session_dev_work
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:26 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:109 [inline]
RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:127 [inline]
RIP: 0010:lock_acquire+0xcd/0x360 kernel/locking/lockdep.c:5867
Code: 0f 85 eb 00 00 00 65 48 8b 04 25 08 80 9d 92 83 b8 ec 0a 00 00 00 0f 85 d5 00 00 00 48 c7 44 24 30 00 00 00 00 9c 8f 44 24 30 <4c> 89 74 24 10 4d 89 fe 4c 8b 7c 24 30 fa 48 c7 c7 cd a9 99 8d e8
RSP: 0018:ffffc90000a085b8 EFLAGS: 00000046
RAX: ffff888029d38000 RBX: 0000000000000000 RCX: c53d8ba00b9d4000
RDX: 0000000000000000 RSI: ffffffff81728b12 RDI: 1ffffffff1c27dcc
RBP: ffffffff81728af5 R08: 0000000000000000 R09: 0000000000000000
R10: ffffc90000a08778 R11: ffffffff81ace6a0 R12: 0000000000000002
R13: ffffffff8e13ee60 R14: 0000000000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff888125d48000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f580b984338 CR3: 00000000785de000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
rcu_read_lock include/linux/rcupdate.h:841 [inline]
class_rcu_constructor include/linux/rcupdate.h:1155 [inline]
unwind_next_frame+0xc2/0x2390 arch/x86/kernel/unwind_orc.c:479
arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122
kasan_save_stack+0x3e/0x60 mm/kasan/common.c:47
kasan_record_aux_stack+0xbd/0xd0 mm/kasan/generic.c:548
insert_work+0x3d/0x330 kernel/workqueue.c:2183
__queue_work+0xcfc/0xfe0 kernel/workqueue.c:2341
mod_delayed_work_on+0xf8/0x200 kernel/workqueue.c:2597
kblockd_mod_delayed_work_on+0x29/0x40 block/blk-core.c:1115
mq_flush_data_end_io+0x35c/0x4e0 block/blk-flush.c:362
__blk_mq_end_request+0x426/0x600 block/blk-mq.c:1139
scsi_end_request+0x4b3/0x830 drivers/scsi/scsi_lib.c:670
scsi_io_completion+0x131/0x390 drivers/scsi/scsi_lib.c:1078
blk_complete_reqs block/blk-mq.c:1224 [inline]
blk_done_softirq+0x10a/0x160 block/blk-mq.c:1229
handle_softirqs+0x286/0x870 kernel/softirq.c:579
__do_softirq kernel/softirq.c:613 [inline]
invoke_softirq kernel/softirq.c:453 [inline]
__irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680
irq_exit_rcu+0x9/0x30 kernel/softirq.c:696
common_interrupt+0xbb/0xe0 arch/x86/kernel/irq.c:285
asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:693
RIP: 0010:console_trylock_spinning kernel/printk/printk.c:2061 [inline]
RIP: 0010:vprintk_emit+0x58f/0x7a0 kernel/printk/printk.c:2449
Code: 85 32 01 00 00 e8 51 65 1f 00 41 89 df 4d 85 f6 48 8b 1c 24 75 07 e8 40 65 1f 00 eb 06 e8 39 65 1f 00 fb 48 c7 c7 e0 30 13 8e <31> f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 45 31 c9 53 e8 b9 36
RSP: 0018:ffffc90005617060 EFLAGS: 00000293
RAX: ffffffff81a0ea97 RBX: ffffffff81a0e954 RCX: ffff888029d38000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8e1330e0
RBP: ffffc90005617170 R08: ffffffff8fa134f7 R09: 1ffffffff1f4269e
R10: dffffc0000000000 R11: fffffbfff1f4269f R12: dffffc0000000000
R13: 1ffff92000ac2e10 R14: 0000000000000200 R15: 000000000000003a
dev_vprintk_emit+0x337/0x3f0 drivers/base/core.c:4917
dev_printk_emit+0xe0/0x130 drivers/base/core.c:4928
_dev_warn+0x10a/0x160 drivers/base/core.c:4984
hid_parser_main+0x8b8/0xc40 drivers/hid/hid-core.c:-1
hid_open_report+0x85b/0xee0 drivers/hid/hid-core.c:1328
hid_parse include/linux/hid.h:1133 [inline]
hid_generic_probe+0x3d/0x90 drivers/hid/hid-generic.c:66
__hid_device_probe drivers/hid/hid-core.c:2724 [inline]
hid_device_probe+0x3a0/0x710 drivers/hid/hid-core.c:2761
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x26d/0x9a0 drivers/base/dd.c:657
__driver_probe_device+0x18c/0x2f0 drivers/base/dd.c:799
driver_probe_device+0x4f/0x430 drivers/base/dd.c:829
__device_attach_driver+0x2ce/0x530 drivers/base/dd.c:957
bus_for_each_drv+0x24e/0x2e0 drivers/base/bus.c:462
__device_attach+0x2b8/0x400 drivers/base/dd.c:1029
bus_probe_device+0x185/0x260 drivers/base/bus.c:537
device_add+0x7b6/0xb50 drivers/base/core.c:3692
hid_add_device+0x398/0x540 drivers/hid/hid-core.c:2907
hidp_session_dev_add net/bluetooth/hidp/core.c:856 [inline]
hidp_session_dev_work+0x45/0x160 net/bluetooth/hidp/core.c:895
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3321
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3402
kthread+0x70e/0x8a0 kernel/kthread.c:464
ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245