INFO: task hwrng:757 blocked for more than 143 seconds. Not tainted 6.10.0-rc2-syzkaller-00007-gf06ce441457d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:hwrng state:D stack:29664 pid:757 tgid:757 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 hwrng_fillfn+0xb8/0x380 drivers/char/hw_random/core.c:495 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Showing all locks held in the system: 7 locks held by kworker/u8:0/11: #0: ffff8880162d3148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc90000107d80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 #2: ffffffff8f7361d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xbb/0xbf0 net/core/net_namespace.c:594 #3: ffff88805bd980e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #3: ffff88805bd980e8 (&dev->mutex){....}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:108 [inline] #3: ffff88805bd980e8 (&dev->mutex){....}-{3:3}, at: devlink_pernet_pre_exit+0x12d/0x2b0 net/devlink/core.c:506 #4: ffff88801aeb6250 (&devlink->lock_key#32){+.+.}-{3:3}, at: devl_lock net/devlink/core.c:276 [inline] #4: ffff88801aeb6250 (&devlink->lock_key#32){+.+.}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:109 [inline] #4: ffff88801aeb6250 (&devlink->lock_key#32){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0x137/0x2b0 net/devlink/core.c:506 #5: ffffffff8f74b468 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x6f/0x6a0 drivers/net/netdevsim/netdev.c:772 #6: ffffffff8da55590 (cpu_hotplug_lock){++++}-{0:0}, at: flush_all_backlogs net/core/dev.c:5983 [inline] #6: ffffffff8da55590 (cpu_hotplug_lock){++++}-{0:0}, at: unregister_netdevice_many_notify+0x531/0x19f0 net/core/dev.c:11200 1 lock held by khungtaskd/30: #0: ffffffff8dbb18e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8dbb18e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8dbb18e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 3 locks held by kworker/1:1/45: #0: ffff888015480948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc90000b57d80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 #2: ffffffff8f74b468 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:276 1 lock held by hwrng/757: #0: ffffffff8e7dc0a8 (reading_mutex){+.+.}-{3:3}, at: hwrng_fillfn+0xb8/0x380 drivers/char/hw_random/core.c:495 2 locks held by kworker/0:3/931: 5 locks held by kworker/u8:6/1051: 2 locks held by getty/4841: #0: ffff888029ee80a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900031232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 2 locks held by syz-fuzzer/5252: 3 locks held by kworker/0:6/5164: 8 locks held by kworker/0:7/5165: 3 locks held by kworker/0:5/7752: 3 locks held by kworker/u8:12/7885: #0: ffff88802ab51148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc900034bfd80 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 #2: ffffffff8f74b468 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4733 1 lock held by syz-executor.2/11225: 2 locks held by syz-executor.2/11282: #0: ffffffff8f7361d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2cb/0x670 net/core/net_namespace.c:504 #1: ffffffff8f74b468 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_init_net+0x218/0x780 net/ipv4/ip_tunnel.c:1159 2 locks held by syz-executor.1/11289: #0: ffffffff8f7361d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2cb/0x670 net/core/net_namespace.c:504 #1: ffffffff8f74b468 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_init_net+0x218/0x780 net/ipv4/ip_tunnel.c:1159 2 locks held by syz-executor.4/11293: #0: ffffffff8f7361d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2cb/0x670 net/core/net_namespace.c:504 #1: ffffffff8f74b468 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_init_net+0x218/0x780 net/ipv4/ip_tunnel.c:1159 5 locks held by syz-executor.0/11295: #0: ffffffff8f7361d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2cb/0x670 net/core/net_namespace.c:504 #1: ffffffff8f3bf850 (devices_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x234/0x530 drivers/infiniband/core/device.c:1179 #2: ffffffff8f3bf5d0 (rdma_nets_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x2a7/0x530 drivers/infiniband/core/device.c:1184 #3: ffff8880201a4f30 (&device->compat_devs_mutex){+.+.}-{3:3}, at: add_one_compat_dev+0x112/0x720 drivers/infiniband/core/device.c:943 #4: ffffffff8f74b468 (rtnl_mutex){+.+.}-{3:3}, at: ib_get_eth_speed+0x118/0xb50 drivers/infiniband/core/verbs.c:1983 2 locks held by syz-executor.3/11314: #0: ffffffff8f7361d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2cb/0x670 net/core/net_namespace.c:504 #1: ffffffff8f74b468 (rtnl_mutex){+.+.}-{3:3}, at: register_nexthop_notifier+0x1b/0x70 net/ipv4/nexthop.c:3871 2 locks held by syz-executor.2/11318: #0: ffffffff8f7361d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2cb/0x670 net/core/net_namespace.c:504 #1: ffffffff8f74b468 (rtnl_mutex){+.+.}-{3:3}, at: register_nexthop_notifier+0x1b/0x70 net/ipv4/nexthop.c:3871