INFO: task syz-executor:15015 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:24648 pid:15015 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5393 [inline] __schedule+0x156f/0x4720 kernel/sched/core.c:6722 schedule+0xbd/0x170 kernel/sched/core.c:6796 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6855 rwsem_down_write_slowpath+0xc41/0x1070 kernel/locking/rwsem.c:1178 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write+0x1b9/0x200 kernel/locking/rwsem.c:1574 rdma_dev_exit_net+0x90/0x340 drivers/infiniband/core/device.c:1133 ops_exit_list net/core/net_namespace.c:173 [inline] setup_net+0x7e5/0xa20 net/core/net_namespace.c:375 copy_net_ns+0x361/0x530 net/core/net_namespace.c:524 create_new_namespaces+0x3ce/0x700 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0x11a/0x160 kernel/nsproxy.c:228 ksys_unshare+0x4fa/0x8f0 kernel/fork.c:3447 __do_sys_unshare kernel/fork.c:3521 [inline] __se_sys_unshare kernel/fork.c:3519 [inline] __x64_sys_unshare+0x38/0x40 kernel/fork.c:3519 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7faed2ba0de7 RSP: 002b:00007ffec00b1648 EFLAGS: 00000206 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007faed2e25f40 RCX: 00007faed2ba0de7 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000 RBP: 00007faed2e267b8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000008 R13: 0000000000000003 R14: 00007ffec00b1888 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e1322e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline] #0: ffffffff8e1322e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline] #0: ffffffff8e1322e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6669 5 locks held by kworker/u4:4/60: #0: ffff888140049138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline] #0: ffff888140049138 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734 #1: ffffc900015b7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline] #1: ffffc900015b7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734 #2: ffffffff8f3db1d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x140/0xb00 net/core/net_namespace.c:610 #3: ffff888077035250 (&devlink->lock_key#15){+.+.}-{3:3}, at: devl_lock net/devlink/core.c:60 [inline] #3: ffff888077035250 (&devlink->lock_key#15){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0xee/0x360 net/devlink/core.c:285 #4: ffffffff8f3e83c8 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x3f/0x180 drivers/net/netdevsim/netdev.c:417 3 locks held by kworker/1:2/790: 1 lock held by klogd/5140: 2 locks held by getty/5541: #0: ffff88802f4f60a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900032862f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x43a/0x1400 drivers/tty/n_tty.c:2217 1 lock held by sshd-session/5767: 2 locks held by kworker/0:6/5880: #0: ffff888018c72d38 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline] #0: ffff888018c72d38 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734 #1: ffffc90004907d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline] #1: ffffc90004907d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734 2 locks held by kworker/u4:15/6226: 3 locks held by kworker/u4:20/6241: 2 locks held by kworker/1:6/8014: 3 locks held by kworker/u4:0/8827: 3 locks held by kworker/1:8/13456: 2 locks held by syz-executor/15008: 2 locks held by syz-executor/15015: #0: ffffffff8f3db1d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x347/0x530 net/core/net_namespace.c:520 #1: ffffffff8f18e6b0 (rdma_nets_rwsem){++++}-{3:3}, at: rdma_dev_exit_net+0x90/0x340 drivers/infiniband/core/device.c:1133 2 locks held by syz-executor/15038: #0: ffffffff8f3db1d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x347/0x530 net/core/net_namespace.c:520