INFO: task syz-executor:9053 blocked for more than 143 seconds.
      Not tainted 6.16.0-syzkaller-11895-gcca7a0aae895-dirty #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:18856 pid:9053  tgid:9053  ppid:1      task_flags:0x400140 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_timeout+0x9a/0x270
 wait_for_completion+0x2bf/0x5d0
 kthread_stop+0x194/0x5c0
 bch2_copygc_stop+0x4b/0x120
 __bch2_fs_read_only+0x47/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:0x7f0e3ab8ff17
RSP: 002b:00007ffd84c8dac8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f0e3ac11c05 RCX: 00007f0e3ab8ff17
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd84c8db80
RBP: 00007ffd84c8db80 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd84c8ec10
R13: 00007f0e3ac11c05 R14: 000000000005d14d R15: 00007ffd84c8ec50
 </TASK>

Showing all locks held in the system:
2 locks held by kworker/u8:1/13:
 #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: ffffffff8e139ee0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by getty/5674:
 #0: ffff888022e490a0 (&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
2 locks held by syz-executor/9053:
 #0: ffff8880212320e0 (&type->s_umount_key#52){++++}-{4:4}, at: deactivate_super+0xa9/0xe0
 #1: ffff88811e280278 (&c->state_lock){++++}-{4:4}, at: __bch2_fs_stop+0xf8/0x900
3 locks held by kworker/0:8/13374:
 #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90002d8fbc0 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8e13f978 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730
1 lock held by syz.6.1170/13396:
 #0: ffff8880212320e0 (&type->s_umount_key#52){++++}-{4:4}, at: super_lock+0x2a9/0x3b0
1 lock held by syz.5.1404/15059:
 #0: ffff8880212320e0 (&type->s_umount_key#52){++++}-{4:4}, at: super_lock+0x2a9/0x3b0

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

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 34 Comm: khungtaskd Not tainted 6.16.0-syzkaller-11895-gcca7a0aae895-dirty #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: 15366 Comm: syz.3.1455 Not tainted 6.16.0-syzkaller-11895-gcca7a0aae895-dirty #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+0x82/0xd20
Code: 4c 24 0c 8b 0d ff b3 0d 18 85 c9 0f 95 c0 83 fe 08 0f 92 c2 08 c2 0f 84 55 01 00 00 44 89 cd 83 fe 01 48 89 3c 24 77 0c 89 f0 <48> 8b 44 c3 08 48 85 c0 75 20 45 31 ff 48 89 df 31 d2 e8 17 f0 ff
RSP: 0018:ffffc9000292f408 EFLAGS: 00000097
RAX: 0000000000000000 RBX: ffffffff8e139ee0 RCX: 0000000000000000
RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff88802f92b980
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: ffffc9000292f658 R11: ffffffff81ac3890 R12: 0000000000000002
R13: ffffffff8e139ee0 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f65911356c0(0000) GS:ffff8880b8624000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5000ae7d60 CR3: 0000000027e7e000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 lock_acquire+0x120/0x360
 unwind_next_frame+0xc2/0x2390
 arch_stack_walk+0x11c/0x150
 stack_trace_save+0x9c/0xe0
 save_stack+0xf5/0x1f0
 __reset_page_owner+0x71/0x1f0
 __free_frozen_pages+0xbc4/0xd30
 vfree+0x25a/0x400
 kcov_close+0x28/0x50
 __fput+0x44c/0xa70
 task_work_run+0x1d4/0x260
 do_exit+0x6b5/0x2300
 do_group_exit+0x21c/0x2d0
 get_signal+0x1286/0x1340
 arch_do_signal_or_restart+0x9a/0x750
 exit_to_user_mode_loop+0x75/0x110
 do_syscall_64+0x2bd/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f659038ebe9
Code: Unable to access opcode bytes at 0x7f659038ebbf.
RSP: 002b:00007f65911350e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f65905b5fa8 RCX: 00007f659038ebe9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f65905b5fa8
RBP: 00007f65905b5fa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f65905b6038 R14: 00007fff091e1ed0 R15: 00007fff091e1fb8
 </TASK>
