INFO: task syz-executor:7178 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:21832 pid:7178  tgid:7178  ppid:1      task_flags:0x400140 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 wb_wait_for_completion+0x15f/0x260
 __writeback_inodes_sb_nr+0x1f6/0x250
 sync_filesystem+0xa3/0x230
 generic_shutdown_super+0x6f/0x2c0
 bch2_kill_sb+0x41/0x50
 deactivate_locked_super+0xbc/0x130
 cleanup_mnt+0x425/0x4c0
 task_work_run+0x1d4/0x260
 exit_to_user_mode_loop+0xec/0x110
 do_syscall_64+0x2bd/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fbef278ff17
RSP: 002b:00007ffd436379a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007fbef2811c05 RCX: 00007fbef278ff17
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd43637a60
RBP: 00007ffd43637a60 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd43638af0
R13: 00007fbef2811c05 R14: 0000000000020a81 R15: 00007ffd43638b30
 </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
2 locks held by kworker/u10:3/64:
 #0: ffff8881026bc148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000172fbc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
5 locks held by kworker/u10:9/1151:
 #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: ffff88804b025918 (&base->lock){-.-.}-{2:2}, at: __mod_timer+0x8ee/0xf30
 #3: ffffffff99cd3b48 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0xbb/0x420
 #4: ffffffff8e139f20 (rcu_read_lock){....}-{1:3}, at: unwind_next_frame+0xa5/0x2390
2 locks held by getty/5677:
 #0: ffff88810ff460a0 (&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
1 lock held by syz-executor/7178:
 #0: ffff88812d2d40e0 (&type->s_umount_key#76){++++}-{4:4}, at: deactivate_super+0xa9/0xe0

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

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: 7639 Comm: bch-reclaim/loo 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:__lock_acquire+0x870/0xd20
Code: f0 41 89 cf 41 c1 c7 13 29 ce 41 31 f7 01 c1 44 29 f8 44 01 f9 41 c1 c7 04 41 31 c7 49 c1 e7 20 49 09 cf 83 3d 04 58 06 0e 00 <0f> 85 36 02 00 00 48 83 7c 24 28 00 0f 84 bc 01 00 00 41 8b 46 f8
RSP: 0018:ffffc9000448f310 EFLAGS: 00000046
RAX: 000000004c6e6097 RBX: 0000000000000004 RCX: 0000000027e648bd
RDX: 00000000cda0c54e RSI: 000000008aa529fc RDI: ffff888026c09cc0
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8216abdb
R10: dffffc0000000000 R11: fffffbfff1f47207 R12: 000000006a8fa782
R13: ffff888026c0a7b0 R14: ffff888026c0a850 R15: 9033094227e648bd
FS:  0000000000000000(0000) GS:ffff8880b8618000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd86793e38 CR3: 0000000109bd0000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 lock_acquire+0x120/0x360
 seqcount_lockdep_reader_access+0xb4/0x180
 bad_range+0x8b/0x2c0
 __free_one_page+0xf4/0xbd0
 free_pcppages_bulk+0x2da/0x4e0
 free_frozen_page_commit+0x62c/0x1070
 __free_frozen_pages+0x67f/0xd30
 __put_partials+0x156/0x1a0
 put_cpu_partial+0x17c/0x250
 __slab_free+0x2d5/0x3c0
 qlist_free_all+0x97/0x140
 kasan_quarantine_reduce+0x148/0x160
 __kasan_slab_alloc+0x22/0x80
 __kmalloc_noprof+0x224/0x4f0
 __bch2_trans_get+0x711/0xd80
 bch2_btree_write_buffer_journal_flush+0x56/0xb0
 journal_flush_pins+0x8e3/0xe90
 __bch2_journal_reclaim+0x910/0xed0
 bch2_journal_reclaim_thread+0x177/0x4f0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>
