INFO: task jfsCommit:125 blocked in I/O wait for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:jfsCommit       state:D stack:27656 pid:125   tgid:125   ppid:2      task_flags:0x200040 flags:0x00080000
Call Trace:
 <TASK>
 __schedule+0x17db/0x58f0
 schedule+0x164/0x2b0
 io_schedule+0x7f/0xd0
 lock_metapage+0x1fe/0x400
 __get_metapage+0x47a/0xdf0
 diIAGRead+0xce/0x140
 diFree+0x9dc/0x2d00
 jfs_evict_inode+0x324/0x430
 evict+0x624/0xb50
 jfs_lazycommit+0x44c/0xac0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task syz-executor:6607 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:21736 pid:6607  tgid:6607  ppid:1      task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17db/0x58f0
 schedule+0x164/0x2b0
 jfs_flush_journal+0x719/0xf50
 jfs_umount+0x150/0x3b0
 jfs_put_super+0x8c/0x190
 generic_shutdown_super+0x13d/0x2d0
 kill_block_super+0x44/0xa0
 deactivate_locked_super+0xbe/0x110
 cleanup_mnt+0x204/0x2a0
 task_work_run+0x1d9/0x270
 exit_to_user_mode_loop+0x204/0x770
 do_syscall_64+0x328/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7efdb099f797
RSP: 002b:00007ffc1daa6588 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007efdb0a34cf3 RCX: 00007efdb099f797
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc1daa6640
RBP: 00007ffc1daa6640 R08: 00007ffc1daa7640 R09: 00000000ffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc1daa76d0
R13: 00007efdb0a34cf3 R14: 0000000000020616 R15: 00007ffc1daa7710
 </TASK>

Showing all locks held in the system:
locks held by pool_workqueue_/3: 1, on CPU#1:
 #0: ffffffff8fd62ca8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2d0/0x770
locks held by khungtaskd/36: 1, last CPU#0:
 #0: ffffffff8fd5c8e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
locks held by jfsCommit/125: 2, on CPU#0:
 #0: ffff8881ba7c0910 (&(imap->im_aglock[index])){+.+.}-{4:4}, at: diFree+0x2ee/0x2d00
 #1: ffff8881ba280a08 (&jfs_ip->rdwrlock/1){.+.+}-{4:4}, at: diFree+0x30c/0x2d00
locks held by kworker/1:3/992: 3, on CPU#1:
 #0: ffff88810006b140 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90005dbfc40 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffff888168412250 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x1fd/0x3b0
locks held by getty/5423: 2, on CPU#0:
 #0: ffff8881716a00a0 (&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/6607: 1, on CPU#1:
 #0: ffff88816fcd80e8 (&type->s_umount_key#98){++++}-{4:4}, at: deactivate_super+0xac/0xe0
locks held by udevd/7756: 1, on CPU#1:
 #0: ffff888107851368 (&sb->s_type->i_mutex_key#10){++++}-{4:4}, at: blkdev_llseek+0x6a/0xc0
locks held by syz.0.548/8787: 1, on CPU#0:
 #0: ffff88816fcd80e8 (&type->s_umount_key#98){++++}-{4:4}, at: super_lock+0x2d6/0x3d0
locks held by syz.7.748/10130: 1, on CPU#0:
 #0: ffff88816fcd80e8 (&type->s_umount_key#98){++++}-{4:4}, at: super_lock+0x2d6/0x3d0
locks held by syz.2.864/11410: 2, last CPU#1:
 #0: ffff8881012fa460 (sb_writers#5){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0
 #1: ffff8881a691e910 (&sb->s_type->i_mutex_key#16){+.+.}-{4:4}, at: shmem_file_write_iter+0x7f/0x120
locks held by dhcpcd-run-hook/11419: 4, last CPU#1:
 #0: ffffffff8fe36570 (dup_mmap_sem){.+.+}-{0:0}, at: copy_mm+0x10a/0x480
 #1: ffff8881a8afe540 (&mm->mmap_lock){++++}-{4:4}, at: dup_mmap+0x195/0x1dc0
 #2: ffff8881a8afa800 (&mm->mmap_lock/1){+.+.}-{4:4}, at: dup_mmap+0x221/0x1dc0
 #3: ffffffff8fd5c8e0 (rcu_read_lock){....}-{1:3}, at: unwind_next_frame+0x8f/0x2550
locks held by syz.6.865/11425: 4, last CPU#0:
 #0: ffff88810cd7c0e8 (&type->s_umount_key#129/1){+.+.}-{4:4}, at: sget_fc+0x9d4/0x1a60
 #1: ffff888107851368 (&sb->s_type->i_mutex_key#10){++++}-{4:4}, at: set_blocksize+0x1e6/0x440
 #2: ffff888107851500 (mapping.invalidate_lock){++++}-{4:4}, at: set_blocksize+0x21b/0x440
 #3: ffffffff8fd5c8e0 (rcu_read_lock){....}-{1:3}, at: filemap_get_folios_tag+0x118/0x720
locks held by cmp/11427: 1, last CPU#1:
 #0: ffff8881a8afc080 (&mm->mmap_lock){++++}-{4:4}, at: vm_mmap_pgoff+0x1dd/0x4e0

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

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 36 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+0xe8/0x150
 nmi_cpu_backtrace+0x274/0x2d0
 nmi_trigger_cpumask_backtrace+0x17d/0x390
 sys_info+0x135/0x170
 watchdog+0xfd7/0x1030
 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: 16 Comm: pr/ttyS0 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_out+0x7c/0xc0
Code: 6b 53 fc 44 89 f9 d3 e5 49 83 c6 40 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 0c 4c c4 fc 41 03 2e 89 d8 89 ea ee <5b> 41 5c 41 5e 41 5f 5d c3 cc cc cc cc cc 44 89 f9 80 e1 07 38 c1
RSP: 0018:ffffc90000157900 EFLAGS: 00000002
RAX: 0000000000000065 RBX: 0000000000000065 RCX: 0000000000000000
RDX: 00000000000003f8 RSI: 0000000000000000 RDI: 0000000000000020
RBP: 00000000000003f8 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: ffffffff8574a430 R12: dffffc0000000000
R13: 0000000000000065 R14: ffffffff9bd4be60 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff88818c4bf000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055a58b8e95a8 CR3: 0000000166322000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 __serial8250_console_fifo_write+0x1e6/0x3e0
 serial8250_console_write+0xa7e/0x1200
 nbcon_emit_next_record+0xef5/0x1a90
 nbcon_kthread_func+0x679/0x880
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
