INFO: task kworker/u9:10:9574 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u9:10   state:D stack:23720 pid:9574  tgid:9574  ppid:2      task_flags:0x4208060 flags:0x00080000
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+0x4bc/0x870
 ret_from_fork_asm+0x1a/0x30
 </TASK>

Showing all locks held in the system:
4 locks held by kworker/u8:0/12:
 #0: ffff888100ef7948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90000117ba0 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f2bf0d0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf7/0x820
 #3: ffffffff8df43040 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x570
1 lock held by khungtaskd/34:
 #0: ffffffff8df3d6e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by getty/5638:
 #0: ffff8881136f80a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900033a02f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400
1 lock held by syz-executor/5794:
3 locks held by kworker/u9:10/9574:
 #0: ffff8881066f8148 ((wq_completion)ib-unreg-wq){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90003ed7ba0 ((work_completion)(&device->unregistration_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff8881bb7d4700 (&device->unregistration_lock){+.+.}-{4:4}, at: __ib_unregister_device+0x284/0x3f0
2 locks held by syz.0.2542/14229:
 #0: ffffffff8f2bf0d0 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x337/0x4e0
 #1: ffff8881bb7d4700 (&device->unregistration_lock){+.+.}-{4:4}, at: rdma_dev_change_netns+0x39/0x300
1 lock held by syz.4.3179/16264:
 #0: ffffffff8dfa2188 (event_mutex){+.+.}-{4:4}, at: perf_trace_destroy+0x2e/0x150
4 locks held by syz.4.3179/16266:
1 lock held by syz.1.3180/16265:
 #0: ffffffff8dfa2188 (event_mutex){+.+.}-{4:4}, at: perf_trace_destroy+0x2e/0x150
2 locks held by syz.3.3181/16269:
 #0: ffffffff8dfa2188 (event_mutex){+.+.}-{4:4}, at: perf_trace_destroy+0x2e/0x150
 #1: ffffffff8df43178 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730

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

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+0xf60/0xfa0
 kthread+0x711/0x8a0
 ret_from_fork+0x4bc/0x870
 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: 16266 Comm: syz.4.3179 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:__sanitizer_cov_trace_const_cmp8+0x2f/0x90
Code: 8b 04 24 65 48 8b 0c 25 08 70 6e 92 65 8b 15 e8 68 ae 10 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 57 83 b9 7c 16 00 00 00 <74> 4e 8b 91 58 16 00 00 83 fa 03 75 43 48 8b 91 60 16 00 00 44 8b
RSP: 0018:ffffc90000a084f8 EFLAGS: 00000046
RAX: ffffffff81f0cd8e RBX: 0000000000009008 RCX: ffff88802829d700
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000a08768 R08: ffffc90000a08597 R09: 0000000000000000
R10: ffffc90000a08588 R11: fffff520001410b3 R12: ffff888021c89900
R13: ffffc90000a08588 R14: ffff88823c632af0 R15: dffffc0000000000
FS:  00007fc5bb2106c0(0000) GS:ffff8882a9f39000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000001b40 CR3: 0000000024c9a000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 perf_tp_event+0x29e/0x1380
 perf_trace_run_bpf_submit+0xee/0x170
 perf_trace_preemptirq_template+0x280/0x340
 trace_irq_disable+0xee/0x110
 irqentry_enter+0x3d/0x60
 sysvec_apic_timer_interrupt+0xe/0xc0
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:_raw_spin_unlock_irqrestore+0xa8/0x110
Code: 74 05 e8 eb 89 7e f6 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f6 44 24 21 02 75 4f f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> 83 b9 46 f6 65 8b 05 dc 38 25 07 85 c0 74 40 48 c7 04 24 0e 36
RSP: 0018:ffffc90000a089a0 EFLAGS: 00000206
RAX: 88a721a0d2421100 RBX: 0000000000000a02 RCX: 88a721a0d2421100
RDX: 0000000000000003 RSI: ffffffff8d70e8b0 RDI: 0000000000000001
RBP: ffffc90000a08a38 R08: ffffffff8f7cf077 R09: 1ffffffff1ef9e0e
R10: dffffc0000000000 R11: fffffbfff1ef9e0f R12: dffffc0000000000
R13: ffff8881aa6552f0 R14: ffffffff99a69988 R15: 1ffff92000141134
 debug_check_no_obj_freed+0x451/0x470
 kmem_cache_free+0x116/0x690
 mac80211_hwsim_beacon_tx+0x3f0/0x860
 __iterate_interfaces+0x2ab/0x590
 ieee80211_iterate_active_interfaces_atomic+0xdb/0x180
 mac80211_hwsim_beacon+0xbb/0x180
 __hrtimer_run_queues+0x52c/0xc60
 hrtimer_run_softirq+0x187/0x2b0
 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:_raw_spin_unlock_irqrestore+0xa8/0x110
Code: 74 05 e8 eb 89 7e f6 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f6 44 24 21 02 75 4f f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> 83 b9 46 f6 65 8b 05 dc 38 25 07 85 c0 74 40 48 c7 04 24 0e 36
RSP: 0018:ffffc90007d879c0 EFLAGS: 00000206
RAX: 88a721a0d2421100 RBX: 0000000000000a02 RCX: 88a721a0d2421100
RDX: 0000000000000007 RSI: ffffffff8d70e8b0 RDI: 0000000000000001
RBP: ffffc90007d87a50 R08: ffffffff8f7cf077 R09: 1ffffffff1ef9e0e
R10: dffffc0000000000 R11: fffffbfff1ef9e0f R12: dffffc0000000000
R13: ffff888028320000 R14: ffffffff99a12208 R15: 1ffff92000fb0f38
 debug_check_no_obj_freed+0x451/0x470
 __free_frozen_pages+0x4dd/0xd30
 __put_partials+0x146/0x170
 put_cpu_partial+0x1f2/0x2e0
 __slab_free+0x2b9/0x390
 qlist_free_all+0x97/0x140
 kasan_quarantine_reduce+0x148/0x160
 __kasan_slab_alloc+0x22/0x80
 kmem_cache_alloc_lru_noprof+0x35d/0x6d0
 sock_alloc_inode+0x28/0xc0
 alloc_inode+0x6a/0x1b0
 __sock_create+0x12d/0x9f0
 __sys_socket+0xd7/0x1b0
 __x64_sys_socket+0x7a/0x90
 do_syscall_64+0xfa/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc5ba38f7c9
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:00007fc5bb210038 EFLAGS: 00000246 ORIG_RAX: 0000000000000029
RAX: ffffffffffffffda RBX: 00007fc5ba5e5fa0 RCX: 00007fc5ba38f7c9
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 000000000000000a
RBP: 00007fc5ba3f297f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc5ba5e6038 R14: 00007fc5ba5e5fa0 R15: 00007ffd688f2c28
 </TASK>
