INFO: task syz.4.26325:7001 blocked for more than 143 seconds.
      Tainted: G             L       syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.26325     state:D stack:25392 pid:7001  tgid:6994  ppid:2106   task_flags:0x400040 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17dd/0x5820
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7c4/0x15a0
 del_device_store+0xd6/0x370
 kernfs_fop_write_iter+0x3a4/0x540
 vfs_write+0x612/0xba0
 ksys_write+0x150/0x270
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5dd2f9f559
RSP: 002b:00007f5dd3da6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f5dd3226090 RCX: 00007f5dd2f9f559
RDX: 0000000000000001 RSI: 00002000000002c0 RDI: 0000000000000004
RBP: 00007f5dd3036b20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f5dd3226128 R14: 00007f5dd3226090 R15: 00007ffd8634b588
 </TASK>

Showing all locks held in the system:
locks held by khungtaskd/37: 1, last CPU#1:
 #0: ffffffff9015a860 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
locks held by dhcpcd/5357: 1, on CPU#0:
 #0: ffffffff91690860 (rtnl_mutex){+.+.}-{4:4}, at: inet6_rtm_deladdr+0x249/0x390
locks held by getty/5440: 2, on CPU#0:
 #0: ffff88817575b0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900034932e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360
locks held by syz-executor/6565: 8, last CPU#0:
 #0: ffff8881744ca460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0
 #1: ffff88816d02a480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540
 #2: ffff888109af20f8 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540
 #3: ffffffff90eeaaa0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd6/0x370
 #4: ffff88810c977128 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xa9/0x7d0
 #5: ffff88810ab3e258 (&devlink->lock_key#5){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x170
 #6: ffffffff91690860 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0x173/0x800
 #7: ffff88810979ce98 (&dev->lock){+.+.}-{4:4}, at: unregister_netdevice_many_notify+0xe0d/0x1d80
locks held by syz.4.26325/7001: 5, on CPU#1:
 #0: ffff88819cc166f0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160
 #1: ffff8881744ca460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0
 #2: ffff888195965480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540
 #3: ffff888109af20f8 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540
 #4: ffffffff90eeaaa0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd6/0x370
locks held by kworker/u9:6/21155: 3, on CPU#0:
 #0: ffff8881000ac148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc900215bfc40 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffffffff91690860 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60
locks held by syz-executor/2854: 1, on CPU#0:
 #0: ffffffff91690860 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xc1d/0x1c30
locks held by syz-executor/2863: 1, on CPU#1:
 #0: ffffffff91690860 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xc1d/0x1c30
locks held by syz-executor/2873: 1, on CPU#0:
 #0: ffffffff91690860 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xc1d/0x1c30
locks held by syz-executor/9970: 1, on CPU#1:
 #0: ffffffff91690860 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x470/0x19f0

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

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 37 Comm: khungtaskd Tainted: G             L       syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
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+0xe8/0x150
 nmi_cpu_backtrace+0x274/0x2d0
 nmi_trigger_cpumask_backtrace+0x17d/0x390
 sys_info+0x135/0x170
 watchdog+0x1073/0x10f0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 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: 6565 Comm: syz-executor Tainted: G             L       syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:zap_class+0xe4/0x330
Code: eb 2c 48 b8 22 01 00 00 00 00 ad de 49 89 45 10 4c 89 e8 48 29 e8 48 c1 f8 05 48 8b 0c 24 48 0f ab 41 10 48 ff 05 4c f0 41 16 <4d> 8b 6d 08 4d 85 ed 74 b5 49 83 c5 f8 74 af 45 8b 75 00 41 f6 c6
RSP: 0018:ffffc9000358f4c0 EFLAGS: 00000046
RAX: 0000000000021c54 RBX: ffffffff94ebc238 RCX: 0000000000021c51
RDX: ffffffff95a289b8 RSI: 0000000000000009 RDI: 00000000000836cf
RBP: ffffffff95e68e30 R08: ffffffff81b1ed58 R09: 0000000000000000
R10: dffffc0000000000 R11: fffffbfff237b6b8 R12: 00000000000642a1
R13: ffffffff95f5ba70 R14: 0000000000021c54 R15: 000000000000143e
FS:  000055557b73c500(0000) GS:ffff88818be13000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055e4e1801218 CR3: 0000000119f74000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 lockdep_unregister_key+0x1be/0x350
 __qdisc_destroy+0x1ab/0x470
 dev_shutdown+0x92/0x450
 unregister_netdevice_many_notify+0xe2d/0x1d80
 unregister_netdevice_queue+0x2f5/0x340
 nsim_destroy+0x275/0x800
 __nsim_dev_port_del+0x14e/0x200
 nsim_dev_reload_destroy+0x288/0x490
 nsim_drv_remove+0x58/0x170
 device_release_driver_internal+0x42b/0x7d0
 bus_remove_device+0x444/0x560
 device_del+0x524/0x8f0
 device_unregister+0x21/0xf0
 del_device_store+0x2b5/0x370
 kernfs_fop_write_iter+0x3a4/0x540
 vfs_write+0x612/0xba0
 ksys_write+0x150/0x270
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe9b195fd8e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 <c3> 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007ffdbcfafb38 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 000055557b73c500 RCX: 00007fe9b195fd8e
RDX: 0000000000000001 RSI: 00007ffdbcfafbc0 RDI: 0000000000000005
RBP: 00007fe9b1a373e4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffdbcfafbc0 R14: 00007ffdbcfb0400 R15: 0000000000000003
 </TASK>
