INFO: task syz.1.329:6154 blocked for more than 147 seconds.
Not tainted 6.11.0-rc3-syzkaller-00036-g9d5906799f7d #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.329 state:D stack:28048 pid:6154 tgid:6153 ppid:5220 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5188 [inline]
__schedule+0xe37/0x5490 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6621
schedule_timeout+0x258/0x2a0 kernel/time/timer.c:2557
do_wait_for_common kernel/sched/completion.c:95 [inline]
__wait_for_common+0x3de/0x5f0 kernel/sched/completion.c:116
__flush_work+0x5bd/0xc60 kernel/workqueue.c:4208
__cancel_work_sync+0x10c/0x130 kernel/workqueue.c:4328
uhid_dev_destroy drivers/hid/uhid.c:584 [inline]
uhid_char_write+0xc0b/0x10c0 drivers/hid/uhid.c:761
vfs_write+0x29a/0x1140 fs/read_write.c:588
ksys_write+0x1f8/0x260 fs/read_write.c:643
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f6c6e5799b9
RSP: 002b:00007f6c6f40f038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f6c6e715f80 RCX: 00007f6c6e5799b9
RDX: 0000000000000004 RSI: 0000000020001680 RDI: 0000000000000003
RBP: 00007f6c6e5e78d8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f6c6e715f80 R15: 00007ffc735f4588
Showing all locks held in the system:
3 locks held by kworker/u8:1/12:
#0: ffff888019ed9148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206
#1: ffffc90000117d80 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207
#2: ffff888016a860e0 (&type->s_umount_key#35){++++}-{3:3}, at: super_trylock_shared+0x1e/0xf0 fs/super.c:562
1 lock held by khungtaskd/31:
#0: ffffffff8ddb5ba0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline]
#0: ffffffff8ddb5ba0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline]
#0: ffffffff8ddb5ba0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6626
3 locks held by kworker/u8:3/52:
2 locks held by getty/4976:
#0: ffff88802bb520a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900031232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2211
3 locks held by kworker/0:5/5270:
1 lock held by syz.1.329/6154:
#0: ffff88807b018068 (&uhid->devlock){+.+.}-{3:3}, at: uhid_char_write+0x71/0x10c0 drivers/hid/uhid.c:731
2 locks held by syz.0.1012/7967:
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.11.0-rc3-syzkaller-00036-g9d5906799f7d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:119
nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xf4e/0x1280 kernel/hung_task.c:379
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 5270 Comm: kworker/0:5 Not tainted 6.11.0-rc3-syzkaller-00036-g9d5906799f7d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
Workqueue: events uhid_device_add_worker
RIP: 0010:task_css_set include/linux/cgroup.h:420 [inline]
RIP: 0010:task_dfl_cgroup include/linux/cgroup.h:489 [inline]
RIP: 0010:cgroup_account_cputime include/linux/cgroup.h:717 [inline]
RIP: 0010:update_curr_task+0x2b8/0x430 kernel/sched/fair.c:1133
Code: 48 89 de e8 0a fc fb ff 65 ff 0d eb 82 a6 7e 0f 85 6e fd ff ff e8 18 49 a3 ff e9 6b fd ff ff 5b 5d 41 5c 41 5d c3 cc cc cc cc c3 88 12 00 85 c0 0f 85 88 fe ff ff be ff ff ff ff 48 c7 c7 48
RSP: 0018:ffffc90000007bd0 EFLAGS: 00000002
RAX: 0000000000000001 RBX: ffff88802bba5a00 RCX: 0000000000000001
RDX: 1ffff11005774da9 RSI: ffffffff8b4cc7c0 RDI: ffff88802bba6d48
RBP: 0000000000164202 R08: 0000000000000000 R09: fffffbfff2025c5b
R10: ffffffff9012e2df R11: ffff8880b9228a40 R12: ffffffff8de01bc0
R13: ffff8880271b9c38 R14: ffff8880b923eff8 R15: ffff88802bba5aa8
FS: 0000000000000000(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000562ad4bf65f0 CR3: 000000002ada0000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
update_curr+0x319/0x410 kernel/sched/fair.c:1173
enqueue_entity+0x52/0x14a0 kernel/sched/fair.c:5293
enqueue_task_fair+0x15d/0x870 kernel/sched/fair.c:6774
enqueue_task+0xb3/0x350 kernel/sched/core.c:1979
activate_task kernel/sched/core.c:2009 [inline]
ttwu_do_activate+0x195/0x9b0 kernel/sched/core.c:3582
ttwu_queue kernel/sched/core.c:3846 [inline]
try_to_wake_up+0x57c/0x13e0 kernel/sched/core.c:4167
hrtimer_wakeup+0x47/0x60 kernel/time/hrtimer.c:1925
__run_hrtimer kernel/time/hrtimer.c:1689 [inline]
__hrtimer_run_queues+0x20c/0xcc0 kernel/time/hrtimer.c:1753
hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1815
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline]
__sysvec_apic_timer_interrupt+0x10f/0x450 arch/x86/kernel/apic/apic.c:1049
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1043
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:console_trylock_spinning kernel/printk/printk.c:2010 [inline]
RIP: 0010:vprintk_emit kernel/printk/printk.c:2347 [inline]
RIP: 0010:vprintk_emit+0x4c2/0x5a0 kernel/printk/printk.c:2303
Code: 00 4d 85 e4 0f 85 8e 00 00 00 e8 99 13 1f 00 9c 5b 81 e3 00 02 00 00 31 ff 48 89 de e8 f7 15 1f 00 48 85 db 0f 85 9a 00 00 00 79 13 1f 00 45 31 c9 41 b8 01 00 00 00 31 c9 48 8d 05 00 00 00
RSP: 0018:ffffc9000324f460 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff816b6cac
RDX: ffff88802bba5a00 RSI: ffffffff816b6cb6 RDI: 0000000000000007
RBP: 000000000000003a R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000200
R13: ffff8880186cbc00 R14: ffffffff8bdb5240 R15: ffffc9000324f4c0
dev_vprintk_emit drivers/base/core.c:4912 [inline]
dev_printk_emit+0xfb/0x140 drivers/base/core.c:4923
__dev_printk+0xf5/0x270 drivers/base/core.c:4935
_dev_warn+0xe5/0x120 drivers/base/core.c:4979
hid_parser_main+0x2b6/0xc70 drivers/hid/hid-core.c:632
hid_open_report+0x3f4/0x7c0 drivers/hid/hid-core.c:1276
hid_parse include/linux/hid.h:1118 [inline]
hid_generic_probe+0x4d/0x90 drivers/hid/hid-generic.c:63
__hid_device_probe drivers/hid/hid-core.c:2674 [inline]
hid_device_probe+0x2eb/0x490 drivers/hid/hid-core.c:2711
call_driver_probe drivers/base/dd.c:578 [inline]
really_probe+0x23e/0xa90 drivers/base/dd.c:657
__driver_probe_device+0x1de/0x440 drivers/base/dd.c:799
driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:829
__device_attach_driver+0x1df/0x310 drivers/base/dd.c:957
bus_for_each_drv+0x157/0x1e0 drivers/base/bus.c:457
__device_attach+0x1e8/0x4b0 drivers/base/dd.c:1029
bus_probe_device+0x17f/0x1c0 drivers/base/bus.c:532
device_add+0x114b/0x1a70 drivers/base/core.c:3682
hid_add_device+0x37f/0xa70 drivers/hid/hid-core.c:2857
uhid_device_add_worker+0x3e/0x110 drivers/hid/uhid.c:73
process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3231
process_scheduled_works kernel/workqueue.c:3312 [inline]
worker_thread+0x6c8/0xf20 kernel/workqueue.c:3390
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244