INFO: task bch-reclaim/loo:6886 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:25800 pid:6886  tgid:6886  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:
2 locks held by kworker/u8:0/12:
 #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/5681:
 #0: ffff888023f320a0 (&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/5847:
 #0: ffff88810eb820e0 (&type->s_umount_key#50){++++}-{4:4}, at: deactivate_super+0xa9/0xe0
 #1: ffff88803de00278 (&c->state_lock){++++}-{4:4}, at: __bch2_fs_stop+0xf8/0x900
 #2: ffff88803de4af68 (&j->reclaim_lock){+.+.}-{4:4}, at: journal_flush_done+0x86/0x810
 #3: ffff88803de04398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x7f4/0xd80
 #4: ffff88803de04740 (&wb->flushing.lock){+.+.}-{4:4}, at: btree_write_buffer_flush_seq+0x18bd/0x1a40
 #5: ffff88803de26710 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x542/0x1de0
1 lock held by bch-reclaim/loo/6886:
 #0: ffff88803de4af68 (&j->reclaim_lock){+.+.}-{4:4}, at: bch2_journal_reclaim_thread+0x16b/0x4f0
6 locks held by kworker/0:5/8618:
 #0: ffff88801bbbd548 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90002cdfbc0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff888108758198 (&dev->mutex){....}-{4:4}, at: hub_event+0x184/0x4a20
 #3: ffff88810875b518 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_event+0x21b8/0x4a20
 #4: ffff888108701268 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_event+0x21e5/0x4a20
 #5: ffffffff8ede16d0 (ehci_cf_port_reset_rwsem){.+.+}-{4:4}, at: hub_port_reset+0x163/0x1750
2 locks held by syz.3.921/10458:
 #0: ffff88802ae2a258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_setsockopt+0x53d/0x12c0
 #1: ffffffff8e13fb78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730
2 locks held by syz.3.921/10463:
 #0: ffff88803700a0e0 (&type->s_umount_key#56/1){+.+.}-{4:4}, at: alloc_super+0x204/0x970
 #1: ffffffff8e13fb78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730

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

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: 8618 Comm: kworker/0:5 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: usb_hub_wq hub_event
RIP: 0010:__hrtimer_run_queues+0x18f/0xc60
Code: 80 00 00 00 0f 84 81 0a 00 00 49 8d 7f 68 48 89 f8 48 c1 e8 03 42 80 3c 28 00 74 05 e8 2a 79 75 00 44 89 74 24 54 49 8b 47 68 <48> 03 84 24 88 00 00 00 48 89 84 24 e0 00 00 00 49 8d 5f 58 48 89
RSP: 0018:ffffc90000007d40 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888037725640
RDX: 0000000000010000 RSI: 0000000000000000 RDI: ffff88804b027b68
RBP: ffffc90000007e90 R08: 0000000000000000 R09: ffffffff81ae5c70
R10: dffffc0000000000 R11: ffffffff81724e10 R12: ffff88804b027af8
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88804b027b00
FS:  0000000000000000(0000) GS:ffff8880b8613000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c40db6d CR3: 000000010de06000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 hrtimer_interrupt+0x45b/0xaa0
 __sysvec_apic_timer_interrupt+0x10b/0x410
 sysvec_apic_timer_interrupt+0xa1/0xc0
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:vprintk_emit+0x58f/0x7a0
Code: 85 32 01 00 00 e8 51 86 1f 00 41 89 df 4d 85 f6 48 8b 1c 24 75 07 e8 40 86 1f 00 eb 06 e8 39 86 1f 00 fb 48 c7 c7 80 e3 12 8e <31> f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 45 31 c9 53 e8 b9 35
RSP: 0018:ffffc90002cdf260 EFLAGS: 00000283
RAX: ffffffff81a02757 RBX: ffffffff81a02614 RCX: 0000000000100000
RDX: ffffc90028d13000 RSI: 00000000000279f0 RDI: ffffffff8e12e380
RBP: ffffc90002cdf370 R08: ffffffff8fa3a737 R09: 1ffffffff1f474e6
R10: dffffc0000000000 R11: fffffbfff1f474e7 R12: dffffc0000000000
R13: 1ffff9200059be50 R14: 0000000000000200 R15: 000000000000002d
 dev_vprintk_emit+0x337/0x3f0
 dev_printk_emit+0xe0/0x130
 _dev_err+0x10a/0x160
 hub_port_init+0x1eeb/0x2800
 hub_event+0x2532/0x4a20
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x439/0x7d0
 ret_from_fork_asm+0x1a/0x30
 </TASK>
