INFO: task syz.5.21:6102 blocked for more than 143 seconds.
Not tainted 6.14.0-rc3-syzkaller-00267-gff202c5028a1 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.5.21 state:D
stack:26272 pid:6102 tgid:6102 ppid:6078 task_flags:0x400040 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5378 [inline]
__schedule+0x18bc/0x4c40 kernel/sched/core.c:6765
__schedule_loop kernel/sched/core.c:6842 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6857
schedule_timeout+0xb0/0x290 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+0x355/0x620 kernel/sched/completion.c:148
__flush_work+0xa47/0xc60 kernel/workqueue.c:4242
__cancel_work_sync+0xbc/0x110 kernel/workqueue.c:4362
uhid_dev_destroy drivers/hid/uhid.c:584 [inline]
uhid_char_release+0xac/0x600 drivers/hid/uhid.c:662
__fput+0x3e9/0x9f0 fs/file_table.c:464
task_work_run+0x24f/0x310 kernel/task_work.c:227
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x13f/0x340 kernel/entry/common.c:218
do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fcf4cf8d169
RSP: 002b:00007ffd8432eae8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 000000000005c9a2 RCX: 00007fcf4cf8d169
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007fcf4d1a7ba0 R08: 0000000000000001 R09: 000000028432eddf
R10: 00007fcf4ce00000 R11: 0000000000000246 R12: 00007fcf4d1a5fac
R13: 00007fcf4d1a5fa0 R14: ffffffffffffffff R15: 00007ffd8432ec00
Showing all locks held in the system:
5 locks held by kworker/u8:1/12:
3 locks held by kworker/1:0/25:
1 lock held by khungtaskd/30:
#0:
ffffffff8eb38f60
(
rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6746
3 locks held by kworker/0:3/1221:
4 locks held by udevd/5199:
#0:
ffff888030df89e0
(&p->lock
){+.+.}-{4:4}
, at: seq_read_iter+0xb4/0xd70 fs/seq_file.c:182
#1: ffff88807f49b088 (&of->mutex#2){+.+.}-{4:4}, at: kernfs_seq_start+0x53/0x3b0 fs/kernfs/file.c:154
#2:
ffff8880345840f8
(
kn->active
#5
){++++}-{0:0}, at: kernfs_seq_start+0x72/0x3b0 fs/kernfs/file.c:155
#3: ffff88802a8f5a20 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1030 [inline]
#3: ffff88802a8f5a20 (&dev->mutex){....}-{4:4}, at: uevent_show+0x17d/0x340 drivers/base/core.c:2729
2 locks held by getty/5586:
#0: ffff88814d67b0a0 (
&tty->ldisc_sem
){++++}-{0:0}
, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1:
ffffc9000332b2f0
(&ldata->atomic_read_lock
){+.+.}-{4:4}
, at: n_tty_read+0x616/0x1770 drivers/tty/n_tty.c:2211
8 locks held by kworker/1:3/5987:
3 locks held by kworker/1:5/6062:
3 locks held by kworker/0:7/6235:
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.14.0-rc3-syzkaller-00267-gff202c5028a1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:236 [inline]
watchdog+0x1058/0x10a0 kernel/hung_task.c:399
kthread+0x7a9/0x920 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 5987 Comm: kworker/1:3 Not tainted 6.14.0-rc3-syzkaller-00267-gff202c5028a1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Workqueue: events uhid_device_add_worker
RIP: 0010:match_held_lock+0x10/0xb0 kernel/locking/lockdep.c:5300
Code: f9 ff ff 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 53 bd 01 00 00 00 48 39 77 10 74 67 48 89 fb <81> 7f 20 00 00 20 00 72 59 48 8b 46 08 48 85 c0 75 11 31 ed 48 89
RSP: 0018:ffffc90000a18a28 EFLAGS: 00000016
RAX: 0000000000000006 RBX: ffff88802667c790 RCX: ffff88802667bc00
RDX: ffff88802667bc00 RSI: ffff88801b0a0018 RDI: ffff88802667c790
RBP: 0000000000000001 R08: ffffffff818a41b6 R09: 1ffffffff207784e
R10: dffffc0000000000 R11: fffffbfff207784f R12: 0000000000000046
R13: ffff88802667bc00 R14: 00000000ffffffff R15: ffff88801b0a0018
FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000400000001140 CR3: 000000007aeae000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__lock_is_held kernel/locking/lockdep.c:5592 [inline]
lock_is_held_type+0xa9/0x190 kernel/locking/lockdep.c:5923
lock_is_held include/linux/lockdep.h:249 [inline]
pwq_tryinc_nr_active+0x14f/0x720 kernel/workqueue.c:1717
__queue_work+0xb13/0xf50 kernel/workqueue.c:2334
call_timer_fn+0x187/0x650 kernel/time/timer.c:1789
expire_timers kernel/time/timer.c:1835 [inline]
__run_timers kernel/time/timer.c:2414 [inline]
__run_timer_base+0x695/0x8e0 kernel/time/timer.c:2426
run_timer_base kernel/time/timer.c:2435 [inline]
run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2445
handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561
__do_softirq kernel/softirq.c:595 [inline]
invoke_softirq kernel/softirq.c:435 [inline]
__irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662
irq_exit_rcu+0x9/0x30 kernel/softirq.c:678
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:console_trylock_spinning kernel/printk/printk.c:2061 [inline]
RIP: 0010:vprintk_emit+0x700/0xa10 kernel/printk/printk.c:2431
Code: 00 e8 c4 31 21 00 4c 8d bc 24 a0 00 00 00 4d 85 e4 75 07 e8 b2 31 21 00 eb 06 e8 ab 31 21 00 fb 49 bc 00 00 00 00 00 fc ff df <48> c7 c7 20 4b a1 8e 31 f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00
RSP: 0018:ffffc900030c7080 EFLAGS: 00000293
RAX: ffffffff81a08885 RBX: 0000000000000000 RCX: ffff88802667bc00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900030c7190 R08: ffffffff81a0885e R09: 1ffffffff28a2329
R10: dffffc0000000000 R11: fffffbfff28a232a R12: dffffc0000000000
R13: 1ffff92000618e14 R14: ffffffff81a086c0 R15: ffffc900030c7120
dev_vprintk_emit+0x341/0x400 drivers/base/core.c:4890
dev_printk_emit+0xdd/0x120 drivers/base/core.c:4901
_dev_warn+0x122/0x170 drivers/base/core.c:4957
hid_parser_main+0x812/0xc00 drivers/hid/hid-core.c:660
hid_open_report+0xbd8/0x1580 drivers/hid/hid-core.c:1324
hid_parse include/linux/hid.h:1124 [inline]
hid_generic_probe+0x3d/0x90 drivers/hid/hid-generic.c:66
__hid_device_probe drivers/hid/hid-core.c:2713 [inline]
hid_device_probe+0x3bf/0x710 drivers/hid/hid-core.c:2750
really_probe+0x2b9/0xad0 drivers/base/dd.c:658
__driver_probe_device+0x1a2/0x390 drivers/base/dd.c:800
driver_probe_device+0x50/0x430 drivers/base/dd.c:830
__device_attach_driver+0x2d6/0x530 drivers/base/dd.c:958
bus_for_each_drv+0x24e/0x2e0 drivers/base/bus.c:462
__device_attach+0x333/0x520 drivers/base/dd.c:1030
bus_probe_device+0x189/0x260 drivers/base/bus.c:537
device_add+0x856/0xbf0 drivers/base/core.c:3665
hid_add_device+0x3b6/0x520 drivers/hid/hid-core.c:2896
uhid_device_add_worker+0x44/0xf0 drivers/hid/uhid.c:73
process_one_work kernel/workqueue.c:3236 [inline]
process_scheduled_works+0xabe/0x18e0 kernel/workqueue.c:3317
worker_thread+0x870/0xd30 kernel/workqueue.c:3398
kthread+0x7a9/0x920 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244