INFO: task kworker/0:3:3610 blocked for more than 143 seconds.
Not tainted 5.15.120-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:3 state:D stack:21152 pid: 3610 ppid: 2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
context_switch kernel/sched/core.c:5026 [inline]
__schedule+0x12c4/0x4590 kernel/sched/core.c:6372
schedule+0x11b/0x1f0 kernel/sched/core.c:6455
schedule_timeout+0xac/0x300 kernel/time/timer.c:1860
do_wait_for_common+0x2d9/0x480 kernel/sched/completion.c:85
__wait_for_common kernel/sched/completion.c:106 [inline]
wait_for_common kernel/sched/completion.c:117 [inline]
wait_for_completion+0x48/0x60 kernel/sched/completion.c:138
cleanup_rng drivers/char/hw_random/core.c:82 [inline]
kref_put include/linux/kref.h:65 [inline]
drop_current_rng+0x8b/0xf0 drivers/char/hw_random/core.c:110
set_current_rng+0x3ad/0x530 drivers/char/hw_random/core.c:97
hwrng_register+0x34a/0x4c0 drivers/char/hw_random/core.c:500
chaoskey_probe+0x79d/0xb40 drivers/usb/misc/chaoskey.c:205
usb_probe_interface+0x5c0/0xaf0 drivers/usb/core/driver.c:396
really_probe+0x24e/0xb60 drivers/base/dd.c:595
__driver_probe_device+0x1a2/0x3d0 drivers/base/dd.c:755
driver_probe_device+0x50/0x420 drivers/base/dd.c:785
__device_attach_driver+0x2b9/0x500 drivers/base/dd.c:907
bus_for_each_drv+0x183/0x200 drivers/base/bus.c:427
__device_attach+0x359/0x570 drivers/base/dd.c:979
bus_probe_device+0xba/0x1e0 drivers/base/bus.c:487
device_add+0xb48/0xfd0 drivers/base/core.c:3394
usb_set_configuration+0x19dd/0x2020 drivers/usb/core/message.c:2170
usb_generic_driver_probe+0x84/0x140 drivers/usb/core/generic.c:238
usb_probe_device+0x130/0x260 drivers/usb/core/driver.c:293
really_probe+0x24e/0xb60 drivers/base/dd.c:595
__driver_probe_device+0x1a2/0x3d0 drivers/base/dd.c:755
driver_probe_device+0x50/0x420 drivers/base/dd.c:785
__device_attach_driver+0x2b9/0x500 drivers/base/dd.c:907
bus_for_each_drv+0x183/0x200 drivers/base/bus.c:427
__device_attach+0x359/0x570 drivers/base/dd.c:979
bus_probe_device+0xba/0x1e0 drivers/base/bus.c:487
device_add+0xb48/0xfd0 drivers/base/core.c:3394
usb_new_device+0xc17/0x18d0 drivers/usb/core/hub.c:2568
hub_port_connect drivers/usb/core/hub.c:5358 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5502 [inline]
port_event drivers/usb/core/hub.c:5648 [inline]
hub_event+0x2dd8/0x56d0 drivers/usb/core/hub.c:5730
process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2307
worker_thread+0xaca/0x1280 kernel/workqueue.c:2454
kthread+0x3f6/0x4f0 kernel/kthread.c:319
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
Showing all locks held in the system:
1 lock held by khungtaskd/26:
#0: ffffffff8c91e6a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
1 lock held by hwrng/903:
#0: ffffffff8cff66a8 (rng_mutex){+.+.}-{3:3}, at: get_current_rng drivers/char/hw_random/core.c:127 [inline]
#0: ffffffff8cff66a8 (rng_mutex){+.+.}-{3:3}, at: hwrng_fillfn+0x36/0x280 drivers/char/hw_random/core.c:433
2 locks held by getty/3256:
#0: ffff88814aef5098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc90002bb32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1da0 drivers/tty/n_tty.c:2147
7 locks held by syz-executor.5/3572:
#0: ffff88801b39b918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfb/0x790 block/bdev.c:912
#1: ffff88801b29d468 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0xa9/0xbe0 drivers/block/loop.c:1365
#2: ffff8880b9a396d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xa8/0x140 kernel/sched/core.c:483
#3: ffff8880b9b27848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x53d/0x810 kernel/sched/psi.c:891
#4: ffffffff8c91e6a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:268
#5: ffff8880b9a396d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xa8/0x140 kernel/sched/core.c:483
#6: ffff8880b9b27848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_enqueue kernel/sched/stats.h:104 [inline]
#6: ffff8880b9b27848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: enqueue_task+0x2fe/0x3a0 kernel/sched/core.c:1973
2 locks held by kworker/u4:4/3609:
6 locks held by kworker/0:3/3610:
#0: ffff888016abe138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2280
#1: ffffc900037ffd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2282
#2: ffff888147c8c220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#2: ffff888147c8c220 (&dev->mutex){....}-{3:3}, at: hub_event+0x207/0x56d0 drivers/usb/core/hub.c:5676
#3: ffff8880922aa220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#3: ffff8880922aa220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x570 drivers/base/dd.c:954
#4: ffff8880922ad1a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#4: ffff8880922ad1a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x570 drivers/base/dd.c:954
#5: ffffffff8cff66a8 (rng_mutex){+.+.}-{3:3}, at: hwrng_register+0xa9/0x4c0 drivers/char/hw_random/core.c:473
3 locks held by kworker/0:7/3614:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2280
#1: ffffc9000383fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2282
#2: ffffffff8c922be8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline]
#2: ffffffff8c922be8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x350/0x740 kernel/rcu/tree_exp.h:842
2 locks held by kworker/u4:12/12133:
2 locks held by udevd/16982:
4 locks held by syz-executor.0/17999:
1 lock held by syz-executor.0/18000:
#0: ffff8880949f35c8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline]
#0: ffff8880949f35c8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: process_measurement+0x435/0x1d60 security/integrity/ima/ima_main.c:241
1 lock held by syz-executor.0/18007:
#0: ffff8880949f35c8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline]
#0: ffff8880949f35c8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: process_measurement+0x435/0x1d60 security/integrity/ima/ima_main.c:241
1 lock held by syz-executor.3/18004:
1 lock held by syz-executor.2/18005:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 26 Comm: khungtaskd Not tainted 5.15.120-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
watchdog+0xe72/0xeb0 kernel/hung_task.c:295
kthread+0x3f6/0x4f0 kernel/kthread.c:319
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 17999 Comm: syz-executor.0 Not tainted 5.15.120-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023
RIP: 0010:debug_smp_processor_id+0x7/0x10 lib/smp_processor_id.c:60
Code: 65 c7 05 a8 8b e7 75 00 00 00 00 48 c7 c7 20 ca 92 8a e8 2c 01 00 00 65 ff 0d 91 8b e7 75 5b c3 cc cc cc 48 c7 c7 20 62 d8 8a <48> c7 c6 60 62 d8 8a eb 00 41 57 41 56 41 54 53 48 83 ec 10 65 48
RSP: 0018:ffffc90002dfe918 EFLAGS: 00000246
RAX: 1ffff11003be46a0 RBX: 0000000000000000 RCX: ffffffff913cb003
RDX: ffffc90002ef1000 RSI: 000000000003ffff RDI: ffffffff8ad86220
RBP: 0000000000000000 R08: ffffffff83f7738b R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff88801e73d400
R13: dffffc0000000000 R14: ffffffff8ad77260 R15: 0000607f46222330
FS: 00007f1aefc5a700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb028826000 CR3: 00000000780ad000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__dd_dispatch_request block/mq-deadline.c:518 [inline]
dd_dispatch_request+0x66d/0x9d0 block/mq-deadline.c:543
__blk_mq_do_dispatch_sched block/blk-mq-sched.c:148 [inline]
blk_mq_do_dispatch_sched+0x41c/0xd50 block/blk-mq-sched.c:214
__blk_mq_sched_dispatch_requests+0x39b/0x490
blk_mq_sched_dispatch_requests+0xec/0x160 block/blk-mq-sched.c:366
__blk_mq_run_hw_queue+0x11a/0x1b0 block/blk-mq.c:1495
__blk_mq_delay_run_hw_queue+0x132/0x5e0 block/blk-mq.c:1572
blk_mq_run_hw_queue+0x1d5/0x3c0 block/blk-mq.c:1625
blk_mq_sched_insert_requests+0x2cd/0x570 block/blk-mq-sched.c:519
blk_mq_flush_plug_list+0x5de/0x6b0 block/blk-mq.c:1949
blk_flush_plug_list+0x44b/0x490 block/blk-core.c:1740
blk_mq_submit_bio+0xe7b/0x1c40 block/blk-mq.c:2264
__submit_bio+0x813/0x850 block/blk-core.c:923
__submit_bio_noacct_mq block/blk-core.c:1003 [inline]
submit_bio_noacct+0xa44/0xb30 block/blk-core.c:1033
submit_bio+0x2dd/0x560 block/blk-core.c:1095
iomap_dio_submit_bio fs/iomap/direct-io.c:75 [inline]
iomap_dio_bio_iter+0xe5c/0x1540 fs/iomap/direct-io.c:346
__iomap_dio_rw+0xf9f/0x1f40 fs/iomap/direct-io.c:586
iomap_dio_rw+0x38/0x80 fs/iomap/direct-io.c:672
ext4_dio_write_iter fs/ext4/file.c:570 [inline]
ext4_file_write_iter+0x1779/0x1990 fs/ext4/file.c:681
call_write_iter include/linux/fs.h:2103 [inline]
new_sync_write fs/read_write.c:507 [inline]
vfs_write+0xacf/0xe50 fs/read_write.c:594
ksys_write+0x1a2/0x2c0 fs/read_write.c:647
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f1af16e8389
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1aefc5a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f1af1807f80 RCX: 00007f1af16e8389
RDX: 00000000175d9003 RSI: 0000000020000200 RDI: 0000000000000003
RBP: 00007f1af1733493 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcaa66dd6f R14: 00007f1aefc5a300 R15: 0000000000022000