INFO: task syz-executor:9809 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:16840 pid:9809  tgid:9809  ppid:1      task_flags:0x400140 flags:0x00004006
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 __closure_sync+0x163/0x220
 bch2_journal_flush_pins+0x18e/0x250
 __bch2_fs_read_only+0x144/0x5b0
 bch2_fs_read_only+0x42a/0xb00
 __bch2_fs_stop+0x100/0x900
 generic_shutdown_super+0x135/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:0x7f92fb58ff17
RSP: 002b:00007ffc559f5518 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f92fb611c05 RCX: 00007f92fb58ff17
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc559f55d0
RBP: 00007ffc559f55d0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffc559f6660
R13: 00007f92fb611c05 R14: 000000000004686c R15: 00007ffc559f66a0
 </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 getty/5677:
 #0: ffff88810fae50a0 (&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
4 locks held by kworker/u9:6/7987:
 #0: ffff888107511948 ((wq_completion)btree_update){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000634fbc0 ((work_completion)(&c->btree_interior_update_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff88811a984398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: bch2_trans_srcu_lock+0xaf/0x220
 #3: ffff88811a9a6710 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x542/0x1de0
2 locks held by syz-executor/8694:
2 locks held by syz-executor/9809:
 #0: ffff8880247160e0 (&type->s_umount_key#65){++++}-{4:4}, at: deactivate_super+0xa9/0xe0
 #1: ffff88811a980278 (&c->state_lock){++++}-{4:4}, at: __bch2_fs_stop+0xf8/0x900
2 locks held by syz-executor/10429:
1 lock held by syz.2.685/11094:
 #0: ffff8880247160e0 (&type->s_umount_key#65){++++}-{4:4}, at: super_lock+0x2a9/0x3b0
2 locks held by syz.3.882/12568:
4 locks held by syz.4.880/12570:
3 locks held by syz.4.880/12571:

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

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: 12571 Comm: syz.4.880 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:rcu_read_lock_held+0x5/0x50
Code: e9 10 ea d7 09 cc 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 53 <e8> e6 0c d5 09 85 c0 74 26 31 db e8 eb 2d 01 00 84 c0 74 20 e8 62
RSP: 0018:ffffc900028df6a0 EFLAGS: 00000246
RAX: ffffffff84b177e9 RBX: ffff888107514800 RCX: 0000000000000002
RDX: ffff8880213a5640 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff84b1990d
R10: dffffc0000000000 R11: fffff940001c9fc7 R12: ffffc900028df7c0
R13: 000000000000011b R14: ffff8880213a566c R15: dffffc0000000000
FS:  00007f93b658a6c0(0000) GS:ffff8880b8615000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdd52dc5000 CR3: 000000003ee30000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 blkcg_css+0x113/0x1d0
 blk_cgroup_congested+0xbc/0x210
 __folio_throttle_swaprate+0x80/0x1c0
 shmem_add_to_page_cache+0x6f1/0xba0
 shmem_alloc_and_add_folio+0x846/0xf60
 shmem_get_folio_gfp+0x59d/0x1660
 shmem_write_begin+0xf7/0x2b0
 generic_perform_write+0x2c5/0x900
 shmem_file_write_iter+0xf8/0x120
 vfs_write+0x5c9/0xb30
 ksys_write+0x145/0x250
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f93b578d69f
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48
RSP: 002b:00007f93b6589df0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000001000000 RCX: 00007f93b578d69f
RDX: 0000000001000000 RSI: 00007f93ab400000 RDI: 0000000000000004
RBP: 0000000000000000 R08: 0000000000000000 R09: 000000000000559d
R10: 000020000000e0c2 R11: 0000000000000293 R12: 0000000000000004
R13: 00007f93b6589ef0 R14: 00007f93b6589eb0 R15: 00007f93ab400000
 </TASK>
