INFO: task syz.8.514:7953 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.8.514       state:D stack:23264 pid:7953  tgid:7952  ppid:7754   task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x15dd/0x52d0
 schedule+0x164/0x360
 io_schedule+0x7f/0xd0
 lock_metapage+0x1ff/0x400
 __get_metapage+0x49a/0xde0
 xtSplitPage+0x281/0x2150
 xtSplitUp+0x33c/0x1fc0
 xtInsert+0x452/0xf20
 extAlloc+0xad9/0x1020
 jfs_get_block+0x358/0xad0
 __blockdev_direct_IO+0x15d7/0x32f0
 jfs_direct_IO+0x119/0x220
 generic_file_direct_write+0x1db/0x3e0
 __generic_file_write_iter+0x11d/0x230
 generic_file_write_iter+0x14a/0x680
 iter_file_splice_write+0x9a1/0x10f0
 direct_splice_actor+0x101/0x160
 splice_direct_to_actor+0x53a/0xc70
 do_splice_direct+0x195/0x290
 do_sendfile+0x535/0x7d0
 __se_sys_sendfile64+0x144/0x1a0
 do_syscall_64+0x14d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f754a19c799
RSP: 002b:00007f754b12c028 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f754a415fa0 RCX: 00007f754a19c799
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004
RBP: 00007f754a232c99 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000020fffe82 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f754a416038 R14: 00007f754a415fa0 R15: 00007ffd823577b8
 </TASK>

Showing all locks held in the system:
4 locks held by kworker/u10:0/27:
 #0: ffff8881622ef148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc90000a27c40 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffff8881027b20e0 (&type->s_umount_key#70){++++}-{4:4}, at: super_trylock_shared+0x20/0xf0
 #3: ffff8881183a8af0 (&jfs_ip->commit_mutex){+.+.}-{4:4}, at: jfs_commit_inode+0x1ca/0x530
1 lock held by khungtaskd/34:
 #0: ffffffff8e75e3e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
7 locks held by kworker/u10:1/36:
 #0: ffff88823c63ade0 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x31/0x150
 #1: ffff88823c624588 (psi_seq){-.-.}-{0:0}, at: psi_task_switch+0x53/0x880
 #2: ffffffff8e75e3e0 (rcu_read_lock){....}-{1:3}, at: unwind_next_frame+0xa5/0x23c0
 #3: ffff8881093d8a90 (&p->pi_lock){-.-.}-{2:2}, at: try_to_wake_up+0x66/0x1390
 #4: ffff88823c63ade0 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x31/0x150
 #5: ffff88823c624588 (psi_seq){-.-.}-{0:0}, at: psi_task_change+0xd4/0x340
 #6: ffffffff8e75e3e0 (rcu_read_lock){....}-{1:3}, at: unwind_next_frame+0xa5/0x23c0
2 locks held by getty/5629:
 #0: ffff8881105540a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc9000356e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45c/0x13c0
4 locks held by syz.8.514/7953:
 #0: ffff8881027b2420 (sb_writers#18){.+.+}-{0:0}, at: direct_splice_actor+0x49/0x160
 #1: ffff8881183a8ea0 (&sb->s_type->i_mutex_key#31){+.+.}-{4:4}, at: generic_file_write_iter+0x11e/0x680
 #2: ffff8881183a8a60 (&jfs_ip->rdwrlock#2){++++}-{4:4}, at: jfs_get_block+0x153/0xad0
 #3: ffff8881183a8af0 (&jfs_ip->commit_mutex){+.+.}-{4:4}, at: extAlloc+0x130/0x1020
1 lock held by syz.8.1184/10830:
 #0: ffff8881027b20e0 (&type->s_umount_key#70){++++}-{4:4}, at: super_lock+0x289/0x3d0
2 locks held by syz.7.1607/12934:
2 locks held by syz.0.1609/12966:

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

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+0xe8/0x150
 nmi_cpu_backtrace+0x274/0x2d0
 nmi_trigger_cpumask_backtrace+0x17a/0x300
 sys_info+0x135/0x170
 watchdog+0xfd9/0x1030
 kthread+0x388/0x470
 ret_from_fork+0x51e/0xb90
 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: 59 Comm: kworker/u10:3 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:kasan_check_range+0xd/0x2c0
Code: 19 4b f8 fe 90 0f 0b cc cc cc cc cc cc 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> b0 01 48 85 f6 0f 84 ae 01 00 00 4c 8d 04 37 49 39 f8 0f 82 36
RSP: 0018:ffffc9000103f710 EFLAGS: 00000046
RAX: ffffc9000103f7a0 RBX: 0000000000000010 RCX: ffffffff8543dae4
RDX: 0000000000000001 RSI: 0000000000000010 RDI: ffffc9000103f910
RBP: 0000000000000000 R08: ffffc9000103f7df R09: 0000000000000000
R10: ffffc9000103f7a0 R11: fffff52000207efc R12: ffffc9000103f8e0
R13: ffffc9000103f7a0 R14: ffffc9000103f910 R15: ffff88823c636d10
FS:  0000000000000000(0000) GS:ffff8882a9463000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f55fc8dd0d0 CR3: 000000016ed24000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 __asan_memset+0x22/0x50
 crng_fast_key_erasure+0x154/0x270
 crng_make_state+0x1ce/0x600
 _get_random_bytes+0xff/0x260
 nsim_dev_trap_report_work+0x38d/0xb80
 process_scheduled_works+0xb02/0x1830
 worker_thread+0xa50/0xfc0
 kthread+0x388/0x470
 ret_from_fork+0x51e/0xb90
 ret_from_fork_asm+0x1a/0x30
 </TASK>
