INFO: task syz.2.2527:14621 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.2527 state:D stack:23712 pid:14621 tgid:14616 ppid:5845 task_flags:0x400140 flags:0x00080003 Call Trace: context_switch kernel/sched/core.c:5325 [inline] __schedule+0x1798/0x4cc0 kernel/sched/core.c:6929 __schedule_loop kernel/sched/core.c:7011 [inline] schedule+0x165/0x360 kernel/sched/core.c:7026 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7083 rwsem_down_write_slowpath+0x872/0xfe0 kernel/locking/rwsem.c:1185 __down_write_common kernel/locking/rwsem.c:1317 [inline] __down_write kernel/locking/rwsem.c:1326 [inline] down_write+0x1ab/0x1f0 kernel/locking/rwsem.c:1591 rdma_dev_exit_net+0x8c/0x340 drivers/infiniband/core/device.c:1159 ops_exit_list net/core/net_namespace.c:199 [inline] ops_undo_list+0x49a/0x990 net/core/net_namespace.c:252 setup_net+0x2d6/0x320 net/core/net_namespace.c:462 copy_net_ns+0x34e/0x4e0 net/core/net_namespace.c:581 create_new_namespaces+0x3f3/0x720 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0x11c/0x170 kernel/nsproxy.c:218 ksys_unshare+0x4c8/0x8c0 kernel/fork.c:3129 __do_sys_unshare kernel/fork.c:3200 [inline] __se_sys_unshare kernel/fork.c:3198 [inline] __x64_sys_unshare+0x38/0x50 kernel/fork.c:3198 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7feff658efc9 RSP: 002b:00007feff73e8038 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007feff67e6090 RCX: 00007feff658efc9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000006a040000 RBP: 00007feff6611f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007feff67e6128 R14: 00007feff67e6090 R15: 00007ffcf85433a8 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8df3d2e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8df3d2e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline] #0: ffffffff8df3d2e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775 6 locks held by aoe_tx0/1300: 4 locks held by kworker/u8:9/3591: #0: ffff88801aedf148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline] #0: ffff88801aedf148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346 #1: ffffc9000c6e7ba0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline] #1: ffffc9000c6e7ba0 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346 #2: ffffffff8f2be270 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf7/0x820 net/core/net_namespace.c:670 #3: ffffffff8f037270 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_exit_net+0x8c/0x340 drivers/infiniband/core/device.c:1159 4 locks held by kworker/u9:1/5150: #0: ffff88804a0a8148 ((wq_completion)hci22#2){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline] #0: ffff88804a0a8148 ((wq_completion)hci22#2){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346 #1: ffffc9000efafba0 ((work_completion)(&hdev->rx_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline] #1: ffffc9000efafba0 ((work_completion)(&hdev->rx_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346 #2: ffff88802f9c00b8 (&hdev->lock){+.+.}-{4:4}, at: hci_remote_features_evt+0x9b/0x8e0 net/bluetooth/hci_event.c:3694 #3: ffffffff8f434a28 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:2103 [inline] #3: ffffffff8f434a28 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_remote_features_evt+0x516/0x8e0 net/bluetooth/hci_event.c:3728 2 locks held by getty/5598: #0: ffff88814dcad0a0 (&tty->ldisc_sem ){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 2 locks held by sshd-session/5816: 5 locks held by kworker/u9:8/5848: #0: ffff888027c29948 ((wq_completion)hci11){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline] #0: ffff888027c29948 ((wq_completion)hci11){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346 #1: ffffc900044afba0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline] #1: ffffc900044afba0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346 #2: ffff8880308e4dc8 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d4/0x3a0 net/bluetooth/hci_sync.c:331 #3: ffff8880308e40b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x242/0xe30 net/bluetooth/hci_sync.c:5679 #4: ffffffff8f434a28 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:2103 [inline] #4: ffffffff8f434a28 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x165/0x310 net/bluetooth/hci_conn.c:1312 7 locks held by kworker/u9:9/5849: #0: ffff88807d053948 ((wq_completion)hci12){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline] #0: ffff88807d053948 ((wq_completion)hci12){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346 #1: ffffc900044cfba0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline] #1: ffffc900044cfba0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346 #2: ffff88804e2c4dc8 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d4/0x3a0 net/bluetooth/hci_sync.c:331 #3: ffff88804e2c40b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x242/0xe30 net/bluetooth/hci_sync.c:5679 #4: ffffffff8f434a28 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:2103 [inline] #4: ffffffff8f434a28 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x165/0x310 net/bluetooth/hci_conn.c:1312 #5: ffff8880730c7338 (&conn->lock#2){+.+.}-{4:4}, at: l2cap_conn_del+0x70/0x680 net/bluetooth/l2cap_core.c:1762 #6: ffffffff8df42d78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:343 [inline] #6: ffffffff8df42d78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730 kernel/rcu/tree_exp.h:957 1 lock held by udevd/6379: #0: ffff888024f36358 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xe0/0xd30 block/bdev.c:945 6 locks held by kworker/u8:27/6927: 2 locks held by syz.0.2520/14598: #0: ffffffff8f2be270 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x337/0x4e0 net/core/net_namespace.c:577 #1: ffff88801c6a8188 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_remove_by_name_ns+0x3d/0x130 fs/kernfs/dir.c:1712 2 locks held by syz.2.2527/14621: #0: ffffffff8f2be270 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x337/0x4e0 net/core/net_namespace.c:577 #1: ffffffff8f037270 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_exit_net+0x8c/0x340 drivers/infiniband/core/device.c:1159 2 locks held by syz.1.2539/14653: 5 locks held by syz.3.2542/14660: #0: ffffffff8f2be270 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x337/0x4e0 net/core/net_namespace.c:577 #1: ffffffff8f0370b0 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x19a/0x270 drivers/infiniband/core/device.c:1215 #2: ffffffff8f037270 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x1d2/0x270 drivers/infiniband/core/device.c:1220 #3: ffff8880726dcf98 (&device->compat_devs_mutex){+.+.}-{4:4}, at: add_one_compat_dev+0xee/0x5c0 drivers/infiniband/core/device.c:979 #4: ffff8880b893a018 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:638 3 locks held by syz-executor/14669: #0: ffffffff8f2be270 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x337/0x4e0 net/core/net_namespace.c:577 #1: ffffffff8f0370b0 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x19a/0x270 drivers/infiniband/core/device.c:1215 #2: ffffffff8f037270 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x1d2/0x270 drivers/infiniband/core/device.c:1220 3 locks held by syz-executor/14670: #0: ffffffff8f2be270 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x337/0x4e0 net/core/net_namespace.c:577 #1: ffffffff8f2cb208 (rtnl_mutex){+.+.}-{4:4}, at: ops_exit_rtnl_list net/core/net_namespace.c:173 [inline] #1: ffffffff8f2cb208 (rtnl_mutex){+.+.}-{4:4}, at: ops_undo_list+0x2a4/0x990 net/core/net_namespace.c:248 #2: ffffffff8df42d78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:343 [inline] #2: ffffffff8df42d78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730 kernel/rcu/tree_exp.h:957 4 locks held by syz-executor/14673: #0: ffffffff8f2be270 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x337/0x4e0 net/core/net_namespace.c:577 #1: ffffffff8f0370b0 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x19a/0x270 drivers/infiniband/core/device.c:1215 #2: ffffffff8f037270 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x1d2/0x270 drivers/infiniband/core/device.c:1220 #3: ffff8880726dcf98 (&device->compat_devs_mutex){+.+.}-{4:4}, at: add_one_compat_dev+0xee/0x5c0 drivers/infiniband/core/device.c:979 4 locks held by syz-executor/14675: #0: ffffffff8f2be270 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x337/0x4e0 net/core/net_namespace.c:577 #1: ffffffff8f0370b0 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x19a/0x270 drivers/infiniband/core/device.c:1215 #2: ffffffff8f037270 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x1d2/0x270 drivers/infiniband/core/device.c:1220 #3: ffff8880726dcf98 (&device->compat_devs_mutex){+.+.}-{4:4}, at: add_one_compat_dev+0xee/0x5c0 drivers/infiniband/core/device.c:979 3 locks held by syz-executor/14677: #0: ffffffff8f2be270 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x337/0x4e0 net/core/net_namespace.c:577 #1: ffffffff8f0370b0 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x19a/0x270 drivers/infiniband/core/device.c:1215 #2: ffffffff8f037270 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x1d2/0x270 drivers/infiniband/core/device.c:1220 3 locks held by syz-executor/14686: #0: ffffffff8f2be270 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x337/0x4e0 net/core/net_namespace.c:577 #1: ffffffff8f0370b0 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x19a/0x270 drivers/infiniband/core/device.c:1215 #2: ffffffff8f037270 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x1d2/0x270 drivers/infiniband/core/device.c:1220 3 locks held by syz-executor/14688: #0: ffffffff8f2be270 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x337/0x4e0 net/core/net_namespace.c:577 #1: ffffffff8f0370b0 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x19a/0x270 drivers/infiniband/core/device.c:1215 #2: ffffffff8f037270 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x1d2/0x270 drivers/infiniband/core/device.c:1220 3 locks held by syz-executor/14689: #0: ffffffff8f2be270 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x337/0x4e0 net/core/net_namespace.c:577 #1: ffffffff8f0370b0 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x19a/0x270 drivers/infiniband/core/device.c:1215 #2: ffffffff8f037270 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x1d2/0x270 drivers/infiniband/core/device.c:1220 3 locks held by syz-executor/14692: #0: ffffffff8f2be270 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x337/0x4e0 net/core/net_namespace.c:577 #1: ffffffff8f0370b0 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x19a/0x270 drivers/infiniband/core/device.c:1215 #2: ffffffff8f037270 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x1d2/0x270 drivers/infiniband/core/device.c:1220 3 locks held by syz-executor/14700: #0: ffffffff8f2be270 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x337/0x4e0 net/core/net_namespace.c:577 #1: ffffffff8f0370b0 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x19a/0x270 drivers/infiniband/core/device.c:1215 #2: ffffffff8f037270 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x1d2/0x270 drivers/infiniband/core/device.c:1220 3 locks held by syz-executor/14702: #0: ffffffff8f2be270 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x337/0x4e0 net/core/net_namespace.c:577 #1: ffffffff8f0370b0 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x19a/0x270 drivers/infiniband/core/device.c:1215 #2: ffffffff8f037270 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x1d2/0x270 drivers/infiniband/core/device.c:1220 3 locks held by syz-executor/14705: #0: ffffffff8f2be270 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x337/0x4e0 net/core/net_namespace.c:577 #1: ffffffff8f0370b0 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x19a/0x270 drivers/infiniband/core/device.c:1215