INFO: task syz.3.9971:15526 blocked for more than 144 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.9971 state:D stack:24136 pid:15526 tgid:15525 ppid:12060 task_flags:0x400140 flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5587 [inline] __schedule+0x18a6/0x5c10 kernel/sched/core.c:7389 __schedule_loop kernel/sched/core.c:7466 [inline] schedule+0x164/0x2b0 kernel/sched/core.c:7481 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7538 rwsem_down_write_slowpath+0x874/0x10d0 kernel/locking/rwsem.c:1215 __down_write_common kernel/locking/rwsem.c:1347 [inline] __down_write kernel/locking/rwsem.c:1356 [inline] down_write+0x1b7/0x200 kernel/locking/rwsem.c:1632 rdma_dev_exit_net+0x8b/0x430 drivers/infiniband/core/device.c:1156 ops_exit_list net/core/net_namespace.c:200 [inline] ops_undo_list+0x451/0x8f0 net/core/net_namespace.c:253 setup_net+0x2fc/0x350 net/core/net_namespace.c:466 copy_net_ns+0x540/0x780 net/core/net_namespace.c:589 create_new_namespaces+0x3f0/0x6b0 kernel/nsproxy.c:132 unshare_nsproxy_namespaces+0x144/0x190 kernel/nsproxy.c:234 ksys_unshare+0x532/0x890 kernel/fork.c:3306 __do_sys_unshare kernel/fork.c:3372 [inline] __se_sys_unshare kernel/fork.c:3370 [inline] __x64_sys_unshare+0x38/0x50 kernel/fork.c:3370 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd5e27a9b59 RSP: 002b:00007fd5e366d028 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007fd5e2a35fa0 RCX: 00007fd5e27a9b59 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000006a040000 RBP: 00007fd5e283a18b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fd5e2a36038 R14: 00007fd5e2a35fa0 R15: 00007fff355fc5c8 Showing all locks held in the system: locks held by kthreadd/2: 2, on CPU#1: #0: ffffffff902b2190 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:249 [inline] #0: ffffffff902b2190 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_read_lock+0x27/0x60 include/linux/srcu.h:356 #1: ffffffff9015a320 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffffff9015a320 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffffff9015a320 (rcu_read_lock){....}-{1:3}, at: class_rcu_constructor include/linux/rcupdate.h:1216 [inline] #1: ffffffff9015a320 (rcu_read_lock){....}-{1:3}, at: unwind_next_frame+0x8f/0x2550 arch/x86/kernel/unwind_orc.c:495 locks held by kworker/R-mm_pe/15: 1, on CPU#1: #0: ffffffff8fff6500 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2885 locks held by kworker/1:0/25: 5, on CPU#1: #0: ffff8880584fe948 ((wq_completion)wg-kex-wg1#13){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff8880584fe948 ((wq_completion)wg-kex-wg1#13){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff8880584fe948 ((wq_completion)wg-kex-wg1#13){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3462 [inline] #0: ffff8880584fe948 ((wq_completion)wg-kex-wg1#13){+.+.}-{0:0}, at: process_scheduled_works+0x99a/0x1650 kernel/workqueue.c:3580 #1: ffffc900001f7c40 ((work_completion)(&({ do { const void __attribute__((btf_type_tag("percpu"))) *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ((typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))))((unsigned long)((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))) + (((__per_cpu_offset[(cpu)]))))); })->work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffc900001f7c40 ((work_completion)(&({ do { const void __attribute__((btf_type_tag("percpu"))) *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ((typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))))((unsigned long)((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))) + (((__per_cpu_offset[(cpu)]))))); })->work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffc900001f7c40 ((work_completion)(&({ do { const void __attribute__((btf_type_tag("percpu"))) *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ((typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))))((unsigned long)((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))) + (((__per_cpu_offset[(cpu)]))))); })->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3462 [inline] #1: ffffc900001f7c40 ((work_completion)(&({ do { const void __attribute__((btf_type_tag("percpu"))) *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ((typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))))((unsigned long)((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))) + (((__per_cpu_offset[(cpu)]))))); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0x99a/0x1650 kernel/workqueue.c:3580