INFO: task syz-executor:18030 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:24424 pid:18030 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x15ae/0x4660 kernel/sched/core.c:6701 schedule+0xbd/0x170 kernel/sched/core.c:6775 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6834 rwsem_down_write_slowpath+0xc3f/0x1020 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:3444 __do_sys_unshare kernel/fork.c:3518 [inline] __se_sys_unshare kernel/fork.c:3516 [inline] __x64_sys_unshare+0x38/0x40 kernel/fork.c:3516 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:0x7f685939f827 RSP: 002b:00007ffffdeec1e8 EFLAGS: 00000206 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007f6859625f40 RCX: 00007f685939f827 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000 RBP: 00007f68596267b8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000008 R13: 0000000000000003 R14: 00007ffffdeec428 R15: 0000000000000000 Showing all locks held in the system: 4 locks held by kworker/u4:1/12: 2 locks held by kworker/1:1/28: 1 lock held by khungtaskd/29: #0: ffffffff8df320e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline] #0: ffffffff8df320e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline] #0: ffffffff8df320e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6669 3 locks held by kworker/u4:3/49: 3 locks held by kworker/u4:4/56: 2 locks held by kworker/u4:6/1129: 5 locks held by kworker/u4:9/3529: #0: ffff88801ae5d138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline] #0: ffff88801ae5d138 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734 #1: ffffc9000c807d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline] #1: ffffc9000c807d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734 #2: ffffffff8f1c5810 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x140/0xb00 net/core/net_namespace.c:610 #3: ffff888024697250 (&devlink->lock_key#11){+.+.}-{3:3}, at: devl_lock net/devlink/core.c:60 [inline] #3: ffff888024697250 (&devlink->lock_key#11){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0xee/0x360 net/devlink/core.c:285 #4: ffffffff8f1d2888 (rtnl_mutex){+.+.}-{3:3}, at: register_nexthop_notifier+0x88/0x240 net/ipv4/nexthop.c:3636 4 locks held by udevd/5139: 2 locks held by getty/5528: #0: ffff8880323910a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000327b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x428/0x1370 drivers/tty/n_tty.c:2217 2 locks held by kworker/0:6/5863: #0: ffff888018872d38 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline] #0: ffff888018872d38 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734 #1: ffffc9000488fd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline] #1: ffffc9000488fd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734 3 locks held by kworker/0:2/15976: 3 locks held by kworker/u4:10/17850: 3 locks held by kworker/u4:12/17903: 5 locks held by syz-executor/18020: #0: ffff888063e5ce70 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:521 [inline] #0: ffff888063e5ce70 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x212/0x500 net/bluetooth/hci_core.c:2709 #1: ffff888063e5c0b8 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x552/0x1170 net/bluetooth/hci_sync.c:5396 #2: ffffffff8f341368 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2016 [inline] #2: ffffffff8f341368 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0x99/0x220 net/bluetooth/hci_conn.c:2592 #3: ffff888141f58b38 (&conn->lock#2){+.+.}-{3:3}, at: l2cap_conn_del+0x7b/0x630 net/bluetooth/l2cap_core.c:1796 #4: ffffffff8df37ab8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #4: ffffffff8df37ab8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3da/0x880 kernel/rcu/tree_exp.h:1004 3 locks held by syz-executor/18026: #0: ffff888055078e70 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:521 [inline] #0: ffff888055078e70 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x212/0x500 net/bluetooth/hci_core.c:2709 #1: ffff8880550780b8 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x552/0x1170 net/bluetooth/hci_sync.c:5396 #2: ffffffff8f341368 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2016 [inline] #2: ffffffff8f341368 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0x99/0x220 net/bluetooth/hci_conn.c:2592 2 locks held by syz-executor/18030: 2 locks held by syz-executor/18034: #0: ffffffff8f1c5810 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x347/0x530 net/core/net_namespace.c:520 #1: ffffffff8ef7d190 (rdma_nets_rwsem){++++}-{3:3}, at: rdma_dev_exit_net+0x90/0x340 drivers/infiniband/core/device.c:1133 2 locks held by syz-executor/18050: #0: ffffffff8f1c5810 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x347/0x530 net/core/net_namespace.c:520 #1: ffffffff8ef7d190 (rdma_nets_rwsem){++++}-{3:3}, at: rdma_dev_exit_net+0x90/0x340 drivers/infiniband/core/device.c:1133 2 locks held by syz-executor/18056: #0: ffffffff8f1c5810 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x347/0x530 net/core/net_namespace.c:520 #1: ffffffff8f1d2888 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_init_net+0x2d2/0x7c0 net/ipv4/ip_tunnel.c:1103 3 locks held by syz-executor/18060: #0: ffffffff8f1c5810 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x347/0x530 net/core/net_namespace.c:520 #1: ffffffff8f1d2888 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_delete_nets+0xd6/0x380 net/ipv4/ip_tunnel.c:1152 #2: ffffffff8df37ab8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #2: ffffffff8df37ab8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3da/0x880 kernel/rcu/tree_exp.h:1004 4 locks held by syz-executor/18064: #0: ffffffff8f1c5810 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x347/0x530 net/core/net_namespace.c:520 #1: ffffffff8ef7cfd0 (devices_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x1a3/0x280 drivers/infiniband/core/device.c:1189 #2: ffffffff8ef7d190 (rdma_nets_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x1db/0x280 drivers/infiniband/core/device.c:1194 #3: ffff88807d58cf80 (&device->compat_devs_mutex){+.+.}-{3:3}, at: add_one_compat_dev+0xee/0x5c0 drivers/infiniband/core/device.c:953 1 lock held by syz-executor/18106: 4 locks held by syz-executor/18110: #0: ffffffff8f1c5810 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x347/0x530 net/core/net_namespace.c:520 #1: ffffffff8ef7cfd0 (devices_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x1a3/0x280 drivers/infiniband/core/device.c:1189 #2: ffffffff8ef7d190 (rdma_nets_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x1db/0x280 drivers/infiniband/core/device.c:1194 #3: ffff88807d58cf80 (&device->compat_devs_mutex){+.+.}-{3:3}, at: add_one_compat_dev+0xee/0x5c0 drivers/infiniband/core/device.c:953 6 locks held by syz-executor/18116: #0: ffffffff8f1c5810 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x347/0x530 net/core/net_namespace.c:520 #1: ffffffff8ef7cfd0 (devices_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x1a3/0x280 drivers/infiniband/core/device.c:1189 #2: ffffffff8ef7d190 (rdma_nets_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x1db/0x280 drivers/infiniband/core/device.c:1194 #3: ffff88807d58cf80 (&device->compat_devs_mutex){+.+.}-{3:3}, at: add_one_compat_dev+0xee/0x5c0 drivers/infiniband/core/device.c:953 #4: ffff88807d58d1b0 (&rxe->usdev_lock){+.+.}-{3:3}, at: rxe_query_port+0x78/0x2d0 drivers/infiniband/sw/rxe/rxe_verbs.c:61 #5: ffffffff8f1d2888 (rtnl_mutex){+.+.}-{3:3}, at: ib_get_eth_speed+0x170/0x8d0 drivers/infiniband/core/verbs.c:1990 4 locks held by syz-executor/18123: #0: ffffffff8f1c5810 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x347/0x530 net/core/net_namespace.c:520