INFO: task kworker/0:0:5 blocked for more than 143 seconds. Not tainted 5.6.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/0:0 D25320 5 2 0x80084000 Workqueue: usb_hub_wq hub_event Call Trace: schedule+0xc4/0x2b0 kernel/sched/core.c:4154 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:4213 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x8db/0x1400 kernel/locking/mutex.c:1103 hwrng_register+0x6b/0x530 drivers/char/hw_random/core.c:478 chaoskey_probe+0x6c8/0xb27 drivers/usb/misc/chaoskey.c:205 usb_probe_interface+0x277/0x840 drivers/usb/core/driver.c:361 really_probe+0x20b/0xb00 drivers/base/dd.c:551 driver_probe_device+0x259/0x370 drivers/base/dd.c:724 bus_for_each_drv+0x118/0x1b0 drivers/base/bus.c:431 __device_attach+0x1be/0x2e0 drivers/base/dd.c:897 bus_probe_device+0x19e/0x250 drivers/base/bus.c:491 device_add+0x10f7/0x1920 drivers/base/core.c:2500 usb_set_configuration+0xc81/0x1940 drivers/usb/core/message.c:2023 generic_probe+0x61/0x8a drivers/usb/core/generic.c:210 really_probe+0x20b/0xb00 drivers/base/dd.c:551 driver_probe_device+0x259/0x370 drivers/base/dd.c:724 bus_for_each_drv+0x118/0x1b0 drivers/base/bus.c:431 __device_attach+0x1be/0x2e0 drivers/base/dd.c:897 bus_probe_device+0x19e/0x250 drivers/base/bus.c:491 device_add+0x10f7/0x1920 drivers/base/core.c:2500 usb_new_device+0x866/0x14e0 drivers/usb/core/hub.c:2548 hub_port_connect drivers/usb/core/hub.c:5195 [inline] hub_port_connect_change drivers/usb/core/hub.c:5335 [inline] port_event drivers/usb/core/hub.c:5481 [inline] hub_event+0x1079/0x3240 drivers/usb/core/hub.c:5563 process_one_work+0x8ff/0x1690 kernel/workqueue.c:2264 worker_thread+0x82/0xb50 kernel/workqueue.c:2410 kthread+0x31d/0x3e0 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 INFO: task kworker/0:1:7 blocked for more than 143 seconds. Not tainted 5.6.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/0:1 D25344 7 2 0x80084000 Workqueue: usb_hub_wq hub_event Call Trace: schedule+0xc4/0x2b0 kernel/sched/core.c:4154 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:4213 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x8db/0x1400 kernel/locking/mutex.c:1103 hwrng_register+0x6b/0x530 drivers/char/hw_random/core.c:478 chaoskey_probe+0x6c8/0xb27 drivers/usb/misc/chaoskey.c:205 usb_probe_interface+0x277/0x840 drivers/usb/core/driver.c:361 really_probe+0x20b/0xb00 drivers/base/dd.c:551 driver_probe_device+0x259/0x370 drivers/base/dd.c:724 bus_for_each_drv+0x118/0x1b0 drivers/base/bus.c:431 __device_attach+0x1be/0x2e0 drivers/base/dd.c:897 bus_probe_device+0x19e/0x250 drivers/base/bus.c:491 device_add+0x10f7/0x1920 drivers/base/core.c:2500 usb_set_configuration+0xc81/0x1940 drivers/usb/core/message.c:2023 generic_probe+0x61/0x8a drivers/usb/core/generic.c:210 really_probe+0x20b/0xb00 drivers/base/dd.c:551 driver_probe_device+0x259/0x370 drivers/base/dd.c:724 bus_for_each_drv+0x118/0x1b0 drivers/base/bus.c:431 __device_attach+0x1be/0x2e0 drivers/base/dd.c:897 bus_probe_device+0x19e/0x250 drivers/base/bus.c:491 device_add+0x10f7/0x1920 drivers/base/core.c:2500 usb_new_device+0x866/0x14e0 drivers/usb/core/hub.c:2548 hub_port_connect drivers/usb/core/hub.c:5195 [inline] hub_port_connect_change drivers/usb/core/hub.c:5335 [inline] port_event drivers/usb/core/hub.c:5481 [inline] hub_event+0x1079/0x3240 drivers/usb/core/hub.c:5563 process_one_work+0x8ff/0x1690 kernel/workqueue.c:2264 worker_thread+0x82/0xb50 kernel/workqueue.c:2410 kthread+0x31d/0x3e0 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 INFO: task kworker/1:4:3141 blocked for more than 144 seconds. Not tainted 5.6.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/1:4 D25576 3141 2 0x80084000 Workqueue: usb_hub_wq hub_event Call Trace: schedule+0xc4/0x2b0 kernel/sched/core.c:4154 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:4213 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x8db/0x1400 kernel/locking/mutex.c:1103 hwrng_register+0x6b/0x530 drivers/char/hw_random/core.c:478 chaoskey_probe+0x6c8/0xb27 drivers/usb/misc/chaoskey.c:205 usb_probe_interface+0x277/0x840 drivers/usb/core/driver.c:361 really_probe+0x20b/0xb00 drivers/base/dd.c:551 driver_probe_device+0x259/0x370 drivers/base/dd.c:724 bus_for_each_drv+0x118/0x1b0 drivers/base/bus.c:431 __device_attach+0x1be/0x2e0 drivers/base/dd.c:897 bus_probe_device+0x19e/0x250 drivers/base/bus.c:491 device_add+0x10f7/0x1920 drivers/base/core.c:2500 usb_set_configuration+0xc81/0x1940 drivers/usb/core/message.c:2023 generic_probe+0x61/0x8a drivers/usb/core/generic.c:210 really_probe+0x20b/0xb00 drivers/base/dd.c:551 driver_probe_device+0x259/0x370 drivers/base/dd.c:724 bus_for_each_drv+0x118/0x1b0 drivers/base/bus.c:431 __device_attach+0x1be/0x2e0 drivers/base/dd.c:897 bus_probe_device+0x19e/0x250 drivers/base/bus.c:491 device_add+0x10f7/0x1920 drivers/base/core.c:2500 usb_new_device+0x866/0x14e0 drivers/usb/core/hub.c:2548 hub_port_connect drivers/usb/core/hub.c:5195 [inline] hub_port_connect_change drivers/usb/core/hub.c:5335 [inline] port_event drivers/usb/core/hub.c:5481 [inline] hub_event+0x1079/0x3240 drivers/usb/core/hub.c:5563 process_one_work+0x8ff/0x1690 kernel/workqueue.c:2264 worker_thread+0x82/0xb50 kernel/workqueue.c:2410 kthread+0x31d/0x3e0 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 INFO: task kworker/0:3:3147 blocked for more than 144 seconds. Not tainted 5.6.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/0:3 D25208 3147 2 0x80084000 Workqueue: usb_hub_wq hub_event Call Trace: schedule+0xc4/0x2b0 kernel/sched/core.c:4154 schedule_timeout+0x6b5/0xe80 kernel/time/timer.c:1871 do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common kernel/sched/completion.c:115 [inline] wait_for_completion+0x25f/0x3c0 kernel/sched/completion.c:136 cleanup_rng drivers/char/hw_random/core.c:81 [inline] kref_put include/linux/kref.h:65 [inline] drop_current_rng+0x79/0xb0 drivers/char/hw_random/core.c:109 set_current_rng+0x1fc/0x360 drivers/char/hw_random/core.c:96 hwrng_register+0x358/0x530 drivers/char/hw_random/core.c:505 chaoskey_probe+0x6c8/0xb27 drivers/usb/misc/chaoskey.c:205 usb_probe_interface+0x277/0x840 drivers/usb/core/driver.c:361 really_probe+0x20b/0xb00 drivers/base/dd.c:551 driver_probe_device+0x259/0x370 drivers/base/dd.c:724 bus_for_each_drv+0x118/0x1b0 drivers/base/bus.c:431 __device_attach+0x1be/0x2e0 drivers/base/dd.c:897 bus_probe_device+0x19e/0x250 drivers/base/bus.c:491 device_add+0x10f7/0x1920 drivers/base/core.c:2500 usb_set_configuration+0xc81/0x1940 drivers/usb/core/message.c:2023 generic_probe+0x61/0x8a drivers/usb/core/generic.c:210 really_probe+0x20b/0xb00 drivers/base/dd.c:551 driver_probe_device+0x259/0x370 drivers/base/dd.c:724 bus_for_each_drv+0x118/0x1b0 drivers/base/bus.c:431 __device_attach+0x1be/0x2e0 drivers/base/dd.c:897 bus_probe_device+0x19e/0x250 drivers/base/bus.c:491 device_add+0x10f7/0x1920 drivers/base/core.c:2500 usb_new_device+0x866/0x14e0 drivers/usb/core/hub.c:2548 hub_port_connect drivers/usb/core/hub.c:5195 [inline] hub_port_connect_change drivers/usb/core/hub.c:5335 [inline] port_event drivers/usb/core/hub.c:5481 [inline] hub_event+0x1079/0x3240 drivers/usb/core/hub.c:5563 process_one_work+0x8ff/0x1690 kernel/workqueue.c:2264 worker_thread+0x82/0xb50 kernel/workqueue.c:2410 kthread+0x31d/0x3e0 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 INFO: task kworker/0:4:8715 blocked for more than 145 seconds. Not tainted 5.6.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/0:4 D25528 8715 2 0x80084000 Workqueue: usb_hub_wq hub_event Call Trace: schedule+0xc4/0x2b0 kernel/sched/core.c:4154 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:4213 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x8db/0x1400 kernel/locking/mutex.c:1103 hwrng_register+0x6b/0x530 drivers/char/hw_random/core.c:478 chaoskey_probe+0x6c8/0xb27 drivers/usb/misc/chaoskey.c:205 usb_probe_interface+0x277/0x840 drivers/usb/core/driver.c:361 really_probe+0x20b/0xb00 drivers/base/dd.c:551 driver_probe_device+0x259/0x370 drivers/base/dd.c:724 bus_for_each_drv+0x118/0x1b0 drivers/base/bus.c:431 __device_attach+0x1be/0x2e0 drivers/base/dd.c:897 bus_probe_device+0x19e/0x250 drivers/base/bus.c:491 device_add+0x10f7/0x1920 drivers/base/core.c:2500 usb_set_configuration+0xc81/0x1940 drivers/usb/core/message.c:2023 generic_probe+0x61/0x8a drivers/usb/core/generic.c:210 really_probe+0x20b/0xb00 drivers/base/dd.c:551 driver_probe_device+0x259/0x370 drivers/base/dd.c:724 bus_for_each_drv+0x118/0x1b0 drivers/base/bus.c:431 __device_attach+0x1be/0x2e0 drivers/base/dd.c:897 bus_probe_device+0x19e/0x250 drivers/base/bus.c:491 device_add+0x10f7/0x1920 drivers/base/core.c:2500 usb_new_device+0x866/0x14e0 drivers/usb/core/hub.c:2548 hub_port_connect drivers/usb/core/hub.c:5195 [inline] hub_port_connect_change drivers/usb/core/hub.c:5335 [inline] port_event drivers/usb/core/hub.c:5481 [inline] hub_event+0x1079/0x3240 drivers/usb/core/hub.c:5563 process_one_work+0x8ff/0x1690 kernel/workqueue.c:2264 worker_thread+0x82/0xb50 kernel/workqueue.c:2410 kthread+0x31d/0x3e0 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 INFO: task kworker/0:5:10175 blocked for more than 145 seconds. Not tainted 5.6.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/0:5 D24144 10175 2 0x80084000 Workqueue: usb_hub_wq hub_event Call Trace: schedule+0xc4/0x2b0 kernel/sched/core.c:4154 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:4213 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x8db/0x1400 kernel/locking/mutex.c:1103 hwrng_register+0x6b/0x530 drivers/char/hw_random/core.c:478 chaoskey_probe+0x6c8/0xb27 drivers/usb/misc/chaoskey.c:205 usb_probe_interface+0x277/0x840 drivers/usb/core/driver.c:361 really_probe+0x20b/0xb00 drivers/base/dd.c:551 driver_probe_device+0x259/0x370 drivers/base/dd.c:724 bus_for_each_drv+0x118/0x1b0 drivers/base/bus.c:431 __device_attach+0x1be/0x2e0 drivers/base/dd.c:897 bus_probe_device+0x19e/0x250 drivers/base/bus.c:491 device_add+0x10f7/0x1920 drivers/base/core.c:2500 usb_set_configuration+0xc81/0x1940 drivers/usb/core/message.c:2023 generic_probe+0x61/0x8a drivers/usb/core/generic.c:210 really_probe+0x20b/0xb00 drivers/base/dd.c:551 driver_probe_device+0x259/0x370 drivers/base/dd.c:724 bus_for_each_drv+0x118/0x1b0 drivers/base/bus.c:431 __device_attach+0x1be/0x2e0 drivers/base/dd.c:897 bus_probe_device+0x19e/0x250 drivers/base/bus.c:491 device_add+0x10f7/0x1920 drivers/base/core.c:2500 usb_new_device+0x866/0x14e0 drivers/usb/core/hub.c:2548 hub_port_connect drivers/usb/core/hub.c:5195 [inline] hub_port_connect_change drivers/usb/core/hub.c:5335 [inline] port_event drivers/usb/core/hub.c:5481 [inline] hub_event+0x1079/0x3240 drivers/usb/core/hub.c:5563 process_one_work+0x8ff/0x1690 kernel/workqueue.c:2264 worker_thread+0x82/0xb50 kernel/workqueue.c:2410 kthread+0x31d/0x3e0 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Showing all locks held in the system: 6 locks held by kworker/0:0/5: #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x80b/0x1690 kernel/workqueue.c:2235 #1: ffffc90000cbfe00 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x840/0x1690 kernel/workqueue.c:2239 #2: ffff8880a7fa0200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #2: ffff8880a7fa0200 (&dev->mutex){....}, at: hub_event+0x143/0x3240 drivers/usb/core/hub.c:5509 #3: ffff8880980b2200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #3: ffff8880980b2200 (&dev->mutex){....}, at: __device_attach+0x76/0x2e0 drivers/base/dd.c:874 #4: ffff8880ab83f190 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #4: ffff8880ab83f190 (&dev->mutex){....}, at: __device_attach+0x76/0x2e0 drivers/base/dd.c:874 #5: ffffffff8afebda0 (rng_mutex){+.+.}, at: hwrng_register+0x6b/0x530 drivers/char/hw_random/core.c:478 6 locks held by kworker/0:1/7: #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x80b/0x1690 kernel/workqueue.c:2235 #1: ffffc90000cdfe00 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x840/0x1690 kernel/workqueue.c:2239 #2: ffff88823606d200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #2: ffff88823606d200 (&dev->mutex){....}, at: hub_event+0x143/0x3240 drivers/usb/core/hub.c:5509 #3: ffff8880af4de200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #3: ffff8880af4de200 (&dev->mutex){....}, at: __device_attach+0x76/0x2e0 drivers/base/dd.c:874 #4: ffff8880a8e5a190 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #4: ffff8880a8e5a190 (&dev->mutex){....}, at: __device_attach+0x76/0x2e0 drivers/base/dd.c:874 #5: ffffffff8afebda0 (rng_mutex){+.+.}, at: hwrng_register+0x6b/0x530 drivers/char/hw_random/core.c:478 1 lock held by khungtaskd/1556: #0: ffffffff8a2e1100 (rcu_read_lock){....}, at: debug_show_all_locks+0x52/0x2b9 kernel/locking/lockdep.c:5331 6 locks held by kworker/1:4/3141: #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x80b/0x1690 kernel/workqueue.c:2235 #1: ffffc90001a37e00 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x840/0x1690 kernel/workqueue.c:2239 #2: ffff8880a7f93200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #2: ffff8880a7f93200 (&dev->mutex){....}, at: hub_event+0x143/0x3240 drivers/usb/core/hub.c:5509 #3: ffff8880ac26f200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #3: ffff8880ac26f200 (&dev->mutex){....}, at: __device_attach+0x76/0x2e0 drivers/base/dd.c:874 #4: ffff88809d3b8190 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #4: ffff88809d3b8190 (&dev->mutex){....}, at: __device_attach+0x76/0x2e0 drivers/base/dd.c:874 #5: ffffffff8afebda0 (rng_mutex){+.+.}, at: hwrng_register+0x6b/0x530 drivers/char/hw_random/core.c:478 6 locks held by kworker/0:3/3147: #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x80b/0x1690 kernel/workqueue.c:2235 #1: ffffc900010d7e00 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x840/0x1690 kernel/workqueue.c:2239 #2: ffff8880a7e1a200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #2: ffff8880a7e1a200 (&dev->mutex){....}, at: hub_event+0x143/0x3240 drivers/usb/core/hub.c:5509 #3: ffff888096a7d200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #3: ffff888096a7d200 (&dev->mutex){....}, at: __device_attach+0x76/0x2e0 drivers/base/dd.c:874 #4: ffff8880abaaf190 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #4: ffff8880abaaf190 (&dev->mutex){....}, at: __device_attach+0x76/0x2e0 drivers/base/dd.c:874 #5: ffffffff8afebda0 (rng_mutex){+.+.}, at: hwrng_register+0x6b/0x530 drivers/char/hw_random/core.c:478 1 lock held by in:imklog/8073: #0: ffff8880ac21ee20 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x96/0xb0 fs/file.c:821 3 locks held by rs:main Q:Reg/8075: #0: ffff8880b9e522d8 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1215 [inline] #0: ffff8880b9e522d8 (&rq->lock){-.-.}, at: __schedule+0x2b5/0x1f90 kernel/sched/core.c:4028 #1: ffffffff8a2e1100 (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:435 [inline] #1: ffffffff8a2e1100 (rcu_read_lock){....}, at: update_curr+0x2ec/0x860 kernel/sched/fair.c:859 #2: ffff888091ea67c8 (&sb->s_type->i_mutex_key#10){+.+.}, at: inode_lock include/linux/fs.h:791 [inline] #2: ffff888091ea67c8 (&sb->s_type->i_mutex_key#10){+.+.}, at: ext4_buffered_write_iter+0x94/0x3d0 fs/ext4/file.c:264 6 locks held by kworker/0:4/8715: #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x80b/0x1690 kernel/workqueue.c:2235 #1: ffffc90001f17e00 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x840/0x1690 kernel/workqueue.c:2239 #2: ffff8882360c2200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #2: ffff8882360c2200 (&dev->mutex){....}, at: hub_event+0x143/0x3240 drivers/usb/core/hub.c:5509 #3: ffff8880b0578200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #3: ffff8880b0578200 (&dev->mutex){....}, at: __device_attach+0x76/0x2e0 drivers/base/dd.c:874 #4: ffff8880a88e0190 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #4: ffff8880a88e0190 (&dev->mutex){....}, at: __device_attach+0x76/0x2e0 drivers/base/dd.c:874 #5: ffffffff8afebda0 (rng_mutex){+.+.}, at: hwrng_register+0x6b/0x530 drivers/char/hw_random/core.c:478 6 locks held by kworker/0:5/10175: #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8880af6ec528 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x80b/0x1690 kernel/workqueue.c:2235 #1: ffffc9000a107e00 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x840/0x1690 kernel/workqueue.c:2239 #2: ffff888236042200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #2: ffff888236042200 (&dev->mutex){....}, at: hub_event+0x143/0x3240 drivers/usb/core/hub.c:5509 #3: ffff8880b1fe8200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #3: ffff8880b1fe8200 (&dev->mutex){....}, at: __device_attach+0x76/0x2e0 drivers/base/dd.c:874 #4: ffff8880afc8c190 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #4: ffff8880afc8c190 (&dev->mutex){....}, at: __device_attach+0x76/0x2e0 drivers/base/dd.c:874 #5: ffffffff8afebda0 (rng_mutex){+.+.}, at: hwrng_register+0x6b/0x530 drivers/char/hw_random/core.c:478 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1556 Comm: khungtaskd Not tainted 5.6.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x96/0xe0 lib/dump_stack.c:118 nmi_cpu_backtrace.cold.6+0x2e/0x33 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x183/0x1ac lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0x69d/0xd50 kernel/hung_task.c:289 kthread+0x31d/0x3e0 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:60 [inline] NMI backtrace for cpu 0 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:103 [inline] NMI backtrace for cpu 0 skipped: idling at default_idle+0x25/0x310 arch/x86/kernel/process.c:695