INFO: task syz-executor.2:6137 blocked for more than 143 seconds.
Not tainted 6.4.0-rc6-next-20230616-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D
stack:26984 pid:6137 ppid:6020 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5380 [inline]
__schedule+0x1d15/0x5790 kernel/sched/core.c:6709
schedule+0xde/0x1a0 kernel/sched/core.c:6785
schedule_timeout+0x276/0x2b0 kernel/time/timer.c:2143
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common+0x1ce/0x5c0 kernel/sched/completion.c:106
__flush_work+0x595/0xb60 kernel/workqueue.c:3383
__cancel_work_timer+0x3f9/0x570 kernel/workqueue.c:3470
uhid_dev_destroy drivers/hid/uhid.c:585 [inline]
uhid_char_release+0xca/0x210 drivers/hid/uhid.c:663
__fput+0x289/0xac0 fs/file_table.c:378
task_work_run+0x16f/0x270 kernel/task_work.c:179
exit_task_work include/linux/task_work.h:38 [inline]
do_exit+0xadc/0x2a30 kernel/exit.c:874
do_group_exit+0xd4/0x2a0 kernel/exit.c:1024
get_signal+0x249b/0x25f0 kernel/signal.c:2877
arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306
exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204
__syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297
do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f241d43e12b
RSP: 002b:00007fff934137b0 EFLAGS: 00000293
ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f241d43e12b
RDX: 00007f241d002538 RSI: ffffffffffffffff RDI: 0000000000000003
RBP: 00007f241d5ad980 R08: 0000000000000000 R09: 00007f241d000000
R10: 00007f241d002540 R11: 0000000000000293 R12: 000000000005d161
R13: 00007fff934138b0 R14: 00007f241d5abf80 R15: 0000000000000032
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8c9a1ab0 (rcu_tasks.tasks_gp_mutex
){+.+.}-{3:3}
, at: rcu_tasks_one_gp+0x31/0xe60 kernel/rcu/tasks.h:568
1 lock held by rcu_tasks_trace/14:
#0:
ffffffff8c9a1770
(
rcu_tasks_trace.tasks_gp_mutex
){+.+.}-{3:3}
, at: rcu_tasks_one_gp+0x31/0xe60 kernel/rcu/tasks.h:568
1 lock held by khungtaskd/28:
#0:
ffffffff8c9a26c0
(rcu_read_lock
){....}-{1:2}
, at: debug_show_all_locks+0x51/0x390 kernel/locking/lockdep.c:6615
1 lock held by khugepaged/34:
#0:
ffff8880b983c458
(
&rq->__lock
){-.-.}-{2:2}
, at: raw_spin_rq_lock_nested+0x2f/0x120 kernel/sched/core.c:558
3 locks held by kworker/0:2/775:
2 locks held by getty/4776:
#0:
ffff88802cea2098
(
&tty->ldisc_sem
){++++}-{0:0}
, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243
#1:
ffffc900015c02f0
(
&ldata->atomic_read_lock
){+.+.}-{3:3}
, at: n_tty_read+0xf02/0x13f0 drivers/tty/n_tty.c:2176
3 locks held by kworker/1:3/5091:
3 locks held by kworker/1:6/5096:
3 locks held by kworker/0:5/5104:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc6-next-20230616-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106
nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x2a4/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:154 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xe16/0x1090 kernel/hung_task.c:379
kthread+0x344/0x440 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 775 Comm: kworker/0:2 Not tainted 6.4.0-rc6-next-20230616-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
Workqueue: events uhid_device_add_worker
RIP: 0010:__this_cpu_preempt_check+0x11/0x20 lib/smp_processor_id.c:66
Code: 00 00 48 c7 c6 a0 81 c7 8a 48 c7 c7 e0 81 c7 8a e9 74 fe ff ff 0f 1f 40 00 f3 0f 1e fa 55 48 89 fd 0f 1f 44 00 00 48 89 ee 5d <48> c7 c7 20 82 c7 8a e9 53 fe ff ff 0f 1f 00 41 57 41 56 41 55 41
RSP: 0018:ffffc90000007af0 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffffffff8a6c7280 RDI: ffffffff8a6c7280
RBP: ffffffff8c9a2600 R08: 0000000000000000 R09: fffffbfff1d53172
R10: ffffffff8ea98b97 R11: 0000000000000001 R12: ffff88801f0a3b80
R13: 0000000000000000 R14: 00000000ffffffff R15: ffff88801f0a46e8
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055b1fd3e8040 CR3: 000000002a727000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lockdep_recursion_finish kernel/locking/lockdep.c:467 [inline]
lock_is_held_type+0xdb/0x140 kernel/locking/lockdep.c:5833
lock_is_held include/linux/lockdep.h:288 [inline]
rcu_read_lock_sched_held+0x3e/0x70 kernel/rcu/update.c:125
task_css_set include/linux/cgroup.h:423 [inline]
task_dfl_cgroup include/linux/cgroup.h:492 [inline]
cgroup_account_cputime include/linux/cgroup.h:720 [inline]
update_curr+0x5d8/0x7c0 kernel/sched/fair.c:930
enqueue_entity+0x2cb/0x1470 kernel/sched/fair.c:4836
enqueue_task_fair+0x154/0xb90 kernel/sched/fair.c:6318
enqueue_task kernel/sched/core.c:2082 [inline]
activate_task+0xee/0x3d0 kernel/sched/core.c:2112
attach_task+0x118/0x1b0 kernel/sched/fair.c:8847
attach_tasks kernel/sched/fair.c:8882 [inline]
load_balance+0x1446/0x2dc0 kernel/sched/fair.c:10872
rebalance_domains+0x68b/0xc60 kernel/sched/fair.c:11258
__do_softirq+0x1d4/0x905 kernel/softirq.c:553
invoke_softirq kernel/softirq.c:427 [inline]
__irq_exit_rcu kernel/softirq.c:632 [inline]
irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644
sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1109
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:console_trylock_spinning kernel/printk/printk.c:1979 [inline]
RIP: 0010:vprintk_emit+0x3fe/0x600 kernel/printk/printk.c:2306
Code: a3 1b 00 48 85 db 0f 85 da 01 00 00 e8 0b a7 1b 00 31 ff 4c 89 f6 e8 41 a3 1b 00 4d 85 f6 74 06 e8 f7 a6 1b 00 fb f3 0f 1e fa ed a6 1b 00 45 31 c9 41 b8 01 00 00 00 31 c9 68 2a bb 68 81 ba
RSP: 0018:ffffc9000493f4b0 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88801f0a3b80 RSI: ffffffff8168bb29 RDI: 0000000000000007
RBP: ffffc9000493f4e8 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000200 R11: 0000000000000001 R12: 000000000000003a
R13: ffff888019275940 R14: 0000000000000200 R15: ffffc9000493f518
dev_vprintk_emit drivers/base/core.c:4840 [inline]
dev_printk_emit+0xda/0x120 drivers/base/core.c:4851
__dev_printk+0xf8/0x270 drivers/base/core.c:4863
_dev_warn+0xdc/0x120 drivers/base/core.c:4907
hid_parser_main+0x2ba/0xc10 drivers/hid/hid-core.c:632
hid_open_report+0x3de/0x7b0 drivers/hid/hid-core.c:1269
hid_parse include/linux/hid.h:1091 [inline]
hid_generic_probe+0x4e/0x90 drivers/hid/hid-generic.c:63
__hid_device_probe drivers/hid/hid-core.c:2626 [inline]
hid_device_probe+0x2e7/0x480 drivers/hid/hid-core.c:2663
call_driver_probe drivers/base/dd.c:579 [inline]
really_probe+0x240/0xca0 drivers/base/dd.c:658
__driver_probe_device+0x1df/0x4b0 drivers/base/dd.c:798
driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:828
__device_attach_driver+0x1d4/0x2e0 drivers/base/dd.c:956
bus_for_each_drv+0x149/0x1d0 drivers/base/bus.c:457
__device_attach+0x1e4/0x4b0 drivers/base/dd.c:1028
bus_probe_device+0x17c/0x1c0 drivers/base/bus.c:532
device_add+0x112d/0x1a40 drivers/base/core.c:3625
hid_add_device+0x377/0xa60 drivers/hid/hid-core.c:2809
uhid_device_add_worker+0x3e/0x110 drivers/hid/uhid.c:73
process_one_work+0xa34/0x16f0 kernel/workqueue.c:2594
worker_thread+0x67d/0x10c0 kernel/workqueue.c:2745
kthread+0x344/0x440 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308