INFO: task syz-executor.2:5175 blocked for more than 143 seconds.
Not tainted 6.8.0-rc6-syzkaller-00011-g45ec2f5f6ed3 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:26616 pid:5175 tgid:5175 ppid:5101 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5400 [inline]
__schedule+0x17d1/0x49f0 kernel/sched/core.c:6727
__schedule_loop kernel/sched/core.c:6802 [inline]
schedule+0x149/0x260 kernel/sched/core.c:6817
schedule_timeout+0xb0/0x310 kernel/time/timer.c:2159
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+0x354/0x620 kernel/sched/completion.c:148
__flush_work+0x950/0xad0 kernel/workqueue.c:3410
__cancel_work_timer+0x51d/0x6b0 kernel/workqueue.c:3497
uhid_dev_destroy drivers/hid/uhid.c:584 [inline]
uhid_char_release+0xaf/0x600 drivers/hid/uhid.c:662
__fput+0x429/0x8a0 fs/file_table.c:376
__do_sys_close fs/open.c:1554 [inline]
__se_sys_close fs/open.c:1539 [inline]
__x64_sys_close+0x7e/0x110 fs/open.c:1539
do_syscall_64+0xf9/0x240
entry_SYSCALL_64_after_hwframe+0x6f/0x77
RIP: 0033:0x7f1c2f67cc9a
RSP: 002b:00007ffff2a7b790 EFLAGS: 00000293
ORIG_RAX: 0000000000000003
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f1c2f67cc9a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 0000000000000048 R08: 0000001b31860000 R09: 00007f1c2f7abf8c
R10: 0000000000000120 R11: 0000000000000293 R12: 00007f1c2f2003c0
R13: ffffffffffffffff R14: 00007f1c2f200000 R15: 0000000000015609
INFO: task syz-executor.1:5177 blocked for more than 144 seconds.
Not tainted 6.8.0-rc6-syzkaller-00011-g45ec2f5f6ed3 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D
stack:26416 pid:5177 tgid:5177 ppid:5089 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5400 [inline]
__schedule+0x17d1/0x49f0 kernel/sched/core.c:6727
__schedule_loop kernel/sched/core.c:6802 [inline]
schedule+0x149/0x260 kernel/sched/core.c:6817
schedule_timeout+0xb0/0x310 kernel/time/timer.c:2159
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+0x354/0x620 kernel/sched/completion.c:148
__flush_work+0x950/0xad0 kernel/workqueue.c:3410
__cancel_work_timer+0x51d/0x6b0 kernel/workqueue.c:3497
uhid_dev_destroy drivers/hid/uhid.c:584 [inline]
uhid_char_release+0xaf/0x600 drivers/hid/uhid.c:662
__fput+0x429/0x8a0 fs/file_table.c:376
__do_sys_close fs/open.c:1554 [inline]
__se_sys_close fs/open.c:1539 [inline]
__x64_sys_close+0x7e/0x110 fs/open.c:1539
do_syscall_64+0xf9/0x240
entry_SYSCALL_64_after_hwframe+0x6f/0x77
RIP: 0033:0x7f7b3467cc9a
RSP: 002b:00007fff45a7dd80 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f7b3467cc9a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 0000000000000048 R08: 0000001b31960000 R09: 00007f7b347abf8c
R10: 0000000000000120 R11: 0000000000000293 R12: 00007f7b342003c0
R13: ffffffffffffffff R14: 00007f7b34200000 R15: 0000000000015741
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#0:
ffffffff8e130be0 (
rcu_read_lock
){....}-{1:2}
, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
3 locks held by kworker/1:2/55:
3 locks held by kworker/u4:5/79:
4 locks held by kworker/u4:6/1080:
#0: ffff8880162f4938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline]
#0: ffff8880162f4938 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706
#1: ffffc900049f7d20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline]
#1: ffffc900049f7d20 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706
#2: ffffffff8f369610 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf5/0xb90 net/core/net_namespace.c:580
#3: ffffffff8e136440 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x4c/0x550 kernel/rcu/tree.c:4064
2 locks held by getty/4820:
#0:
ffff88802b07c0a0
(
&tty->ldisc_sem
){++++}-{0:0}
, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1:
ffffc90002f062f0
(
&ldata->atomic_read_lock
){+.+.}-{3:3}
, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201
7 locks held by kworker/1:4/5137:
3 locks held by kworker/0:6/5144:
#0: ffff888014c8c938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline]
#0: ffff888014c8c938 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706
#1: ffffc90004947d20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline]
#1: ffffc90004947d20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706
#2: ffffffff8f375b88 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:281
1 lock held by syz-executor.0/5179:
#0:
ffffffff8f375b88
(
rtnl_mutex
){+.+.}-{3:3}
, at: tun_detach drivers/net/tun.c:697 [inline]
, at: tun_chr_close+0x3e/0x1b0 drivers/net/tun.c:3505
2 locks held by kworker/0:8/5245:
#0:
ffff888014c8e538
(
(wq_completion)rcu_gp
){+.+.}-{0:0}
, at: process_one_work kernel/workqueue.c:2608 [inline]
, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706
#1:
ffffc90004f17d20
(
(work_completion)(&rew->rew_work)
){+.+.}-{0:0}
, at: process_one_work kernel/workqueue.c:2608 [inline]
, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706
7 locks held by syz-executor.1/5277:
#0: ffff88802ce54420
(sb_writers
#8
){.+.+}-{0:0}
, at: file_start_write include/linux/fs.h:2794 [inline]
, at: vfs_write+0x233/0xcb0 fs/read_write.c:586
#1:
ffff8880672a0c88
(
&of->mutex){+.+.}-{3:3}
, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325
#2:
ffff8880231b1d98 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326
#3: ffffffff8ecb5688 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216
#4: ffff8880116ef0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline]
#4: ffff8880116ef0e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline]
#4: ffff8880116ef0e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xce/0x7c0 drivers/base/dd.c:1292
#5:
ffff88806feb0250
(
&devlink->lock_key
#8
){+.+.}-{3:3}
, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1672
#6:
ffffffff8e136578
(
rcu_state.exp_mutex
){+.+.}-{3:3}
, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline]
, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:995
4 locks held by syz-executor.3/5278:
#0:
ffff88802ce54420
(
sb_writers
#8
){.+.+}-{0:0}
, at: file_start_write include/linux/fs.h:2794 [inline]
, at: vfs_write+0x233/0xcb0 fs/read_write.c:586
#1:
ffff88802a70a088
(
&of->mutex
){+.+.}-{3:3}
, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325
#2:
ffff8880231b1d98
(
kn->active
#50
){.+.+}-{0:0}
, at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326
#3:
ffffffff8ecb5688 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216
4 locks held by syz-executor.0/5291:
#0:
ffff88802ce54420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2794 [inline]
ffff88802ce54420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x233/0xcb0 fs/read_write.c:586
#1: ffff888025cfb488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325
#2: ffff8880231b1d98 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326
#3: ffffffff8ecb5688 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216
4 locks held by syz-executor.2/5294:
#0: ffff88802ce54420
(
sb_writers
#8
){.+.+}-{0:0}
, at: file_start_write include/linux/fs.h:2794 [inline]
, at: vfs_write+0x233/0xcb0 fs/read_write.c:586
#1: ffff88802d98e488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325
#2:
ffff8880231b1d98
(
kn->active
#50
){.+.+}-{0:0}
, at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326
#3:
ffffffff8ecb5688
(
nsim_bus_dev_list_lock
){+.+.}-{3:3}
, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216
4 locks held by syz-executor.4/5320:
#0:
ffff88802ce54420
(
sb_writers
#8
){.+.+}-{0:0}
, at: file_start_write include/linux/fs.h:2794 [inline]
, at: vfs_write+0x233/0xcb0 fs/read_write.c:586
#1:
ffff88802d98e088
(
&of->mutex
){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325
#2: ffff8880231b1d98 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326
#3: ffffffff8ecb5688 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc6-syzkaller-00011-g45ec2f5f6ed3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e7/0x2e0 lib/dump_stack.c:106
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:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xfaf/0xff0 kernel/hung_task.c:379
kthread+0x2ef/0x390 kernel/kthread.c:388
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 5137 Comm: kworker/1:4 Not tainted 6.8.0-rc6-syzkaller-00011-g45ec2f5f6ed3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Workqueue: events uhid_device_add_worker
RIP: 0010:io_serial_out+0x7e/0xc0 drivers/tty/serial/8250/8250_port.c:417
Code: fc 89 e9 41 d3 e7 48 83 c3 40 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 fc c3 c9 fc 44 03 3b 44 89 f0 44 89 fa ee <5b> 41 5c 41 5e 41 5f 5d c3 cc cc cc cc 89 e9 80 e1 07 38 c1 7c a7
RSP: 0018:ffffc900048f6c70 EFLAGS: 00000002
RAX: 0000000000000033 RBX: ffffffff947b2980 RCX: 0000000000000000
RDX: 00000000000003f8 RSI: 0000000000000000 RDI: 0000000000000020
RBP: 0000000000000000 R08: ffffffff852bcd4b R09: 1ffff11003ef2046
R10: dffffc0000000000 R11: ffffffff852bcd00 R12: dffffc0000000000
R13: 0000000000000033 R14: 0000000000000033 R15: 00000000000003f8
FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055b9f669c298 CR3: 00000000303f2000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
serial8250_console_write+0x1289/0x1840 drivers/tty/serial/8250/8250_port.c:3444
console_emit_next_record kernel/printk/printk.c:2901 [inline]
console_flush_all+0x808/0xec0 kernel/printk/printk.c:2967
console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3036
vprintk_emit+0x508/0x720 kernel/printk/printk.c:2303
dev_vprintk_emit+0x2ae/0x330 drivers/base/core.c:4864
dev_printk_emit+0xdd/0x120 drivers/base/core.c:4875
_dev_warn+0x122/0x170 drivers/base/core.c:4931
hid_parser_main+0x71f/0xaa0 drivers/hid/hid-core.c:632
hid_open_report+0xafa/0x14a0 drivers/hid/hid-core.c:1276
hid_parse include/linux/hid.h:1118 [inline]
hid_generic_probe+0x3d/0x90 drivers/hid/hid-generic.c:63
__hid_device_probe drivers/hid/hid-core.c:2633 [inline]
hid_device_probe+0x26e/0x4f0 drivers/hid/hid-core.c:2670
really_probe+0x29e/0xc50 drivers/base/dd.c:658
__driver_probe_device+0x1a2/0x3e0 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:457
__device_attach+0x333/0x520 drivers/base/dd.c:1030
bus_probe_device+0x189/0x260 drivers/base/bus.c:532
device_add+0x8ff/0xca0 drivers/base/core.c:3639
hid_add_device+0x3b6/0x520 drivers/hid/hid-core.c:2816
uhid_device_add_worker+0x44/0xf0 drivers/hid/uhid.c:73
process_one_work kernel/workqueue.c:2633 [inline]
process_scheduled_works+0x913/0x1420 kernel/workqueue.c:2706
worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787
kthread+0x2ef/0x390 kernel/kthread.c:388
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243