INFO: task syz.3.475:9068 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.475       state:D stack:21928 pid:9068  tgid:9067  ppid:6515   task_flags:0x400140 flags:0x00080003
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 io_schedule+0x80/0xd0
 txBegin+0x26e/0xb10
 jfs_commit_inode+0x1b3/0x530
 jfs_fsync+0x17e/0x1d0
 generic_file_write_iter+0x319/0x550
 iter_file_splice_write+0x975/0x10e0
 direct_splice_actor+0x101/0x160
 splice_direct_to_actor+0x5a8/0xcc0
 do_splice_direct+0x181/0x270
 do_sendfile+0x4da/0x7e0
 __se_sys_sendfile64+0x13e/0x190
 do_syscall_64+0xfa/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd70778ec29
RSP: 002b:00007fd708646038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007fd7079d5fa0 RCX: 00007fd70778ec29
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004
RBP: 00007fd707811e41 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000020fffe82 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd7079d6038 R14: 00007fd7079d5fa0 R15: 00007fff5b9a1898
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/34:
 #0: ffffffff8e33d320 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by kworker/u10:1/36:
 #0: ffff88813663a018 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140
 #1: ffffc900006afba0 ((reaper_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
2 locks held by getty/5677:
 #0: ffff88810ed340a0 (&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.3.475/9068:
 #0: ffff888022ace420 (sb_writers#12){.+.+}-{0:0}, at: direct_splice_actor+0x49/0x160
 #1: ffff88802add6a30 (&sb->s_type->i_mutex_key#20){+.+.}-{4:4}, at: jfs_fsync+0x95/0x1d0
1 lock held by syz.2.901/12847:
 #0: ffffffff8e342db8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730
3 locks held by syz.0.902/12856:
 #0: ffff8880114f20e0 (&type->s_umount_key#51/1){+.+.}-{4:4}, at: alloc_super+0x1bb/0x930
 #1: ffffffff8e1e3aa8 (wq_pool_mutex){+.+.}-{4:4}, at: __alloc_workqueue+0x9f0/0x1b80
 #2: ffff88804b03a018 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140

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

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+0xf60/0xfa0
 kthread+0x711/0x8a0
 ret_from_fork+0x4bc/0x870
 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: 36 Comm: kworker/u10:1 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: events_unbound nsim_dev_trap_report_work
RIP: 0010:raw_spin_rq_lock_nested+0x0/0x140
Code: 80 e1 07 80 c1 03 38 c1 7c 85 4c 89 ff e8 a8 64 95 00 e9 78 ff ff ff 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <0f> 1f 40 d6 55 41 57 41 56 41 55 41 54 53 50 89 f3 49 89 fe bf 01
RSP: 0018:ffffc900006af988 EFLAGS: 00000046
RAX: 0000000000000000 RBX: ffff8881a39fc000 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88813663a000
RBP: ffff888100033a00 R08: ffff888100033e77 R09: 1ffff110200067ce
R10: dffffc0000000000 R11: ffffed10200067cf R12: ffff88813663a000
R13: 0000000000000001 R14: dffffc0000000000 R15: ffff888100033a14
FS:  0000000000000000(0000) GS:ffff8881a39fc000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d2e8c7dea8 CR3: 00000000242e2000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 try_to_wake_up+0x635/0x12b0
 kick_pool+0x47d/0x640
 process_scheduled_works+0x7a1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x4bc/0x870
 ret_from_fork_asm+0x1a/0x30
 </TASK>
