INFO: task syz-executor:7342 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:18856 pid:7342  tgid:7342  ppid:1      task_flags:0x400140 flags:0x00004006
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:0x7f293ab8ff17
RSP: 002b:00007ffdac349178 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f293ac11c05 RCX: 00007f293ab8ff17
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffdac349230
RBP: 00007ffdac349230 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffdac34a2c0
R13: 00007f293ac11c05 R14: 0000000000020099 R15: 00007ffdac34a300
 </TASK>

Showing all locks held in the system:
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/5675:
 #0: ffff88810e5250a0 (&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/7342:
 #0: ffff888037ef20e0 (&type->s_umount_key#68){++++}-{4:4}, at: deactivate_super+0xa9/0xe0
 #1: ffff88802fa80278 (&c->state_lock){++++}-{4:4}, at: __bch2_fs_stop+0xf8/0x900
2 locks held by syz-executor/8286:
 #0: ffff8881248dc0e0 (&type->s_umount_key#98){+.+.}-{4:4}, at: deactivate_super+0xa9/0xe0
 #1: ffffffff8e56e108 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb4/0x520
2 locks held by syz-executor/8670:
 #0: ffff88802e64e0e0 (&type->s_umount_key#98){+.+.}-{4:4}, at: deactivate_super+0xa9/0xe0
 #1: ffffffff8e56e108 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb4/0x520
2 locks held by syz-executor/9405:
 #0: ffff8880374260e0 (&type->s_umount_key#98){+.+.}-{4:4}, at: deactivate_super+0xa9/0xe0
 #1: ffffffff8e56e108 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb4/0x520
2 locks held by syz-executor/11090:
 #0: ffff88802be2c0e0 (&type->s_umount_key#98){+.+.}-{4:4}, at: deactivate_super+0xa9/0xe0
 #1: ffffffff8e56e108 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb4/0x520
2 locks held by syz.2.581/11123:
 #0: ffff88801fe500e0 (&type->s_umount_key#98){+.+.}-{4:4}, at: deactivate_super+0xa9/0xe0
 #1: ffffffff8e56e108 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb4/0x520
1 lock held by syz-executor/11381:
 #0: ffffffff8e13f978 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730

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

NMI backtrace for cpu 0
CPU: 0 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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 11576 Comm: syz-executor 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+0x467/0xd20
Code: c5 45 8d 7c 24 01 49 ff cc 44 89 f9 83 c1 fe 78 44 44 89 e3 81 e3 ff ff ff 7f 83 f9 31 73 1d 48 8d 0c 9b 8b 8c cf 10 0b 00 00 <31> c1 41 ff cf 49 ff cc f7 c1 00 60 00 00 74 cf eb 1c 48 c7 c7 90
RSP: 0018:ffffc900001e02e8 EFLAGS: 00000087
RAX: 0000000000022007 RBX: 0000000000000003 RCX: 0000000000022007
RDX: 0000000000000003 RSI: 0000000000002000 RDI: ffff88801f948000
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8172c195
R10: ffffc900001e0538 R11: ffffffff81ac3820 R12: 0000000000000003
R13: 0000000000000001 R14: ffff88801f948bb8 R15: 0000000000000005
FS:  00005555752f7500(0000) GS:ffff8881a3c1b000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555753125c8 CR3: 000000013404c000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 lock_acquire+0x120/0x360
 unwind_next_frame+0xc2/0x2390
 arch_stack_walk+0x11c/0x150
 stack_trace_save+0x9c/0xe0
 kasan_save_track+0x3e/0x80
 __kasan_slab_alloc+0x6c/0x80
 kmem_cache_alloc_node_noprof+0x1bb/0x3c0
 __alloc_skb+0x112/0x2d0
 __netdev_alloc_skb+0x108/0x970
 __ieee80211_beacon_get+0xc06/0x1880
 ieee80211_beacon_get_tim+0xb4/0x2b0
 mac80211_hwsim_beacon_tx+0x3ce/0x860
 __iterate_interfaces+0x2ab/0x590
 ieee80211_iterate_active_interfaces_atomic+0xdb/0x180
 mac80211_hwsim_beacon+0xbb/0x1c0
 __hrtimer_run_queues+0x52c/0xc60
 hrtimer_run_softirq+0x187/0x2b0
 handle_softirqs+0x286/0x870
 __irq_exit_rcu+0xca/0x1f0
 irq_exit_rcu+0x9/0x30
 sysvec_apic_timer_interrupt+0xa6/0xc0
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:console_flush_all+0x7f7/0xc40
Code: 48 21 c3 0f 85 e9 01 00 00 e8 65 49 1f 00 48 8b 5c 24 20 4d 85 f6 75 07 e8 56 49 1f 00 eb 06 e8 4f 49 1f 00 fb 48 8b 44 24 28 <42> 80 3c 20 00 74 08 48 89 df e8 5a b7 82 00 48 8b 1b 48 8b 44 24
RSP: 0018:ffffc90002b0f760 EFLAGS: 00000293
RAX: 1ffffffff1d36817 RBX: ffffffff8e9b40b8 RCX: ffff88801f948000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90002b0f8b0 R08: ffffffff8fa38a37 R09: 1ffffffff1f47146
R10: dffffc0000000000 R11: fffffbfff1f47147 R12: dffffc0000000000
R13: 0000000000000001 R14: 0000000000000200 R15: ffffffff8e9b4060
 console_unlock+0xc4/0x270
 vprintk_emit+0x5b7/0x7a0
 _printk+0xcf/0x120
 xfs_printk_level+0x18b/0x280
 xfs_fs_put_super+0x55/0x160
 generic_shutdown_super+0x135/0x2c0
 kill_block_super+0x44/0x90
 xfs_kill_sb+0x15/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:0x7f8a9438ff17
Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffeeac4ad18 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f8a94411c05 RCX: 00007f8a9438ff17
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffeeac4add0
RBP: 00007ffeeac4add0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffeeac4be60
R13: 00007f8a94411c05 R14: 00000000000431e1 R15: 00007ffeeac4bea0
 </TASK>
