INFO: task bch-reclaim/loo:8189 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:18360 pid:8189  tgid:8189  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+0x439/0x7d0
 ret_from_fork_asm+0x1a/0x30
 </TASK>

Showing all locks held in the system:
6 locks held by kworker/0:1/10:
1 lock held by khungtaskd/34:
 #0: ffffffff8e13a0e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by kworker/u10:5/3610:
 #0: ffff888136639f98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140
 #1: ffff888136624008 (psi_seq){-.-.}-{0:0}, at: psi_task_switch+0x53/0x880
2 locks held by getty/5675:
 #0: ffff88810d03d0a0 (&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
3 locks held by kworker/u8:3/5877:
6 locks held by syz-executor/7665:
 #0: ffff8880244520e0 (&type->s_umount_key#75){+.+.}-{4:4}, at: deactivate_super+0xa9/0xe0
 #1: ffff888123400278 (&c->state_lock){++++}-{4:4}, at: __bch2_fs_stop+0xf8/0x900
 #2: ffff88812344af68 (&j->reclaim_lock){+.+.}-{4:4}, at: journal_flush_done+0x86/0x810
 #3: ffff888123404398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x7f4/0xd80
 #4: ffff888123404398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: bch2_btree_key_cache_journal_flush+0x105/0xd30
 #5: ffff888123426710 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x542/0x1de0
2 locks held by syz-executor/7786:
 #0: ffff8881054ac0e0 (&type->s_umount_key#71){+.+.}-{4:4}, at: deactivate_super+0xa9/0xe0
 #1: ffffffff8e56ede8 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb4/0x520
1 lock held by bch-reclaim/loo/8189:
 #0: ffff88812344af68 (&j->reclaim_lock){+.+.}-{4:4}, at: bch2_journal_reclaim_thread+0x16b/0x4f0
2 locks held by syz-executor/8509:
 #0: ffff8881160040e0 (&type->s_umount_key#71){+.+.}-{4:4}, at: deactivate_super+0xa9/0xe0
 #1: ffffffff8e56ede8 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb4/0x520
2 locks held by syz-executor/8621:
 #0: ffff888125ccc0e0 (&type->s_umount_key#71){+.+.}-{4:4}, at: deactivate_super+0xa9/0xe0
 #1: ffffffff8e56ede8 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb4/0x520
2 locks held by syz-executor/8703:
 #0: ffff8880623ba0e0 (&type->s_umount_key#71){+.+.}-{4:4}, at: deactivate_super+0xa9/0xe0
 #1: ffffffff8e56ede8 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb4/0x520
2 locks held by syz-executor/8741:
 #0: ffff8880627e40e0 (&type->s_umount_key#71){+.+.}-{4:4}, at: deactivate_super+0xa9/0xe0
 #1: ffffffff8e56ede8 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb4/0x520
2 locks held by syz.1.733/9118:
 #0: ffff888124efa0e0 (&type->s_umount_key#70/1){+.+.}-{4:4}, at: alloc_super+0x204/0x970
 #1: ffffffff8e56ede8 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogOpen+0x1a1/0xfb0
1 lock held by syz.3.1004/10182:
3 locks held by syz.0.1009/10192:

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

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: 36 Comm: kworker/u10: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: events_unbound nsim_dev_trap_report_work
RIP: 0010:mark_lock+0x26/0x190
Code: 90 90 90 90 55 41 57 41 56 41 55 41 54 53 8b 46 20 89 c1 81 e1 00 00 03 00 83 f9 01 bb 09 00 00 00 83 db 00 83 fa 08 0f 45 da <bd> 01 00 00 00 89 d9 d3 e5 25 ff 1f 00 00 48 0f a3 05 04 06 0b 12
RSP: 0018:ffffc90000006e78 EFLAGS: 00000046
RAX: 00000000000c2000 RBX: 0000000000000008 RCX: 0000000000000000
RDX: 0000000000000008 RSI: ffff888104a08be0 RDI: ffff888104a08000
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff84d0c744
R10: dffffc0000000000 R11: fffffbfff1f47507 R12: 0000000000000003
R13: 0000000000000002 R14: ffff888104a08be0 R15: ffff888104a08c00
FS:  0000000000000000(0000) GS:ffff8880b8613000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8d393056c0 CR3: 0000000028038000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 __lock_acquire+0x6a8/0xd20
 lock_acquire+0x120/0x360
 _raw_spin_lock_irqsave+0xa7/0xf0
 debug_object_active_state+0xa4/0x260
 call_rcu+0xc3/0x9c0
 skb_release_head_state+0x71/0x250
 consume_skb+0x60/0xf0
 nft_synproxy_eval_v4+0x376/0x560
 nft_synproxy_do_eval+0x345/0x570
 nft_do_chain+0x40c/0x1920
 nft_do_chain_inet+0x25d/0x340
 nf_hook_slow+0xc5/0x220
 NF_HOOK+0x206/0x3a0
 NF_HOOK+0x30c/0x3a0
 __netif_receive_skb+0x143/0x380
 process_backlog+0x60e/0x14f0
 __napi_poll+0xc7/0x360
 net_rx_action+0x707/0xe30
 handle_softirqs+0x286/0x870
 do_softirq+0xec/0x180
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0x17d/0x1c0
 nsim_dev_trap_report_work+0x7c7/0xb80
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x439/0x7d0
 ret_from_fork_asm+0x1a/0x30
 </TASK>
