INFO: task syz-executor:11010 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:18856 pid:11010 tgid:11010 ppid:1      task_flags:0x400140 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 io_schedule+0x80/0xd0
 folio_wait_bit_common+0x6b0/0xb90
 __filemap_get_folio+0x139/0xaf0
 truncate_inode_pages_range+0x3ed/0xda0
 evict+0x517/0x9c0
 evict_inodes+0x64c/0x6d0
 generic_shutdown_super+0x9a/0x2c0
 kill_block_super+0x44/0x90
 deactivate_locked_super+0xbc/0x130
 cleanup_mnt+0x425/0x4c0
 task_work_run+0x1d4/0x260
 exit_to_user_mode_loop+0xec/0x110
 do_syscall_64+0x2bd/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb336d8ff57
RSP: 002b:00007ffe62b158c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007fb336e11c2d RCX: 00007fb336d8ff57
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe62b15980
RBP: 00007ffe62b15980 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe62b16a10
R13: 00007fb336e11c2d R14: 000000000005185d R15: 00007ffe62b16a50
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/34:
 #0: ffffffff8e13a0e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
3 locks held by kworker/1:1/47:
 #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000075fbc0 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff8881335fc240 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x26b/0x3180
2 locks held by getty/5672:
 #0: ffff88810872a0a0 (&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
6 locks held by kworker/u8:5/6098:
 #0: ffff88801b2f7148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000321fbc0 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f52d310 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf7/0x800
 #3: ffff88803aa0c0e8 (&dev->mutex){....}-{4:4}, at: devlink_pernet_pre_exit+0x10a/0x3d0
 #4: ffff88803aa0f250 (&devlink->lock_key#27){+.+.}-{4:4}, at: devlink_pernet_pre_exit+0x11c/0x3d0
 #5: ffffffff8f53a1c8 (rtnl_mutex){+.+.}-{4:4}, at: register_netdevice_notifier_net+0x1a/0xa0
1 lock held by syz-executor/11010:
 #0: ffff888106e180e0 (&type->s_umount_key#127){++++}-{4:4}, at: deactivate_super+0xa9/0xe0
1 lock held by syz.6.891/14302:
 #0: ffff888106e180e0 (&type->s_umount_key#127){++++}-{4:4}, at: super_lock+0x2a9/0x3b0
1 lock held by syz.6.891/14308:
 #0: ffff888106e180e0 (&type->s_umount_key#127){++++}-{4:4}, at: super_lock+0x25c/0x3b0
1 lock held by syz.6.891/14309:
 #0: ffff888106e180e0 (&type->s_umount_key#127){++++}-{4:4}, at: super_lock+0x2a9/0x3b0
2 locks held by syz-executor/14657:
 #0: ffffffff8e88f188 (bio_slab_lock){+.+.}-{4:4}, at: bioset_exit+0x44a/0x690
 #1: ffffffff8e13fa40 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x570
2 locks held by syz-executor/14827:
 #0: ffffffff8fa3e9d0 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250
 #1: ffffffff8f53a1c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8db/0x1c70
9 locks held by syz-executor/14837:
 #0: ffff888106ce6428 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x211/0xb30
 #1: ffff88801bf9b088 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1de/0x540
 #2: ffff8880238bd788 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x231/0x540
 #3: ffffffff8edb0408 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd1/0x360
 #4: ffff88811994b0e8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xb6/0x800
 #5: ffff88811994a250 (&devlink->lock_key#22){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x160
 #6: ffffffff8f53a1c8 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0xe5/0x670
 #7: ffff888119104d30 (&dev_instance_lock_key#20){+.+.}-{4:4}, at: unregister_netdevice_many_notify+0x52f/0x1ff0
 #8: ffffffff8e13fb78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730

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

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: 85 Comm: kworker/u9:3 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
Workqueue: events_unbound nsim_dev_trap_report_work
RIP: 0010:lock_acquire+0x124/0x360
Code: 02 00 00 41 0f 94 c1 4c 89 ef 89 de 8b 54 24 04 44 89 e1 45 89 f0 6a 00 6a 00 6a 00 55 ff 74 24 30 e8 e0 02 00 00 48 83 c4 28 <48> c7 c7 6e 99 ba 8d e8 20 14 dd 09 b8 ff ff ff ff 65 0f c1 05 c3
RSP: 0018:ffffc9000174f438 EFLAGS: 00000082
RAX: 0000000000000001 RBX: 0000000000000000 RCX: 848fbf1afe10c300
RDX: 0000000000000000 RSI: ffff88801b710b90 RDI: ffff88801b710000
RBP: ffffffff8172c195 R08: 0000000000000000 R09: ffffffff8172c195
R10: ffffc9000174f5f8 R11: ffffffff81ac3b00 R12: 0000000000000002
R13: ffffffff8e13a0e0 R14: 0000000000000000 R15: 0000000000000246
FS:  0000000000000000(0000) GS:ffff8880b8613000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc92d1de18 CR3: 000000010e142000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 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
 kmem_cache_free+0x18f/0x400
 nsim_dev_trap_report_work+0x7cf/0xb80
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x439/0x7d0
 ret_from_fork_asm+0x1a/0x30
 </TASK>
