INFO: task syz.6.228:8525 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.6.228       state:D stack:24648 pid:8525  tgid:8524  ppid:8241   task_flags:0x400140 flags:0x00004006
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_timeout+0x9a/0x270
 wait_for_completion+0x2bf/0x5d0
 f2fs_issue_checkpoint+0x376/0x570
 f2fs_do_sync_file+0x869/0x1860
 f2fs_file_write_iter+0x753/0x2410
 do_iter_readv_writev+0x61c/0x8b0
 vfs_writev+0x31a/0x960
 __se_sys_pwritev2+0x179/0x290
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7efd80d8ebe9
RSP: 002b:00007efd81bed038 EFLAGS: 00000246 ORIG_RAX: 0000000000000148
RAX: ffffffffffffffda RBX: 00007efd80fb5fa0 RCX: 00007efd80d8ebe9
RDX: 0000000000000001 RSI: 00002000000001c0 RDI: 0000000000000009
RBP: 00007efd80e11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000e7b R11: 0000000000000246 R12: 0000000000000000
R13: 00007efd80fb6038 R14: 00007efd80fb5fa0 R15: 00007ffd35d8d418
 </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
3 locks held by kworker/u9:2/53:
 #0: ffff88801b719148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900007bfbc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff888029e220e0 (&type->s_umount_key#56){++++}-{4:4}, at: super_trylock_shared+0x20/0xf0
2 locks held by getty/5674:
 #0: ffff8880216880a0 (&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
1 lock held by syz.6.228/8525:
 #0: ffff888029e22428 (sb_writers#13){.+.+}-{0:0}, at: vfs_writev+0x288/0x960
3 locks held by f2fs_ckpt-7:6/8526:
2 locks held by syz.3.328/10069:
 #0: ffff888029e220e0 (&type->s_umount_key#56){++++}-{4:4}, at: super_lock+0x2a9/0x3b0
 #1: ffff88801b3367d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x19f/0xa10
2 locks held by syz.8.331/10136:
 #0: ffff888029e220e0 (&type->s_umount_key#56){++++}-{4:4}, at: super_lock+0x2a9/0x3b0
 #1: ffff88801b3367d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x19f/0xa10
1 lock held by syz-executor/11177:
 #0: ffffffff8e13f978 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730
1 lock held by syz.3.486/12073:
 #0: ffffffff8e13f978 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/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+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: 26 Comm: kworker/u9:0 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:  0x0 (events_unbound)
RIP: 0010:__enqueue_entity+0x1fd/0x5e0
Code: 0d 44 20 7c 24 07 4d 8b 3e 4d 85 ff 74 5c 4d 89 fc 49 8d 7f 18 48 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 <74> 05 e8 0c de 8d 00 48 89 dd 49 2b 6c 24 18 41 0f 98 c7 48 c1 ed
RSP: 0018:ffffc900001ef8c8 EFLAGS: 00000046
RAX: 1ffff11020e9e745 RBX: 000000252b008774 RCX: dffffc0000000000
RDX: dffffc0000000000 RSI: ffff88801caa0080 RDI: ffff8881074f3a28
RBP: 0000000000000000 R08: ffffffff8fa38a37 R09: 1ffffffff1f47146
R10: dffffc0000000000 R11: fffffbfff1f47147 R12: ffff8881074f3a10
R13: ffff88801caa0080 R14: ffff888026432418 R15: ffff8881074f3a10
FS:  0000000000000000(0000) GS:ffff8880b861b000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555588fc15c8 CR3: 000000000df36000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 put_prev_entity+0x6a/0x230
 pick_next_task_fair+0x942/0xba0
 __pick_next_task+0xe4/0x450
 __schedule+0x7a4/0x4cc0
 schedule+0x165/0x360
 worker_thread+0xa82/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>
