INFO: task kworker/0:12:5198 blocked for more than 144 seconds. Not tainted 5.15.103-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:12 state:D stack: 0 pid: 5198 ppid: 2 flags:0x00000008 Workqueue: usb_hub_wq hub_event Call trace: __switch_to+0x308/0x5e8 arch/arm64/kernel/process.c:518 context_switch kernel/sched/core.c:5023 [inline] __schedule+0xfcc/0x1f1c kernel/sched/core.c:6369 schedule+0x11c/0x1c8 kernel/sched/core.c:6452 schedule_timeout+0xb8/0x344 kernel/time/timer.c:1860 do_wait_for_common+0x214/0x388 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+0x4c/0x64 kernel/sched/completion.c:138 virtio_cleanup+0x7c/0xa4 drivers/char/hw_random/virtio-rng.c:85 cleanup_rng drivers/char/hw_random/core.c:82 [inline] kref_put include/linux/kref.h:65 [inline] drop_current_rng+0xa8/0x140 drivers/char/hw_random/core.c:110 set_current_rng+0x358/0x4ac drivers/char/hw_random/core.c:97 hwrng_register+0x31c/0x4c8 drivers/char/hw_random/core.c:500 chaoskey_probe+0x618/0x92c drivers/usb/misc/chaoskey.c:205 usb_probe_interface+0x500/0x984 drivers/usb/core/driver.c:396 really_probe+0x26c/0xaec drivers/base/dd.c:595 __driver_probe_device+0x1bc/0x3f8 drivers/base/dd.c:750 driver_probe_device+0x78/0x34c drivers/base/dd.c:780 __device_attach_driver+0x28c/0x4d8 drivers/base/dd.c:902 bus_for_each_drv+0x158/0x1e0 drivers/base/bus.c:427 __device_attach+0x2f0/0x480 drivers/base/dd.c:974 device_initial_probe+0x24/0x34 drivers/base/dd.c:1023 bus_probe_device+0xbc/0x1c8 drivers/base/bus.c:487 device_add+0xae0/0xef4 drivers/base/core.c:3394 usb_set_configuration+0x15e0/0x1b60 drivers/usb/core/message.c:2170 usb_generic_driver_probe+0x8c/0x148 drivers/usb/core/generic.c:238 usb_probe_device+0x120/0x25c drivers/usb/core/driver.c:293 really_probe+0x26c/0xaec drivers/base/dd.c:595 __driver_probe_device+0x1bc/0x3f8 drivers/base/dd.c:750 driver_probe_device+0x78/0x34c drivers/base/dd.c:780 __device_attach_driver+0x28c/0x4d8 drivers/base/dd.c:902 bus_for_each_drv+0x158/0x1e0 drivers/base/bus.c:427 __device_attach+0x2f0/0x480 drivers/base/dd.c:974 device_initial_probe+0x24/0x34 drivers/base/dd.c:1023 bus_probe_device+0xbc/0x1c8 drivers/base/bus.c:487 device_add+0xae0/0xef4 drivers/base/core.c:3394 usb_new_device+0x8fc/0x1448 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+0x22e4/0x48c4 drivers/usb/core/hub.c:5730 process_one_work+0x84c/0x14b8 kernel/workqueue.c:2306 worker_thread+0x910/0x1034 kernel/workqueue.c:2453 kthread+0x37c/0x45c kernel/kthread.c:319 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 INFO: task syz-executor.2:7332 blocked for more than 144 seconds. Not tainted 5.15.103-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack: 0 pid: 7332 ppid: 4109 flags:0x00000001 Call trace: __switch_to+0x308/0x5e8 arch/arm64/kernel/process.c:518 context_switch kernel/sched/core.c:5023 [inline] __schedule+0xfcc/0x1f1c kernel/sched/core.c:6369 schedule+0x11c/0x1c8 kernel/sched/core.c:6452 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6511 __mutex_lock_common+0xba0/0x2154 kernel/locking/mutex.c:669 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0xa4/0xf8 kernel/locking/mutex.c:743 device_lock include/linux/device.h:760 [inline] usbdev_open+0x13c/0x6ec drivers/usb/core/devio.c:1030 chrdev_open+0x3e8/0x4fc fs/char_dev.c:414 do_dentry_open+0x780/0xed8 fs/open.c:826 vfs_open+0x7c/0x90 fs/open.c:956 do_open fs/namei.c:3538 [inline] path_openat+0x1f28/0x26f0 fs/namei.c:3672 do_filp_open+0x1a8/0x3b4 fs/namei.c:3699 do_sys_openat2+0x128/0x3d8 fs/open.c:1211 do_sys_open fs/open.c:1227 [inline] __do_sys_openat fs/open.c:1243 [inline] __se_sys_openat fs/open.c:1238 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1238 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:596 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Showing all locks held in the system: 1 lock held by ksoftirqd/1/20: #0: ffff0001b4814d18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:475 [inline] #0: ffff0001b4814d18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1325 [inline] #0: ffff0001b4814d18 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1620 [inline] #0: ffff0001b4814d18 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x328/0x1f1c kernel/sched/core.c:6283 1 lock held by khungtaskd/27: #0: ffff800014b92620 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:268 1 lock held by hwrng/1218: #0: ffff800015b3ce28 (rng_mutex){+.+.}-{3:3}, at: get_current_rng+0x28/0x120 drivers/char/hw_random/core.c:127 3 locks held by kworker/u4:6/1773: 1 lock held by udevd/3586: 2 locks held by getty/3735: #0: ffff0000d246b098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff80001a37b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1200 drivers/tty/n_tty.c:2147 6 locks held by kworker/0:12/5198: #0: ffff0000c2873538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x66c/0x14b8 kernel/workqueue.c:2279 #1: ffff80001dd47c00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x14b8 kernel/workqueue.c:2281 #2: ffff0000cf0c2220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff0000cf0c2220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c8/0x48c4 drivers/usb/core/hub.c:5676 #3: ffff000112e83220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #3: ffff000112e83220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x90/0x480 drivers/base/dd.c:949 #4: ffff0000ce02a1a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #4: ffff0000ce02a1a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x90/0x480 drivers/base/dd.c:949 #5: ffff800015b3ce28 (rng_mutex){+.+.}-{3:3}, at: hwrng_register+0xb4/0x4c8 drivers/char/hw_random/core.c:473 1 lock held by syz-executor.2/7332: #0: ffff0000cf0c2220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #0: ffff0000cf0c2220 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x13c/0x6ec drivers/usb/core/devio.c:1030 1 lock held by udevd/7371: 1 lock held by udevd/8326: 2 locks held by udevd/8327: 1 lock held by syz-executor.1/8389: #0: ffff000124fdc0e0 (&type->s_umount_key#66/1){+.+.}-{3:3}, at: alloc_super+0x1b8/0x844 fs/super.c:229 =============================================