INFO: task kworker/u10:5:3228 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u10:5   state:D stack:24584 pid:3228  tgid:3228  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>

Showing all locks held in the system:
2 locks held by rcu_tasks_trace/32:
 #0: ffffffff8e13ae90 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{4:4}, at: rcu_tasks_one_gp+0xaf9/0xdf0
 #1: 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/u10:3/65:
 #0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000173fbc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60
3 locks held by kworker/0:2/792:
 #0: ffff88801a482148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000490fbc0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: reg_check_chans_work+0x95/0xf30
3 locks held by kworker/u10:5/3228:
 #0: ffff8881054e1148 ((wq_completion)ib-unreg-wq){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900061ffbc0 ((work_completion)(&device->unregistration_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff888029d4c700 (&device->unregistration_lock){+.+.}-{4:4}, at: __ib_unregister_device+0x284/0x3f0
1 lock held by dhcpcd/5594:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: inet6_rtm_newaddr+0x5b7/0xd20
2 locks held by getty/5676:
 #0: ffff888027b6c0a0 (&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
4 locks held by kworker/u8:2/5717:
 #0: ffff88801b2f7148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90002fc7bc0 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f52df10 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf7/0x800
 #3: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: netdev_run_todo+0x721/0xea0
3 locks held by kworker/1:3/5891:
 #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90003d77bc0 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: switchdev_deferred_process_work+0xe/0x20
3 locks held by kworker/u8:5/5929:
 #0: ffff88810a011148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90003f9fbc0 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_dad_work+0x112/0x14b0
2 locks held by syz.4.1663/9881:
 #0: ffffffff8f52df10 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0
 #1: ffff888029d4c700 (&device->unregistration_lock){+.+.}-{4:4}, at: rdma_dev_change_netns+0x39/0x300
1 lock held by syz-executor/11224:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8db/0x1c70
1 lock held by syz.8.2242/11268:
 #0: ffff88803322fca8 (&ctx->mutex){+.+.}-{4:4}, at: perf_event_ctx_lock_nested+0x38f/0x460
2 locks held by syz.8.2242/11269:
2 locks held by syz.8.2242/11278:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_dellink+0x331/0x710
 #1: ffffffff8e13fbf8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730
2 locks held by syz.8.2242/11279:
 #0: ffff888037a9b6d8 (nlk_cb_mutex-ROUTE){+.+.}-{4:4}, at: __netlink_dump_start+0xfe/0x7e0
 #1: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_dumpit+0x92/0x200
1 lock held by syz.6.2243/11272:
 #0: ffffffff8e19d708 (event_mutex){+.+.}-{4:4}, at: perf_trace_destroy+0x2e/0x150
1 lock held by syz.6.2243/11276:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: rtnetlink_rcv_msg+0x71c/0xb70
1 lock held by syz-executor/11283:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/11285:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/11290:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/11295:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/11297:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0

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

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: 11269 Comm: syz.8.2242 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:unwind_next_frame+0x223/0x2390
Code: 86 65 18 00 00 44 89 f8 4c 8d 2c 85 6c 73 e0 90 4c 89 e8 48 c1 e8 03 0f b6 04 28 84 c0 48 89 eb 0f 85 1c 1c 00 00 45 8b 6d 00 <44> 89 f8 ff c0 48 8d 2c 85 6c 73 e0 90 48 89 e8 48 c1 e8 03 0f b6
RSP: 0018:ffffc900001e06d8 EFLAGS: 00000246
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 34b2bd8a6ec06200
RDX: 00000000000a7ee5 RSI: ffffffff8be34460 RDI: ffffffff8be34420
RBP: dffffc0000000000 R08: 0000000000000000 R09: ffffffff8172d195
R10: dffffc0000000000 R11: ffffffff81ac5140 R12: ffffffff8223e255
R13: 000000000003aec4 R14: ffffc900001e07a8 R15: 00000000000123e2
FS:  00007fbe3c5ac6c0(0000) GS:ffff8881a3c11000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f754aa7eb9c CR3: 000000011c6b6000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 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:preempt_schedule_irq+0xb0/0x150
Code: 24 20 f6 44 24 21 02 74 0c 90 0f 0b 48 f7 03 08 00 00 00 74 64 bf 01 00 00 00 e8 eb ce 13 f6 e8 b6 2b 4b f6 fb bf 01 00 00 00 <e8> 5b ab ff ff 48 c7 44 24 40 00 00 00 00 9c 8f 44 24 40 8b 44 24
RSP: 0018:ffffc90003f2f440 EFLAGS: 00000286
RAX: 34b2bd8a6ec06200 RBX: 0000000000000000 RCX: 34b2bd8a6ec06200
RDX: 0000000000000006 RSI: ffffffff8d9baf70 RDI: 0000000000000001
RBP: ffffc90003f2f4e0 R08: ffffffff8fa3b537 R09: 1ffffffff1f476a6
R10: dffffc0000000000 R11: fffffbfff1f476a7 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff920007e5e88
 irqentry_exit+0x6f/0x90
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:preempt_schedule+0x70/0xc0
Code: f1 00 f3 f3 f3 49 be 00 00 00 00 00 fc ff df 4a 89 04 33 65 8b 05 00 b0 24 07 a9 ff ff ff 7f 75 15 48 c7 44 24 20 00 00 00 00 <9c> 8f 44 24 20 f6 44 24 21 02 75 2d 48 c7 04 24 0e 36 e0 45 4a c7
RSP: 0018:ffffc90003f2f5a0 EFLAGS: 00000246
RAX: 0000000080000000 RBX: 1ffff920007e5eb4 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8be34460 RDI: 00000000ffffffff
RBP: ffffc90003f2f618 R08: ffffffff8fa3b537 R09: 1ffffffff1f476a6
R10: dffffc0000000000 R11: fffffbfff1f476a7 R12: ffff88803322fc40
R13: dffffc0000000000 R14: dffffc0000000000 R15: 0000000000000000
 preempt_schedule_thunk+0x16/0x30
 __mutex_lock+0x349/0x1350
 perf_event_exit_task_context+0xde/0x770
 perf_event_exit_task+0x22f/0x390
 do_exit+0x643/0x2300
 do_group_exit+0x21c/0x2d0
 get_signal+0x1286/0x1340
 arch_do_signal_or_restart+0x9a/0x750
 exit_to_user_mode_loop+0x75/0x110
 do_syscall_64+0x2bd/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fbe3b78ec29
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:00007fbe3c5ac038 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: 000000000000000d RBX: 00007fbe3b9d5fa0 RCX: 00007fbe3b78ec29
RDX: affffff7ffffffff RSI: 0000000000000000 RDI: 0000200000000180
RBP: 00007fbe3b811e41 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000
R13: 00007fbe3b9d6038 R14: 00007fbe3b9d5fa0 R15: 00007fff009e3858
 </TASK>
