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 D25944 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/1:3:3489 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/1:3 D25336 3489 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:27:3523 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:27 D25848 3523 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/1:28:3524 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:28 D25232 3524 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:4:4644 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 D25064 4644 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:6:4651 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:6 D25912 4651 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: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x80b/0x1690 kernel/workqueue.c:2235 #1: ffffc90000ca7e00 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x840/0x1690 kernel/workqueue.c:2239 #2: ffff888235854200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #2: ffff888235854200 (&dev->mutex){....}, at: hub_event+0x143/0x3240 drivers/usb/core/hub.c:5509 #3: ffff8880b0d74200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #3: ffff8880b0d74200 (&dev->mutex){....}, at: __device_attach+0x76/0x2e0 drivers/base/dd.c:874 #4: ffff888087824190 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #4: ffff888087824190 (&dev->mutex){....}, at: __device_attach+0x76/0x2e0 drivers/base/dd.c:874 #5: ffffffff8afd3440 (rng_mutex){+.+.}, at: hwrng_register+0x6b/0x530 drivers/char/hw_random/core.c:478 1 lock held by khungtaskd/1560: #0: ffffffff8a2e5c40 (rcu_read_lock){....}, at: debug_show_all_locks+0x52/0x2b9 kernel/locking/lockdep.c:5331 6 locks held by kworker/1:3/3489: #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x80b/0x1690 kernel/workqueue.c:2235 #1: ffffc90001a97e00 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x840/0x1690 kernel/workqueue.c:2239 #2: ffff8880a977f200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #2: ffff8880a977f200 (&dev->mutex){....}, at: hub_event+0x143/0x3240 drivers/usb/core/hub.c:5509 #3: ffff888088255200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #3: ffff888088255200 (&dev->mutex){....}, at: __device_attach+0x76/0x2e0 drivers/base/dd.c:874 #4: ffff888099de7190 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #4: ffff888099de7190 (&dev->mutex){....}, at: __device_attach+0x76/0x2e0 drivers/base/dd.c:874 #5: ffffffff8afd3440 (rng_mutex){+.+.}, at: hwrng_register+0x6b/0x530 drivers/char/hw_random/core.c:478 6 locks held by kworker/1:27/3523: #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x80b/0x1690 kernel/workqueue.c:2235 #1: ffffc90001d2fe00 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x840/0x1690 kernel/workqueue.c:2239 #2: ffff8880a9731200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #2: ffff8880a9731200 (&dev->mutex){....}, at: hub_event+0x143/0x3240 drivers/usb/core/hub.c:5509 #3: ffff888096b82200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #3: ffff888096b82200 (&dev->mutex){....}, at: __device_attach+0x76/0x2e0 drivers/base/dd.c:874 #4: ffff88809f2de190 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #4: ffff88809f2de190 (&dev->mutex){....}, at: __device_attach+0x76/0x2e0 drivers/base/dd.c:874 #5: ffffffff8afd3440 (rng_mutex){+.+.}, at: hwrng_register+0x6b/0x530 drivers/char/hw_random/core.c:478 6 locks held by kworker/1:28/3524: #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x80b/0x1690 kernel/workqueue.c:2235 #1: ffffc90001d6fe00 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x840/0x1690 kernel/workqueue.c:2239 #2: ffff8880a96b2200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #2: ffff8880a96b2200 (&dev->mutex){....}, at: hub_event+0x143/0x3240 drivers/usb/core/hub.c:5509 #3: ffff888088573200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #3: ffff888088573200 (&dev->mutex){....}, at: __device_attach+0x76/0x2e0 drivers/base/dd.c:874 #4: ffff888088319190 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #4: ffff888088319190 (&dev->mutex){....}, at: __device_attach+0x76/0x2e0 drivers/base/dd.c:874 #5: ffffffff8afd3440 (rng_mutex){+.+.}, at: hwrng_register+0x6b/0x530 drivers/char/hw_random/core.c:478 6 locks held by kworker/0:4/4644: #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x80b/0x1690 kernel/workqueue.c:2235 #1: ffffc900074d7e00 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x840/0x1690 kernel/workqueue.c:2239 #2: ffff8882358a3200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #2: ffff8882358a3200 (&dev->mutex){....}, at: hub_event+0x143/0x3240 drivers/usb/core/hub.c:5509 #3: ffff8880b274e200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #3: ffff8880b274e200 (&dev->mutex){....}, at: __device_attach+0x76/0x2e0 drivers/base/dd.c:874 #4: ffff8880b1824190 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #4: ffff8880b1824190 (&dev->mutex){....}, at: __device_attach+0x76/0x2e0 drivers/base/dd.c:874 #5: ffffffff8afd3440 (rng_mutex){+.+.}, at: hwrng_register+0x6b/0x530 drivers/char/hw_random/core.c:478 6 locks held by kworker/0:6/4651: #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8880b051a528 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x80b/0x1690 kernel/workqueue.c:2235 #1: ffffc900074b7e00 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x840/0x1690 kernel/workqueue.c:2239 #2: ffff8880a9778200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #2: ffff8880a9778200 (&dev->mutex){....}, at: hub_event+0x143/0x3240 drivers/usb/core/hub.c:5509 #3: ffff88809978f200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #3: ffff88809978f200 (&dev->mutex){....}, at: __device_attach+0x76/0x2e0 drivers/base/dd.c:874 #4: ffff88809f16b190 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #4: ffff88809f16b190 (&dev->mutex){....}, at: __device_attach+0x76/0x2e0 drivers/base/dd.c:874 #5: ffffffff8afd3440 (rng_mutex){+.+.}, at: hwrng_register+0x6b/0x530 drivers/char/hw_random/core.c:478 2 locks held by in:imklog/8657: #0: ffff8880a45085e0 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x96/0xb0 fs/file.c:821 #1: ffff8880b9f36218 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1215 [inline] #1: ffff8880b9f36218 (&rq->lock){-.-.}, at: __schedule+0x2b5/0x1f90 kernel/sched/core.c:4028 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1560 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8 Comm: kworker/u4:0 Not tainted 5.6.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet RIP: 0010:lock_release+0x38/0x6e0 kernel/locking/lockdep.c:4492 Code: 41 55 49 89 f5 41 54 49 89 fc 55 53 48 81 ec b8 00 00 00 48 c7 44 24 18 b3 8a b5 41 48 8d 5c 24 18 48 c7 44 24 20 e0 05 cb 89 <48> c1 eb 03 48 c7 44 24 28 e0 2f 51 81 48 8d 04 13 c7 00 f1 f1 f1 RSP: 0018:ffffc90000cd7af0 EFLAGS: 00000286 RAX: 0000000000000000 RBX: ffffc90000cd7b08 RCX: ffffffff81573b8e RDX: dffffc0000000000 RSI: ffffffff87eaa42a RDI: ffffffff8a2e5c40 RBP: ffffc90000cd7cd0 R08: ffffed10173e6e14 R09: ffffed10173e6e14 R10: ffffed10173e6e13 R11: ffff8880b9f3709b R12: ffffffff8a2e5c40 R13: ffffffff87eaa42a R14: ffff8880ac55f880 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f38cf727000 CR3: 00000000b074b000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_release include/linux/rcupdate.h:213 [inline] rcu_read_unlock include/linux/rcupdate.h:655 [inline] batadv_iv_ogm_slide_own_bcast_window net/batman-adv/bat_iv_ogm.c:771 [inline] batadv_iv_ogm_schedule_buff+0x726/0xf60 net/batman-adv/bat_iv_ogm.c:821 batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:865 [inline] batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:858 [inline] batadv_iv_send_outstanding_bat_ogm_packet+0x5be/0x920 net/batman-adv/bat_iv_ogm.c:1718 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