INFO: task kworker/u8:3:5873 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u8:3    state:D stack:22136 pid:5873  tgid:5873  ppid:2      task_flags:0x4208060 flags:0x00004000
Workqueue: netns cleanup_net
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1360
 rdma_dev_change_netns+0x39/0x300
 rdma_dev_exit_net+0x203/0x340
 ops_undo_list+0x49a/0x990
 cleanup_net+0x4c5/0x800
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task syz.1.2402:14273 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.2402      state:D stack:22416 pid:14273 tgid:14269 ppid:14173  task_flags:0x400140 flags:0x00004006
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_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:0x7fa6e658ebe9
RSP: 002b:00007fa6e73a3038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fa6e67b6090 RCX: 00007fa6e658ebe9
RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 000000000000000a
RBP: 00007fa6e6611e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa6e67b6128 R14: 00007fa6e67b6090 R15: 00007ffc19908618
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/34:
 #0: ffffffff8e139e60 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by getty/5672:
 #0: ffff8880285da0a0 (&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
4 locks held by kworker/u8:3/5873:
 #0: ffff88801b2f7148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90003eefbc0 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f52af30 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf7/0x800
 #3: ffff88803ac90700 (&device->unregistration_lock){+.+.}-{4:4}, at: rdma_dev_change_netns+0x39/0x300
2 locks held by syz.1.2402/14273:
 #0: ffffffff99e68858 (&rdma_nl_types[idx].sem){.+.+}-{4:4}, at: rdma_nl_rcv+0x302/0x980
 #1: ffff88803ac90700 (&device->unregistration_lock){+.+.}-{4:4}, at: __ib_unregister_device+0x284/0x3f0
2 locks held by syz.4.3806/19090:
 #0: ffffffff8f52af30 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0
 #1: ffff88803ac90700 (&device->unregistration_lock){+.+.}-{4:4}, at: rdma_dev_change_netns+0x39/0x300
2 locks held by syz.0.3825/19148:
 #0: ffffffff8e19d408 (event_mutex){+.+.}-{4:4}, at: perf_trace_destroy+0x2e/0x150
 #1: ffffffff8e13f8f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730
5 locks held by syz.0.3825/19149:

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

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+0x3fc/0x770
 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: 19149 Comm: syz.0.3825 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:__perf_event_overflow+0x7fe/0xe10
Code: 00 00 48 89 f8 48 c1 e8 03 42 80 3c 28 00 74 05 e8 97 df 33 00 4d 8b b7 00 03 00 00 4d 85 f6 4d 0f 44 f7 49 81 c6 38 04 00 00 <4c> 89 f0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 f7 e8 6c df 33 00
RSP: 0018:ffffc900001dfb80 EFLAGS: 00000082
RAX: 1ffff11023004c18 RBX: ffff888118025ec0 RCX: 79cc57fc48c18100
RDX: 0000000000000004 RSI: ffffffff8dba5f32 RDI: ffff8881180260c0
RBP: ffffc900001dfc90 R08: ffffc900001df9d7 R09: 0000000000000000
R10: ffffc900001df9c0 R11: fffff5200003bf3b R12: ffff888136632ad0
R13: dffffc0000000000 R14: ffff8881180261f8 R15: ffff888118025dc0
FS:  00007fdae29fd6c0(0000) GS:ffff8881a3c1a000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555842155c8 CR3: 000000003bf00000 CR4: 00000000000006f0
DR0: 0000200000000300 DR1: 0000000000000000 DR2: 0000200000000300
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 perf_swevent_event+0x2f4/0x5e0
 perf_tp_event+0x4f6/0x1380
 perf_trace_run_bpf_submit+0xee/0x170
 perf_trace_lock+0x2f8/0x3b0
 lock_release+0x3b2/0x3e0
 seqcount_lockdep_reader_access+0xdc/0x1c0
 ktime_get+0x3e/0x1f0
 clockevents_program_event+0xea/0x360
 hrtimer_interrupt+0x620/0xaa0
 __sysvec_apic_timer_interrupt+0x10b/0x410
 sysvec_apic_timer_interrupt+0x52/0xc0
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:kasan_check_range+0x292/0x2c0
Code: eb 19 4d 01 f3 49 83 c3 04 eb 10 4d 01 f3 49 83 c3 05 eb 07 4d 01 f3 49 83 c3 06 4d 89 dc 4d 85 db 0f 84 44 ff ff ff 4d 01 d1 <4d> 39 cc 75 11 41 83 e0 07 45 0f be 09 45 39 c8 0f 8c 2b ff ff ff
RSP: 0018:ffffc900001e0500 EFLAGS: 00000286
RAX: 0000000000000001 RBX: ffffffffffffffff RCX: ffffffff819caa5a
RDX: 0000000000000000 RSI: 000000000000000d RDI: ffffffff8b8bd2a0
RBP: ffffc900001e0660 R08: ffffffff8b8bd2ac R09: fffffbfff1717a55
R10: dffffc0000000000 R11: fffffbfff1717a55 R12: fffffbfff1717a55
R13: 000000000000000e R14: fffffbfff1717a56 R15: 1ffffffff1717a54
 __asan_memcpy+0x29/0x70
 perf_trace_lock+0x28a/0x3b0
 lock_release+0x3b2/0x3e0
 unwind_next_frame+0x19a9/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
 kfree+0x18e/0x440
 slab_free_after_rcu_debug+0x60/0x2a0
 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:check_preemption_disabled+0x40/0x120
Code: 08 65 8b 05 c6 5e 26 07 65 8b 0d bb 5e 26 07 f7 c1 ff ff ff 7f 74 23 65 48 8b 0d 9b 5e 26 07 48 3b 4c 24 08 0f 85 cc 00 00 00 <48> 83 c4 10 5b 41 5e 41 5f 5d e9 41 ca 02 00 cc 48 c7 04 24 00 00
RSP: 0018:ffffc90009676e28 EFLAGS: 00000246
RAX: 0000000000000001 RBX: 0000000000000001 RCX: 79cc57fc48c18100
RDX: 0000000000000000 RSI: ffffffff8be332e0 RDI: ffffffff8be332a0
RBP: ffffc90009677070 R08: ffffffff8fa37f37 R09: 1ffffffff1f46fe6
R10: dffffc0000000000 R11: fffffbfff1f46fe7 R12: ffff88801c423870
R13: 0000000000000001 R14: dffffc0000000000 R15: 1ffff920012cee10
 __schedule+0x10a/0x4cc0
 preempt_schedule_notrace+0xd1/0x110
 preempt_schedule_notrace_thunk+0x16/0x30
 lock_release+0x3ca/0x3e0
 __page_table_check_zero+0x406/0x530
 post_alloc_hook+0x253/0x2a0
 get_page_from_freelist+0x21e4/0x22c0
 __alloc_frozen_pages_noprof+0x181/0x370
 alloc_pages_mpol+0x232/0x4a0
 alloc_pages_noprof+0xa9/0x190
 get_free_pages_noprof+0xf/0x80
 kasan_populate_vmalloc+0x33/0x1a0
 alloc_vmap_area+0xd51/0x1490
 __get_vm_area_node+0x1f8/0x300
 __vmalloc_node_range_noprof+0x301/0x12f0
 __vmalloc_noprof+0xb1/0xf0
 bpf_prog_alloc_no_stats+0x4a/0x4b0
 bpf_prog_alloc+0x3c/0x1a0
 bpf_prog_load+0x735/0x1930
 __sys_bpf+0x528/0x870
 __x64_sys_bpf+0x7c/0x90
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fdae1b8ebe9
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:00007fdae29fd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fdae1db5fa0 RCX: 00007fdae1b8ebe9
RDX: 0000000000000090 RSI: 0000200000000780 RDI: 0000000000000005
RBP: 00007fdae1c11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fdae1db6038 R14: 00007fdae1db5fa0 R15: 00007ffc9c79aaf8
 </TASK>
