INFO: task kworker/u8:2:5851 blocked for more than 186 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u8:2    state:D stack:24168 pid:5851  tgid:5851  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/0x1350
 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+0x439/0x7d0
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task syz.2.675:8505 blocked for more than 187 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.675       state:D stack:24648 pid:8505  tgid:8504  ppid:5852   task_flags:0x400140 flags:0x00004004
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:0x7fbbe938eba9
RSP: 002b:00007fbbea17d038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fbbe95d5fa0 RCX: 00007fbbe938eba9
RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 000000000000000c
RBP: 00007fbbe9411e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fbbe95d6038 R14: 00007fbbe95d5fa0 R15: 00007fffe9c3ada8
 </TASK>
INFO: task syz.1.900:9421 blocked for more than 146 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.900       state:D stack:22456 pid:9421  tgid:9420  ppid:8939   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:0x7f4afdd8eba9
RSP: 002b:00007f4afec1dfe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007f4afdfd5fa0 RCX: 00007f4afdd8eba9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000e50c1600
RBP: 00007f4afde11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 00007f4afdfd6038 R14: 00007f4afdfd5fa0 R15: 00007ffe9d7078e8
 </TASK>

Showing all locks held in the system:
3 locks held by kworker/u9:1/28:
1 lock held by rcu_tasks_trace/32:
 #0: ffffffff8e13ae50 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{4:4}, at: rcu_tasks_one_gp+0xaf9/0xdf0
1 lock held by khungtaskd/34:
 #0: ffffffff8e13a120 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by getty/5675:
 #0: ffff888109c520a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900029062f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400
3 locks held by kworker/u11:2/5843:
 #0: ffff88811342e148 ((wq_completion)hci1){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90003abfbc0 ((work_completion)(&hdev->power_on)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff88812fcb0dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_power_on+0x1ac/0x680
4 locks held by kworker/u8:2/5851:
 #0: ffff88801b2f7148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90003b0fbc0 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f52d350 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf7/0x800
 #3: ffff888032810700 (&device->unregistration_lock){+.+.}-{4:4}, at: rdma_dev_change_netns+0x39/0x300
2 locks held by kworker/u8:3/5866:
2 locks held by syz.2.675/8505:
 #0: ffffffff99e6f8f8 (&rdma_nl_types[idx].sem){.+.+}-{4:4}, at: rdma_nl_rcv+0x302/0x980
 #1: ffff888032810700 (&device->unregistration_lock){+.+.}-{4:4}, at: __ib_unregister_device+0x284/0x3f0
2 locks held by syz.1.900/9421:
 #0: ffffffff8f52d350 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0
 #1: ffff888032810700 (&device->unregistration_lock){+.+.}-{4:4}, at: rdma_dev_change_netns+0x39/0x300
3 locks held by syz.8.1060/10182:
2 locks held by dhcpcd/10187:
 #0: ffff8881135fe258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0
 #1: ffffffff8e13fbb8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730
2 locks held by dhcpcd/10188:
 #0: ffff88803395e258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0
 #1: ffffffff8e13fbb8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730
1 lock held by dhcpcd/10189:
 #0: ffff88812559c258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0
1 lock held by dhcpcd/10191:
 #0: ffff88804556c258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0
1 lock held by dhcpcd/10192:
 #0: ffff88806dc90258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0
1 lock held by dhcpcd/10193:
 #0: ffff88806dc92258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0

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

NMI backtrace for cpu 1
CPU: 1 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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 10182 Comm: syz.8.1060 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:native_apic_msr_write+0x39/0x50
Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 c3 cc cc cc cc cc f3 0f 1e fa 89 f6 31 d2 e9 d2 f8 8e 03 66
RSP: 0018:ffffc900000073c8 EFLAGS: 00000046
RAX: 000000000000008f RBX: ffff88804b023900 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 000000000000008f RDI: 0000000000000838
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff81ae170e
R10: 0000000000000003 R11: ffffffff81704490 R12: 0000000010005087
R13: dffffc0000000000 R14: 000000000000008f R15: 0000000000000020
FS:  00007f9320cc46c0(0000) GS:ffff8880b8613000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000004 CR3: 0000000027f02000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 lapic_next_event+0x11/0x20
 clockevents_program_event+0x1cf/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:lock_acquire+0x175/0x360
Code: 00 00 00 00 9c 8f 44 24 30 f7 44 24 30 00 02 00 00 0f 85 cd 00 00 00 f7 44 24 08 00 02 00 00 74 01 fb 65 48 8b 05 7b 5f 03 11 <48> 3b 44 24 58 0f 85 f2 00 00 00 48 83 c4 60 5b 41 5c 41 5d 41 5e
RSP: 0018:ffffc90000007638 EFLAGS: 00000206
RAX: 24b00b5fcbd0e500 RBX: 0000000000000000 RCX: 24b00b5fcbd0e500
RDX: 0000000000000000 RSI: ffffffff8dba9858 RDI: ffffffff8be33e00
RBP: ffffffff8172d195 R08: 0000000000000000 R09: ffffffff8172d195
R10: ffffc900000077f8 R11: ffffffff81ac4d00 R12: 0000000000000002
R13: ffffffff8e13a120 R14: 0000000000000000 R15: 0000000000000246
 unwind_next_frame+0xc2/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:lock_is_held_type+0x137/0x190
Code: 01 75 44 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 4c 41 f7 c4 00 02 00 00 74 01 fb 65 48 8b 05 f9 73 26 07 <48> 3b 44 24 08 75 43 89 d8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f
RSP: 0018:ffffc9000300ef78 EFLAGS: 00000206
RAX: 24b00b5fcbd0e500 RBX: 0000000000000000 RCX: 24b00b5fcbd0e500
RDX: 0000000000000000 RSI: ffffffff8dba9858 RDI: ffffffff8be33e00
RBP: 00000000ffffffff R08: ffffffff8fa3a837 R09: 1ffffffff1f47506
R10: dffffc0000000000 R11: fffffbfff1f47507 R12: 0000000000000246
R13: ffff88812abd9cc0 R14: ffffffff8e13a180 R15: 0000000000000001
 __schedule+0x241/0x4cc0
 preempt_schedule_irq+0xb5/0x150
 irqentry_exit+0x6f/0x90
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:debug_lockdep_rcu_enabled+0x2a/0x40
Code: f3 0f 1e fa 31 c0 83 3d 57 4a 29 04 00 74 1e 83 3d 6a 7a 29 04 00 74 15 65 48 8b 0c 25 08 d0 a0 92 31 c0 83 b9 ec 0a 00 00 00 <0f> 94 c0 e9 0e dd 02 00 cc cc cc cc cc cc cc cc cc cc cc cc cc cc
RSP: 0018:ffffc9000300f350 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 00007f931fe11e01 RCX: ffff88812abd9cc0
RDX: ffffffff902ab300 RSI: 0000000000000000 RDI: ffffc9000300f430
RBP: dffffc0000000000 R08: 0000000000000022 R09: ffffffff8172d195
R10: ffffc9000300f478 R11: ffffffff81ac4d00 R12: 00007f9320cc4038
R13: ffffc90003008000 R14: ffffc9000300f428 R15: ffffffff8172d195
 unwind_next_frame+0x195c/0x2390
 arch_stack_walk+0x11c/0x150
 stack_trace_save+0x9c/0xe0
 kasan_save_track+0x3e/0x80
 __kasan_slab_alloc+0x6c/0x80
 kmem_cache_alloc_node_noprof+0x1bb/0x3c0
 kmalloc_reserve+0xbd/0x290
 __alloc_skb+0x142/0x2d0
 netlink_sendmsg+0x5c6/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:0x7f931fd8eba9
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:00007f9320cc4038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f931ffd5fa0 RCX: 00007f931fd8eba9
RDX: 0000000000000000 RSI: 0000200000000600 RDI: 0000000000000007
RBP: 00007f931fe11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f931ffd6038 R14: 00007f931ffd5fa0 R15: 00007ffe719eb108
 </TASK>
