INFO: task kworker/u10:4:4862 blocked for more than 146 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u10:4   state:D stack:22952 pid:4862  tgid:4862  ppid:2      task_flags:0x4208060 flags:0x00004000
Workqueue: ib-unreg-wq ib_unregister_work
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_timeout+0x9a/0x270
 wait_for_completion+0x2bf/0x5d0
 disable_device+0x1c6/0x320
 __ib_unregister_device+0x2cb/0x3f0
 ib_unregister_work+0x19/0x30
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x439/0x7d0
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task syz.4.948:9589 blocked for more than 147 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.948       state:D stack:23096 pid:9589  tgid:9588  ppid:8397   task_flags:0x400140 flags:0x00004006
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 rdma_dev_change_netns+0x39/0x300
 rdma_dev_exit_net+0x203/0x340
 ops_undo_list+0x49a/0x990
 setup_net+0x2d3/0x320
 copy_net_ns+0x31b/0x4d0
 create_new_namespaces+0x3f3/0x720
 copy_namespaces+0x438/0x4b0
 copy_process+0x1733/0x3c00
 kernel_clone+0x21e/0x840
 __x64_sys_clone+0x18b/0x1e0
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff1c258ec29
RSP: 002b:00007ff1c07f5fe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007ff1c27d5fa0 RCX: 00007ff1c258ec29
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00007ff1c2611e41 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 00007ff1c27d6038 R14: 00007ff1c27d5fa0 R15: 00007ffe3745fc48
 </TASK>
INFO: task syz.7.961:9635 blocked for more than 147 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.7.961       state:D stack:24824 pid:9635  tgid:9634  ppid:9311   task_flags:0x400140 flags:0x00004006
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 rdma_dev_change_netns+0x39/0x300
 rdma_dev_exit_net+0x203/0x340
 ops_undo_list+0x49a/0x990
 setup_net+0x2d3/0x320
 copy_net_ns+0x31b/0x4d0
 create_new_namespaces+0x3f3/0x720
 copy_namespaces+0x438/0x4b0
 copy_process+0x1733/0x3c00
 kernel_clone+0x21e/0x840
 __x64_sys_clone+0x18b/0x1e0
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f12a0f8ec29
RSP: 002b:00007f12a1e57fe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007f12a11d5fa0 RCX: 00007f12a0f8ec29
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00007f12a1011e41 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 00007f12a11d6038 R14: 00007f12a11d5fa0 R15: 00007ffd10034ab8
 </TASK>
INFO: task syz.6.989:9722 blocked for more than 147 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.6.989       state:D stack:23480 pid:9722  tgid:9721  ppid:8571   task_flags:0x400140 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 __ib_unregister_device+0x284/0x3f0
 ib_unregister_device_and_put+0xb8/0xf0
 nldev_dellink+0x2d1/0x320
 rdma_nl_rcv+0x6ae/0x980
 netlink_unicast+0x82f/0x9e0
 netlink_sendmsg+0x805/0xb30
 __sock_sendmsg+0x21c/0x270
 ____sys_sendmsg+0x505/0x830
 ___sys_sendmsg+0x21f/0x2a0
 __x64_sys_sendmsg+0x19b/0x260
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe7f158ec29
RSP: 002b:00007fe7ef7f6038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fe7f17d5fa0 RCX: 00007fe7f158ec29
RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 000000000000000a
RBP: 00007fe7f1611e41 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe7f17d6038 R14: 00007fe7f17d5fa0 R15: 00007ffcbc6b2b48
 </TASK>

Showing all locks held in the system:
1 lock held by pool_workqueue_/3:
 #0: ffffffff8e13fbf8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730
1 lock held by khungtaskd/34:
 #0: ffffffff8e13a160 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
3 locks held by kworker/u9:9/1194:
 #0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900076c7bc0 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff888120870768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xc4/0x470
3 locks held by kworker/u10:4/4862:
 #0: ffff888104e00948 ((wq_completion)ib-unreg-wq){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000350fbc0 ((work_completion)(&device->unregistration_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff88811825c700 (&device->unregistration_lock){+.+.}-{4:4}, at: __ib_unregister_device+0x284/0x3f0
2 locks held by getty/5676:
 #0: ffff8880292010a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900029032f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400
5 locks held by kworker/u11:3/5853:
 #0: ffff88811c38f148 ((wq_completion)hci3){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000348fbc0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff888118398dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d4/0x3a0
 #3: ffff8881183980b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x242/0xe30
 #4: ffffffff8e13fbf8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730
3 locks held by kworker/u8:4/5881:
 #0: ffff8880294d8148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90003a17bc0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f53ad48 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_verify_work+0x19/0x30
3 locks held by kworker/u9:10/6045:
 #0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90003f4fbc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f53ad48 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60
4 locks held by kworker/u8:5/6269:
 #0: ffff88801b2f7148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900031dfbc0 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f52de90 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf7/0x800
 #3: ffffffff8e13fac0 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x570
3 locks held by kworker/0:9/9179:
 #0: ffff88801a482148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000498fbc0 ((crda_timeout).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f53ad48 (rtnl_mutex){+.+.}-{4:4}, at: crda_timeout_work+0x15/0x50
2 locks held by syz.4.948/9589:
 #0: ffffffff8f52de90 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0
 #1: ffff88811825c700 (&device->unregistration_lock){+.+.}-{4:4}, at: rdma_dev_change_netns+0x39/0x300
2 locks held by syz.7.961/9635:
 #0: ffffffff8f52de90 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0
 #1: ffff88811825c700 (&device->unregistration_lock){+.+.}-{4:4}, at: rdma_dev_change_netns+0x39/0x300
2 locks held by syz.6.989/9722:
 #0: ffffffff99e718f8 (&rdma_nl_types[idx].sem){.+.+}-{4:4}, at: rdma_nl_rcv+0x302/0x980
 #1: ffff88811825c700 (&device->unregistration_lock){+.+.}-{4:4}, at: __ib_unregister_device+0x284/0x3f0
2 locks held by syz.9.1007/9820:
 #0: ffffffff8f52de90 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0
 #1: ffff88811825c700 (&device->unregistration_lock){+.+.}-{4:4}, at: rdma_dev_change_netns+0x39/0x300
3 locks held by syz.2.1043/10003:
2 locks held by syz.2.1043/10005:
 #0: ffffffff8f52de90 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0
 #1: ffffffff8e13fac0 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x570
1 lock held by syz.8.1045/10012:
 #0: ffffffff8f53ad48 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
4 locks held by syz-executor/10017:
 #0: ffff8881244c4dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x212/0x510
 #1: ffff8881244c40b8 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x66a/0x1330
 #2: ffffffff8f69fcc8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xa1/0x230
 #3: ffff88810e68eb38 (&conn->lock#2){+.+.}-{4:4}, at: l2cap_conn_del+0x70/0x680
2 locks held by syz-executor/10022:
 #0: ffffffff8f52de90 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0
 #1: ffffffff8f53ad48 (rtnl_mutex){+.+.}-{4:4}, at: ops_undo_list+0x2a4/0x990
2 locks held by syz-executor/10036:
 #0: ffffffff8fa3f438 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250
 #1: ffffffff8f53ad48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8db/0x1c70
2 locks held by syz-executor/10041:
 #0: ffffffff8f52de90 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0
 #1: ffffffff8f53ad48 (rtnl_mutex){+.+.}-{4:4}, at: register_nexthop_notifier+0x80/0x210
2 locks held by syz-executor/10044:
 #0: ffffffff8f52de90 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0
 #1: ffffffff8f53ad48 (rtnl_mutex){+.+.}-{4:4}, at: register_nexthop_notifier+0x80/0x210

=============================================

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 34 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0x189/0x250
 nmi_cpu_backtrace+0x39e/0x3d0
 nmi_trigger_cpumask_backtrace+0x17a/0x300
 watchdog+0xf93/0xfe0
 kthread+0x711/0x8a0
 ret_from_fork+0x439/0x7d0
 ret_from_fork_asm+0x1a/0x30
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 10003 Comm: syz.2.1043 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:rcu_read_unlock_special+0x87/0x4b0
Code: f1 f1 f1 00 f2 f2 f2 4a 89 04 2b 66 42 c7 44 2b 09 f3 f3 42 c6 44 2b 0b f3 65 44 8b 35 92 ae f9 10 41 f7 c6 00 00 f0 00 74 49 <48> c7 44 24 20 0e 36 e0 45 4a c7 04 2b 00 00 00 00 66 42 c7 44 2b
RSP: 0018:ffffc900001e0600 EFLAGS: 00000206
RAX: 53e117f0cf5d3900 RBX: 1ffff9200003c0c4 RCX: 53e117f0cf5d3900
RDX: 0000000000000003 RSI: ffffffff8d9baed8 RDI: ffffffff8be34400
RBP: ffffc900001e06d8 R08: ffffffff8fa3b537 R09: 1ffffffff1f476a6
R10: dffffc0000000000 R11: fffffbfff1f476a7 R12: ffffffff8e13f400
R13: dffffc0000000000 R14: 0000000000000246 R15: 0000000000000002
FS:  00007f4b771f66c0(0000) GS:ffff8881a3c12000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd93b176c8 CR3: 0000000020e5a000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000200000000300 DR2: 0000200000000300
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 __rcu_read_unlock+0x84/0xe0
 unwind_next_frame+0x19ae/0x2390
 arch_stack_walk+0x11c/0x150
 stack_trace_save+0x9c/0xe0
 kasan_save_track+0x3e/0x80
 kasan_save_free_info+0x46/0x50
 __kasan_slab_free+0x5b/0x80
 kmem_cache_free+0x18f/0x400
 rcu_core+0xcab/0x1770
 handle_softirqs+0x286/0x870
 __irq_exit_rcu+0xca/0x1f0
 irq_exit_rcu+0x9/0x30
 sysvec_apic_timer_interrupt+0xa6/0xc0
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:lock_is_held_type+0x38/0x190
Code: 48 83 ec 10 65 48 8b 05 16 d5 25 07 48 89 44 24 08 bb ff ff ff ff 83 3d 45 db 28 04 00 0f 84 fe 00 00 00 65 8b 05 08 15 26 07 <85> c0 0f 85 ef 00 00 00 65 4c 8b 2c 25 08 e0 a0 92 41 83 bd ec 0a
RSP: 0018:ffffc9000317f678 EFLAGS: 00000202
RAX: 0000000000000000 RBX: 00000000ffffffff RCX: ffff88802b748000
RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffffffff8e13a1c0
RBP: ffffc9000317f8d0 R08: ffffffff8fa3b537 R09: 1ffffffff1f476a6
R10: dffffc0000000000 R11: fffffbfff1f476a7 R12: ffff8881a3c12000
R13: 0000000000000001 R14: ffff88802b748000 R15: 1ffff11026cc76d1
 __schedule+0x241/0x4cc0
 preempt_schedule_irq+0xb5/0x150
 irqentry_exit+0x6f/0x90
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:memset_orig+0x30/0xb0
Code: ce 48 b8 01 01 01 01 01 01 01 01 48 0f af c1 41 89 f9 41 83 e1 07 75 74 48 89 d1 48 c1 e9 06 74 39 66 0f 1f 84 00 00 00 00 00 <48> ff c9 48 89 07 48 89 47 08 48 89 47 10 48 89 47 18 48 89 47 20
RSP: 0018:ffffc9000317fa40 EFLAGS: 00000206
RAX: ffffffffffffffff RBX: ffffea0004cbb400 RCX: 000000000000001d
RDX: 0000000000001000 RSI: 00000000000000ff RDI: ffffed10265da8c0
RBP: 0000000000000003 R08: dffffc0000000000 R09: 0000000000000000
R10: ffffed10265da000 R11: fffffbfff1f476a7 R12: 0000000000000000
R13: 0000000000008000 R14: 0000000000000008 R15: 0000000000000000
 __free_frozen_pages+0x4fe/0xd30
 __put_partials+0x156/0x1a0
 put_cpu_partial+0x17c/0x250
 __slab_free+0x2d5/0x3c0
 qlist_free_all+0x97/0x140
 kasan_quarantine_reduce+0x148/0x160
 __kasan_slab_alloc+0x22/0x80
 kmem_cache_alloc_lru_noprof+0x1c6/0x3d0
 __d_alloc+0x36/0x7a0
 d_alloc_pseudo+0x21/0xc0
 alloc_file_pseudo+0xcc/0x210
 sock_alloc_file+0xb8/0x2e0
 __sys_socket+0x13d/0x1b0
 __x64_sys_socket+0x7a/0x90
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f4b78f8ec29
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4b771f6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000029
RAX: ffffffffffffffda RBX: 00007f4b791d5fa0 RCX: 00007f4b78f8ec29
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000010
RBP: 00007f4b79011e41 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f4b791d6038 R14: 00007f4b791d5fa0 R15: 00007ffe05799fc8
 </TASK>
