INFO: task kworker/1:3:2251 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:3     state:D stack:24520 pid:2251  tgid:2251  ppid:2      task_flags:0x4208060 flags:0x00080000
Workqueue: gfs2_recovery gfs2_recover_func
Call Trace:
 <TASK>
 __schedule+0x17dd/0x5820
 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.1.132:6169 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.132       state:D stack:25224 pid:6169  tgid:6168  ppid:5593   task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17dd/0x5820
 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+0x193f/0x20b0
 get_tree_bdev_flags+0x430/0x4f0
 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:0x7f37aaba07ca
RSP: 002b:00007f37abb01e58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f37abb01ee0 RCX: 00007f37aaba07ca
RDX: 0000200000037f40 RSI: 0000200000037f80 RDI: 00007f37abb01ea0
RBP: 0000200000037f40 R08: 00007f37abb01ee0 R09: 0000000000818000
R10: 0000000000818000 R11: 0000000000000246 R12: 0000200000037f80
R13: 00007f37abb01ea0 R14: 0000000000037f40 R15: 0000200000000080
 </TASK>
INFO: task syz.0.151:6288 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.151       state:D stack:28696 pid:6288  tgid:6287  ppid:5584   task_flags:0x400040 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17dd/0x5820
 schedule+0x164/0x2b0
 super_lock+0x1db/0x3d0
 __iterate_supers+0x26b/0x420
 __ia32_sys_sync+0xa0/0x120
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ffb1599f559
RSP: 002b:00007ffb168f2028 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2
RAX: ffffffffffffffda RBX: 00007ffb15c25fa0 RCX: 00007ffb1599f559
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007ffb15c25fa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffb15c26038 R14: 00007ffb15c25fa0 R15: 00007ffef3116988
 </TASK>

Showing all locks held in the system:
locks held by kworker/u8:1/13: 3, last CPU#1:
 #0: ffff88816a88b948 ((wq_completion)bat_events){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90000127c40 ((work_completion)(&(&bat_priv->tt.work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffff88823c628618 (hrtimer_bases.lock){-.-.}-{2:2}, at: __hrtimer_run_queues+0x466/0xa10
locks held by khungtaskd/35: 1, last CPU#0:
 #0: ffffffff8fd5a360 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
locks held by kworker/1:3/2251: 2, on CPU#1:
 #0: ffff888169b33948 ((wq_completion)gfs2_recovery){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc900088e7c40 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
locks held by getty/5417: 2, on CPU#0:
 #0: ffff88810e2ab0a0 (&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.1.132/6169: 1, on CPU#1:
 #0: ffff8880251f60e8 (&type->s_umount_key#56/1){+.+.}-{4:4}, at: sget_fc+0x9cf/0x1a60
locks held by syz.3.971/9822: 1, last CPU#0:
 #0: ffffffff8fd5a360 (rcu_read_lock){....}-{1:3}, at: is_module_text_address+0x1d/0x1e0
locks held by syz.7.972/9838: 2, last CPU#0:
 #0: ffff888101682460 (sb_writers#5){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0
 #1: ffff88816a03ad30 (&sb->s_type->i_mutex_key#16){+.+.}-{4:4}, at: shmem_file_write_iter+0x7f/0x120
locks held by syz.4.975/9842: 2, last CPU#0:
 #0: ffff88811260c208 (vm_lock){++++}-{0:0}, at: lock_vma_under_rcu+0x1d1/0x500
 #1: ffffffff8fd5a360 (rcu_read_lock){....}-{1:3}, at: __pte_offset_map+0x29/0x240

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

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 35 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+0xfd2/0x1030
 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: 13 Comm: kworker/u8:1 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: bat_events batadv_tt_purge
RIP: 0010:native_apic_msr_write+0x39/0x50
Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 c3 cc cc cc cc cc 89 f6 31 d2 e9 d6 0a b4 03 66 0f 1f 44 00
RSP: 0018:ffffc90000a08d30 EFLAGS: 00000046
RAX: 000000000000bf54 RBX: ffff88823c623f40 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 000000000000bf54 RDI: 0000000000000838
RBP: ffffc90000a08df0 R08: 0000000000000100 R09: 0000000000000001
R10: 0000000000000003 R11: ffffffff8175b510 R12: 000000000000bf54
R13: dffffc0000000000 R14: 000000000ffff441 R15: 0000000000000020
FS:  0000000000000000(0000) GS:ffff8882a7c84000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa77c2db000 CR3: 0000000113a68000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 lapic_next_event+0x11/0x20
 clockevents_program_event+0x385/0x630
 __hrtimer_rearm_deferred+0x36c/0x4b0
 irqentry_exit+0x961/0x9b0
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:_raw_spin_unlock_irqrestore+0x47/0x80
Code: f7 e8 7d c4 aa f5 f7 c3 00 02 00 00 74 05 e8 20 5d d7 f5 9c 58 a9 00 02 00 00 75 29 f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> 04 ba 9b f5 65 48 8b 05 ec d0 9f 08 48 85 c0 74 18 5b 41 5e c3
RSP: 0018:ffffc90000a08f48 EFLAGS: 00000206
RAX: 0000000000000006 RBX: 0000000000000287 RCX: 8000000000000102
RDX: 0000000000000002 RSI: ffffffff8e47127c RDI: 0000000000000001
RBP: 8000000000000101 R08: ffffffff917aa1bf R09: 1ffffffff22f5437
R10: dffffc0000000000 R11: fffffbfff22f5438 R12: 0000000000000008
R13: 0000000000000009 R14: ffff88823c628600 R15: 0000000000000001
 handle_softirqs+0x265/0x8d0
 do_softirq+0x77/0xd0
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0x100/0x140
 batadv_tt_local_purge+0x277/0x300
 batadv_tt_purge+0x35/0xa40
 process_scheduled_works+0xc3d/0x1630
 worker_thread+0xa47/0xfb0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
