INFO: task bch-reclaim/loo:8488 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:23848 pid:8488  tgid:8488  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
4 locks held by kworker/u9:4/3038:
 #0: ffff8881222e2148 ((wq_completion)btree_update#3){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90009a17bc0 ((work_completion)(&c->btree_interior_update_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff888126184398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: bch2_trans_srcu_lock+0xaf/0x220
 #3: ffff8881261a6710 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x542/0x1de0
1 lock held by udevd/5296:
2 locks held by dhcpcd/5592:
 #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
2 locks held by getty/5674:
 #0: ffff88801fb950a0 (&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
6 locks held by syz-executor/8266:
 #0: ffff88810d6760e0 (&type->s_umount_key#59){++++}-{4:4}, at: deactivate_super+0xa9/0xe0
 #1: ffff888126180278 (&c->state_lock){++++}-{4:4}, at: __bch2_fs_stop+0xf8/0x900
 #2: ffff8881261caf68 (&j->reclaim_lock){+.+.}-{4:4}, at: journal_flush_done+0x86/0x810
 #3: ffff888126184398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x7f4/0xd80
 #4: ffff888126184740 (&wb->flushing.lock){+.+.}-{4:4}, at: btree_write_buffer_flush_seq+0x18bd/0x1a40
 #5: ffff8881261a6710 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x542/0x1de0
3 locks held by kworker/1:8/8307:
 #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90004c9fbc0 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff88803259d240 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x26b/0x3180
1 lock held by bch-reclaim/loo/8488:
 #0: ffff8881261caf68 (&j->reclaim_lock){+.+.}-{4:4}, at: bch2_journal_reclaim_thread+0x16b/0x4f0
1 lock held by syz.7.471/9574:
 #0: ffff88810d6760e0 (&type->s_umount_key#59){++++}-{4:4}, at: super_lock+0x2a9/0x3b0
1 lock held by syz.7.471/9581:
 #0: ffff88810d6760e0 (&type->s_umount_key#59){++++}-{4:4}, at: super_lock+0x2a9/0x3b0
1 lock held by syz.6.719/11570:
 #0: ffff88810d6760e0 (&type->s_umount_key#59){++++}-{4:4}, at: super_lock+0x2a9/0x3b0
1 lock held by syz.0.763/11829:
 #0: ffff88810d6760e0 (&type->s_umount_key#59){++++}-{4:4}, at: super_lock+0x2a9/0x3b0
2 locks held by dhcpcd-run-hook/12020:

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

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: 5694 Comm: kworker/u8:2 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_nc_worker
RIP: 0010:check_preemption_disabled+0x35/0x120
Code: 48 8b 05 be 6e 26 07 48 89 44 24 08 65 8b 05 c6 6e 26 07 65 8b 0d bb 6e 26 07 f7 c1 ff ff ff 7f 74 23 65 48 8b 0d 9b 6e 26 07 <48> 3b 4c 24 08 0f 85 cc 00 00 00 48 83 c4 10 5b 41 5e 41 5f 5d e9
RSP: 0018:ffffc90000007790 EFLAGS: 00000202
RAX: 0000000000000000 RBX: ffffc90000007801 RCX: dce52a1895a1f600
RDX: ffffc90000007888 RSI: ffffffff8da09efb RDI: ffffffff8be33a00
RBP: ffffc90000007801 R08: ffffc90000007800 R09: 0000000000000000
R10: ffffc90000007888 R11: fffff52000000f1d R12: ffff888107c83980
R13: ffffc900000078a8 R14: ffffc90000007888 R15: ffffc90000007828
FS:  0000000000000000(0000) GS:ffff8880b8615000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f61335ff000 CR3: 0000000036cc8000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 get_stack_info_noinstr+0x46/0x130
 get_stack_info+0x3b/0xf0
 __unwind_start+0x43f/0x760
 arch_stack_walk+0xe4/0x150
 stack_trace_save+0x9c/0xe0
 kasan_save_track+0x3e/0x80
 kasan_save_free_info+0x46/0x50
 __kasan_slab_free+0x5b/0x80
 kmem_cache_free+0x18f/0x400
 rcu_core+0xcab/0x1770
 handle_softirqs+0x286/0x870
 do_softirq+0xec/0x180
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0x17d/0x1c0
 batadv_nc_purge_paths+0x318/0x3b0
 batadv_nc_worker+0x328/0x610
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>
