INFO: task syz-executor:5847 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:20632 pid:5847  tgid:5847  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:0x7f4f4b18ff17
RSP: 002b:00007fff9ea8f338 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f4f4b211c05 RCX: 00007f4f4b18ff17
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff9ea8f3f0
RBP: 00007fff9ea8f3f0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fff9ea90480
R13: 00007f4f4b211c05 R14: 0000000000016365 R15: 00007fff9ea904c0
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/34:
 #0: ffffffff8e139f20 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by getty/5674:
 #0: ffff8881088aa0a0 (&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
1 lock held by syz-executor/5847:
 #0: ffff88811f1a60e0 (&type->s_umount_key#85){++++}-{4:4}, at: deactivate_super+0xa9/0xe0
1 lock held by syz.6.258/8135:
 #0: ffff88811f1a60e0 (&type->s_umount_key#85){++++}-{4:4}, at: super_lock+0x2a9/0x3b0
1 lock held by syz.2.332/8890:
 #0: ffff88811f1a60e0 (&type->s_umount_key#85){++++}-{4:4}, at: super_lock+0x2a9/0x3b0
3 locks held by udevd/9554:
7 locks held by syz-executor/9555:
 #0: ffff888027d24428 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x211/0xb30
 #1: ffff888124410c88 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1e0/0x4f0
 #2: ffff8881069a9f08 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x203/0x4f0
 #3: ffffffff8edaf688 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd1/0x360
 #4: ffff8880314a30e8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xb6/0x800
 #5: ffff8880314a1250 (&devlink->lock_key#7){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x160
 #6: ffffffff8e13f880 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x570
8 locks held by syz.5.410/9621:
1 lock held by syz.7.411/9639:
3 locks held by udevadm/9647:

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

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+0x3fc/0x770
 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: 9621 Comm: syz.5.410 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:io_serial_in+0x77/0xc0
Code: e8 8e 73 70 fc 44 89 f9 d3 e3 49 83 c6 40 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 8f e1 d3 fc 41 03 1e 89 da ec <0f> b6 c0 5b 41 5c 41 5e 41 5f c3 cc cc cc cc cc 44 89 f9 80 e1 07
RSP: 0018:ffffc9000422da58 EFLAGS: 00000006
RAX: 1ffffffff33be405 RBX: 00000000000003f9 RCX: 0000000000000000
RDX: 00000000000003f9 RSI: 00000000000263fb RDI: 00000000000263fc
RBP: ffffc9000422dc30 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: ffffffff854f3a30 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffffffff99df2420 R15: 0000000000000000
FS:  00007f27f52616c0(0000) GS:ffff8880b8618000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2d003ff8 CR3: 0000000126020000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 serial8250_console_write+0x584/0x1ba0
 console_flush_all+0x728/0xc40
 console_unlock+0xc4/0x270
 vprintk_emit+0x5b7/0x7a0
 _printk+0xcf/0x120
 print_hex_dump+0x1a8/0x260
 xfs_hex_dump+0x3d/0x50
 xfs_buf_verifier_error+0x1cc/0x2a0
 xfs_agfl_read_verify+0x165/0x1f0
 __xfs_buf_ioend+0x342/0x6f0
 xfs_buf_iowait+0x167/0x480
 xfs_buf_read_map+0x335/0xa50
 xfs_trans_read_buf_map+0x1d7/0x8e0
 xfs_alloc_read_agfl+0x202/0x410
 xfs_alloc_fix_freelist+0xb93/0x1300
 xfs_alloc_vextent_prepare_ag+0xdb/0x610
 xfs_alloc_vextent_near_bno+0x2b2/0x580
 xfs_bmapi_allocate+0x1af7/0x2e00
 xfs_bmapi_convert_delalloc+0x7e2/0x1430
 xfs_writeback_range+0x674/0xf70
 iomap_writeback_folio+0xe75/0x1c80
 iomap_writepages+0x162/0x2d0
 xfs_vm_writepages+0x296/0x310
 do_writepages+0x32e/0x550
 file_write_and_wait_range+0x23e/0x340
 xfs_file_fsync+0x1a3/0xa30
 xfs_file_buffered_write+0x723/0x8a0
 iter_file_splice_write+0x975/0x10e0
 direct_splice_actor+0x101/0x160
 splice_direct_to_actor+0x5a8/0xcc0
 do_splice_direct+0x181/0x270
 do_sendfile+0x4da/0x7e0
 __se_sys_sendfile64+0x13e/0x190
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f27f438ebe9
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:00007f27f5261038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f27f45c5fa0 RCX: 00007f27f438ebe9
RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000005
RBP: 00007f27f4411e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000020fffe82 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f27f45c6038 R14: 00007f27f45c5fa0 R15: 00007ffc746e72f8
 </TASK>
