INFO: task kworker/1:8:6880 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:kworker/1:8     state:D stack:25568 pid:6880  tgid:6880  ppid:2      task_flags:0x4208060 flags:0x00080000
Workqueue: gfs2_recovery gfs2_recover_func
Call Trace:
 <TASK>
 __schedule+0x17dd/0x5830
 schedule+0x164/0x2b0
 io_schedule+0x7f/0xd0
 folio_wait_bit_common+0x85e/0xc40
 gfs2_jhead_process_page+0x17f/0x670
 gfs2_find_jhead+0xbe0/0xd20
 gfs2_recover_func+0x707/0x1f40
 process_scheduled_works+0xc3d/0x1630
 worker_thread+0xa47/0xfb0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task syz.4.244:8266 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.244       state:D stack:25096 pid:8266  tgid:8263  ppid:7943   task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17dd/0x5830
 schedule+0x164/0x2b0
 bit_wait+0x13/0x110
 __wait_on_bit+0xac/0x300
 out_of_line_wait_on_bit+0x13b/0x190
 gfs2_recover_journal+0xd5/0x140
 init_journal+0x17da/0x2390
 init_inodes+0xdb/0x320
 gfs2_fill_super+0x1948/0x20b0
 get_tree_bdev_flags+0x436/0x500
 gfs2_get_tree+0x51/0x1e0
 vfs_get_tree+0x92/0x2a0
 do_new_mount+0x325/0xb00
 __se_sys_mount+0x31d/0x420
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff33e9a07ca
RSP: 002b:00007ff33f789e58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ff33f789ee0 RCX: 00007ff33e9a07ca
RDX: 0000200000000140 RSI: 0000200000000180 RDI: 00007ff33f789ea0
RBP: 0000200000000140 R08: 00007ff33f789ee0 R09: 0000000001010084
R10: 0000000001010084 R11: 0000000000000246 R12: 0000200000000180
R13: 00007ff33f789ea0 R14: 0000000000037f8f R15: 0000200000009b80
 </TASK>

Showing all locks held in the system:
locks held by pr/ttyS0/35: 2, last CPU#1:
 #0: ffffffff90033d58 (console_srcu){....}-{0:0}, at: console_srcu_read_lock+0x30/0x60
 #1: ffffffff9c1fdeb8 (&port_lock_key){-.-.}-{3:3}, at: univ8250_console_device_lock+0x67/0xc0
locks held by khungtaskd/36: 1, last CPU#0:
 #0: ffffffff9015a2a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
locks held by getty/5439: 2, on CPU#0:
 #0: ffff888116a7c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900034832e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360
locks held by kworker/1:8/6880: 2, on CPU#1:
 #0: ffff888101367d48 ((wq_completion)gfs2_recovery){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90003a1fc40 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
locks held by syz.4.244/8266: 1, on CPU#1:
 #0: ffff888115da0100 (&type->s_umount_key#70/1){+.+.}-{4:4}, at: sget_fc+0x9d5/0x1ce0
locks held by syz.1.418/10541: 1, on CPU#1:
 #0: ffff8881aa214478 (sb_writers#3){.+.+}-{0:0}, at: direct_splice_actor+0x49/0x160
locks held by syz.4.673/13831: 1, on CPU#1:
 #0: ffff888114838478 (sb_writers#3){.+.+}-{0:0}, at: direct_splice_actor+0x49/0x160
locks held by syz.3.705/14070: 2, last CPU#1:
 #0: ffff88810168a478 (sb_writers#5){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0
 #1: ffff8881b7e8ea20 (&sb->s_type->i_mutex_key#16){+.+.}-{4:4}, at: shmem_file_write_iter+0x7f/0x120

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

NMI backtrace for cpu 0
CPU: 0 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+0x1073/0x10f0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 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: 35 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: 71 44 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 7c 50 bb 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:ffffc90000ab7900 EFLAGS: 00000002
RAX: 0000000000000065 RBX: 0000000000000065 RCX: 0000000000000000
RDX: 00000000000003f8 RSI: 0000000000000000 RDI: 0000000000000020
RBP: 00000000000003f8 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: ffffffff85849eb0 R12: dffffc0000000000
R13: 0000000000000065 R14: ffffffff9c1fdee0 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8882a7811000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f556c5f8fa0 CR3: 00000001bf626000 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+0x6d9/0x8d0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
