INFO: task bch-reclaim/loo:7368 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:bch-reclaim/loo state:D stack:26376 pid:7368  tgid:7368  ppid:2      task_flags:0x200840 flags:0x00004000
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 btree_write_buffer_flush_seq+0x18bd/0x1a40
 bch2_btree_write_buffer_journal_flush+0x69/0xb0
 journal_flush_pins+0x8e3/0xe90
 __bch2_journal_reclaim+0x910/0xed0
 bch2_journal_reclaim_thread+0x177/0x4f0
 kthread+0x711/0x8a0
 ret_from_fork+0x439/0x7d0
 ret_from_fork_asm+0x1a/0x30
 </TASK>

Showing all locks held in the system:
2 locks held by kworker/u8:1/13:
 #0: ffff88804b039f98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140
 #1: ffff88804b024008 (psi_seq){-.-.}-{0:0}, at: psi_task_switch+0x53/0x880
1 lock held by khungtaskd/34:
 #0: ffffffff8e13a0e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by getty/5675:
 #0: ffff88810d2450a0 (&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
5 locks held by syz-executor/7247:
 #0: ffff88803dbbc0e0 (&type->s_umount_key#62){++++}-{4:4}, at: deactivate_super+0xa9/0xe0
 #1: ffff88811d580278 (&c->state_lock){++++}-{4:4}, at: __bch2_fs_stop+0xf8/0x900
 #2: ffff88811d584740 (&wb->flushing.lock){+.+.}-{4:4}, at: btree_write_buffer_flush_seq+0x18bd/0x1a40
 #3: ffff88811d584398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: bch2_trans_srcu_lock+0xaf/0x220
 #4: ffff88811d5a6710 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x542/0x1de0
3 locks held by bch-reclaim/loo/7368:
 #0: ffff88811d5caf68 (&j->reclaim_lock){+.+.}-{4:4}, at: bch2_journal_reclaim_thread+0x16b/0x4f0
 #1: ffff88811d584398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x7f4/0xd80
 #2: ffff88811d584740 (&wb->flushing.lock){+.+.}-{4:4}, at: btree_write_buffer_flush_seq+0x18bd/0x1a40
3 locks held by syz-executor/7969:
5 locks held by syz-executor/8621:
 #0: ffff88813659c0e0 (&type->s_umount_key#62){++++}-{4:4}, at: deactivate_super+0xa9/0xe0
 #1: ffff88803ef00278 (&c->state_lock){++++}-{4:4}, at: __bch2_fs_stop+0xf8/0x900
 #2: ffff88803ef04740 (&wb->flushing.lock){+.+.}-{4:4}, at: btree_write_buffer_flush_seq+0x18bd/0x1a40
 #3: ffff88803ef04398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: bch2_trans_srcu_lock+0xaf/0x220
 #4: ffff88803ef26710 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x542/0x1de0
3 locks held by bch-reclaim/loo/10009:
 #0: ffff88803ef4af68 (&j->reclaim_lock){+.+.}-{4:4}, at: bch2_journal_reclaim_thread+0x16b/0x4f0
 #1: ffff88803ef04398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x7f4/0xd80
 #2: ffff88803ef04740 (&wb->flushing.lock){+.+.}-{4:4}, at: btree_write_buffer_flush_seq+0x18bd/0x1a40
1 lock held by syz.6.478/10087:
 #0: ffff88803dbbc0e0 (&type->s_umount_key#62){++++}-{4:4}, at: super_lock+0x2a9/0x3b0
1 lock held by syz.6.478/10103:
 #0: ffff88803dbbc0e0 (&type->s_umount_key#62){++++}-{4:4}, at: super_lock+0x2a9/0x3b0
1 lock held by syz-executor/10326:
 #0: ffffffff8e13fb78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730
1 lock held by syz-executor/10504:
 #0: ffffffff8e13fb78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730
1 lock held by syz.0.577/11247:
1 lock held by dhcpcd/11263:
 #0: ffff888119f8e258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0

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

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: 11247 Comm: syz.0.577 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 ae 00 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 ff 7d d3 fc 41 03 1e 89 da ec <0f> b6 c0 5b 41 5c 41 5e 41 5f e9 0a 8f 2d 06 cc 44 89 f9 80 e1 07
RSP: 0018:ffffc9000481f238 EFLAGS: 00000006
RAX: 1ffffffff33bee05 RBX: 00000000000003f9 RCX: 0000000000000000
RDX: 00000000000003f9 RSI: 0000000000000000 RDI: 0000000000000020
RBP: ffffc9000481f410 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: ffffffff854fac90 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffffffff99df7460 R15: 0000000000000000
FS:  00007f94ccb986c0(0000) GS:ffff8880b8613000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555585568608 CR3: 000000003d33c000 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
 xfs_printk_level+0x18b/0x280
 xlog_recover+0x318/0x3e0
 xfs_log_mount+0x253/0x3e0
 xfs_mountfs+0xe5e/0x2330
 xfs_fs_fill_super+0x11b3/0x1600
 get_tree_bdev_flags+0x40e/0x4d0
 vfs_get_tree+0x92/0x2b0
 do_new_mount+0x2a2/0x9e0
 __se_sys_mount+0x317/0x410
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f94cbd903ca
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007f94ccb97e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f94ccb97ef0 RCX: 00007f94cbd903ca
RDX: 0000200000009680 RSI: 00002000000096c0 RDI: 00007f94ccb97eb0
RBP: 0000200000009680 R08: 00007f94ccb97ef0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00002000000096c0
R13: 00007f94ccb97eb0 R14: 00000000000096a4 R15: 00002000000000c0
 </TASK>
