INFO: task bch-reclaim/loo:9462 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:21368 pid:9462  tgid:9462  ppid:2      task_flags:0x200040 flags:0x00004000
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 bch2_journal_reclaim_thread+0x16b/0x4f0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </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
3 locks held by kworker/1:1/47:
 #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000075fbc0 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff88812c9e9240 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x26b/0x3180
2 locks held by getty/5671:
 #0: ffff88810b5950a0 (&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
3 locks held by kworker/u11:2/5848:
 #0: ffff888104b1e948 ((wq_completion)hci5){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000334fbc0 ((work_completion)(&hdev->power_on)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff8881341f8dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_power_on+0x1ac/0x680
2 locks held by kworker/0:3/5879:
 #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000352fbc0 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
6 locks held by syz-executor/9158:
 #0: ffff88803c6780e0 (&type->s_umount_key#64){++++}-{4:4}, at: deactivate_super+0xa9/0xe0
 #1: ffff888043a80278 (&c->state_lock){++++}-{4:4}, at: __bch2_fs_stop+0xf8/0x900
 #2: ffff888043acaf68 (&j->reclaim_lock){+.+.}-{4:4}, at: journal_flush_done+0x86/0x810
 #3: ffff888043a84398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x7f4/0xd80
 #4: ffff888043a84740 (&wb->flushing.lock){+.+.}-{4:4}, at: btree_write_buffer_flush_seq+0x18bd/0x1a40
 #5: ffff888043aa6710 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x542/0x1de0
1 lock held by bch-reclaim/loo/9462:
 #0: ffff888043acaf68 (&j->reclaim_lock){+.+.}-{4:4}, at: bch2_journal_reclaim_thread+0x16b/0x4f0
2 locks held by kworker/u10:5/9925:
 #0: ffff88801ed66948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90001c0fbc0 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
1 lock held by syz.2.1197/11891:
 #0: ffff888000134428 (sb_writers#19){.+.+}-{0:0}, at: direct_splice_actor+0x49/0x160
2 locks held by syz.6.1206/11942:
 #0: ffff88811ceb2008 (&sb->s_type->i_mutex_key#11){+.+.}-{4:4}, at: sock_close+0x9b/0x240
 #1: ffffffff8e13f9b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730
2 locks held by syz.6.1238/12102:
 #0: ffff88803c21c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_release+0x5c/0x200
 #1: ffff8881341f00a0 (&tty->ldisc_sem/1){+.+.}-{0:0}, at: tty_ldisc_release+0x80/0x200
2 locks held by syz.0.1237/12112:

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

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: 12112 Comm: syz.0.1237 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:__add_to_free_list+0x149/0x3d0
Code: 01 00 00 48 b8 00 00 00 00 00 fc ff df 80 3c 03 00 74 08 4c 89 f7 e8 c6 6d 0c 00 48 8b 5c 24 08 49 89 1e 48 89 d8 48 c1 e8 03 <48> b9 00 00 00 00 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 9f 6d
RSP: 0018:ffffc9000377f708 EFLAGS: 00000802
RAX: 1ffffd40001bd6a1 RBX: ffffea0000deb508 RCX: 0000000000000000
RDX: ffff88805fffbd68 RSI: ffffea00009c5288 RDI: ffffea0000deb508
RBP: ffff88805fffbd68 R08: 0000000000000001 R09: 1ffffd40001bd686
R10: dffffc0000000000 R11: fffff940001bd687 R12: ffffea0000deb500
R13: ffff88805fffbd68 R14: ffff88805fffbd70 R15: ffffea00009c5288
FS:  00007f225b65b6c0(0000) GS:ffff8880b8618000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f225a9c7dac CR3: 000000000df36000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 __free_one_page+0x6df/0xbd0
 free_pcppages_bulk+0x2da/0x4e0
 free_frozen_page_commit+0x62c/0x1070
 __free_frozen_pages+0x67f/0xd30
 vfree+0x25a/0x400
 kcov_close+0x28/0x50
 __fput+0x44c/0xa70
 task_work_run+0x1d4/0x260
 do_exit+0x6b5/0x2300
 do_group_exit+0x21c/0x2d0
 get_signal+0x1286/0x1340
 arch_do_signal_or_restart+0x9a/0x750
 irqentry_exit_to_user_mode+0x81/0x120
 exc_page_fault+0x9f/0xf0
 asm_exc_page_fault+0x26/0x30
RIP: 0033:0x7f225a650c46
Code: Unable to access opcode bytes at 0x7f225a650c1c.
RSP: 002b:00007f225b65a4a0 EFLAGS: 00010206
RAX: 0000000000127001 RBX: 00007f225b65a540 RCX: 00000000000000f0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00007f225b65a5e0
RBP: 0000000000000102 R08: 00007f2250400000 R09: 0000000000127000
R10: 0000000000000000 R11: 00007f225b65a550 R12: 0000000000000001
R13: 00007f225a82da20 R14: 0000000000000000 R15: 00007f225b65a5e0
 </TASK>
