INFO: task syz-executor:1528 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:25488 pid:1528 tgid:1528 ppid:1 task_flags:0x400140 flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5510 [inline] __schedule+0x17d9/0x56c0 kernel/sched/core.c:7234 __schedule_loop kernel/sched/core.c:7311 [inline] schedule+0x164/0x2b0 kernel/sched/core.c:7326 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7383 rwsem_down_write_slowpath+0x87d/0x1080 kernel/locking/rwsem.c:1215 __down_write_common kernel/locking/rwsem.c:1347 [inline] __down_write kernel/locking/rwsem.c:1356 [inline] down_write+0x1bc/0x200 kernel/locking/rwsem.c:1632 rdma_dev_exit_net+0x8f/0x340 drivers/infiniband/core/device.c:1133 ops_exit_list net/core/net_namespace.c:199 [inline] ops_undo_list+0x43d/0x8d0 net/core/net_namespace.c:252 setup_net+0x2f6/0x350 net/core/net_namespace.c:462 copy_net_ns+0x4f9/0x720 net/core/net_namespace.c:579 create_new_namespaces+0x3f0/0x6b0 kernel/nsproxy.c:132 unshare_nsproxy_namespaces+0x149/0x190 kernel/nsproxy.c:234 ksys_unshare+0x57d/0xa00 kernel/fork.c:3269 __do_sys_unshare kernel/fork.c:3343 [inline] __se_sys_unshare kernel/fork.c:3341 [inline] __x64_sys_unshare+0x38/0x50 kernel/fork.c:3341 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f992bd9f3a7 RSP: 002b:00007fff4ccf3ec8 EFLAGS: 00000202 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007f992c025f40 RCX: 00007f992bd9f3a7 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000 RBP: 00007f992c0267b8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000008 R13: 0000000000000003 R14: 00007fff4ccf4108 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8eb59c60 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline] #0: ffffffff8eb59c60 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:840 [inline] #0: ffffffff8eb59c60 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775 2 locks held by getty/5366: #0: ffff8880327cd0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900032332e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360 drivers/tty/n_tty.c:2211 3 locks held by kworker/u8:27/25197: #0: ffff88801b06c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #0: ffff88801b06c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0 kernel/workqueue.c:3405 #1: ffffc9000429fc40 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #1: ffffc9000429fc40 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0 kernel/workqueue.c:3405 #2: ffffffff90026f00 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:313 2 locks held by kworker/u8:28/25198: 5 locks held by kworker/u8:5/1198: #0: ffff88801c296140 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #0: ffff88801c296140 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0 kernel/workqueue.c:3405 #1: ffffc9000ce57c40 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #1: ffffc9000ce57c40 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0 kernel/workqueue.c:3405 #2: ffffffff90018348 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf5/0x810 net/core/net_namespace.c:673 #3: ffffffff90026f00 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0xe5/0x9e0 net/core/dev.c:13091 #4: ffffffff8eb5ff68 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:311 [inline] #4: ffffffff8eb5ff68 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2d0/0x770 kernel/rcu/tree_exp.h:961 2 locks held by syz-executor/1375: #0: ffffffff90018348 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x4e2/0x720 net/core/net_namespace.c:575 #1: ffffffff90026f00 (rtnl_mutex){+.+.}-{4:4}, at: cfg802154_pernet_exit+0x18/0xc0 net/ieee802154/core.c:358 2 locks held by syz-executor/1528: #0: ffffffff90018348 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x4e2/0x720 net/core/net_namespace.c:575 #1: ffffffff8fd76e68 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_exit_net+0x8f/0x340 drivers/infiniband/core/device.c:1133 2 locks held by syz-executor/1553: #0: ffffffff90018348 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x4e2/0x720 net/core/net_namespace.c:575 #1: ffffffff8fd76e68 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_exit_net+0x8f/0x340 drivers/infiniband/core/device.c:1133 2 locks held by syz-executor/1570: #0: ffffffff90018348 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x4e2/0x720 net/core/net_namespace.c:575 #1: ffffffff8fd76e68 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_exit_net+0x8f/0x340 drivers/infiniband/core/device.c:1133 2 locks held by syz-executor/1588: #0: ffffffff90018348 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x4e2/0x720 net/core/net_namespace.c:575 #1: ffffffff8fd76e68 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_exit_net+0x8f/0x340 drivers/infiniband/core/device.c:1133 2 locks held by syz-executor/1667: #0: ffffffff90018348 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x4e2/0x720 net/core/net_namespace.c:575 #1: ffffffff8fd76e68 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_exit_net+0x8f/0x340 drivers/infiniband/core/device.c:1133 2 locks held by syz-executor/1677: #0: ffffffff90018348 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x4e2/0x720 net/core/net_namespace.c:575 #1: ffffffff8fd76e68 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_exit_net+0x8f/0x340 drivers/infiniband/core/device.c:1133 2 locks held by syz-executor/1687: #0: ffffffff90018348 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x4e2/0x720 net/core/net_namespace.c:575 #1: ffffffff8fd76e68 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_exit_net+0x8f/0x340 drivers/infiniband/core/device.c:1133 2 locks held by syz-executor/1691: #0: ffffffff90018348 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x4e2/0x720 net/core/net_namespace.c:575 #1: ffffffff8fd76e68 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_exit_net+0x8f/0x340 drivers/infiniband/core/device.c:1133 6 locks held by syz-executor/1765: #0: ffffffff90018348 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x4e2/0x720 net/core/net_namespace.c:575 #1: ffffffff8fd76ca8 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x200/0x2f0 drivers/infiniband/core/device.c:1189 #2: ffffffff8fd76e68 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x238/0x2f0 drivers/infiniband/core/device.c:1194