INFO: task syz.5.110:6794 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.5.110       state:D stack:22656 pid:6794  tgid:6793  ppid:6515   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:0x7f691e59c799
RSP: 002b:00007f691f3f1028 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f691e815fa0 RCX: 00007f691e59c799
RDX: 0000000000000000 RSI: 000000000000000e RDI: 000000000000000d
RBP: 00007f691e632c99 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000020fffe82 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f691e816038 R14: 00007f691e815fa0 R15: 00007ffd7ce863d8
 </TASK>

Showing all locks held in the system:
1 lock held by ksoftirqd/1/23:
 #0: ffff88823c63ade0 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x31/0x150
1 lock held by khungtaskd/34:
 #0: ffffffff8e75e520 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
4 locks held by kworker/u10:5/1095:
 #0: ffff8881626c6948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0xa52/0x18c0
 #1: ffffc9000632fc40 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0xa8d/0x18c0
 #2: ffff88811856c0e0 (&type->s_umount_key#74){++++}-{4:4}, at: super_trylock_shared+0x20/0xf0
 #3: ffff888119cde680 (&jfs_ip->commit_mutex){+.+.}-{4:4}, at: jfs_commit_inode+0x1ca/0x530
2 locks held by getty/5634:
 #0: ffff8881142550a0 (&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
6 locks held by udevd/5824:
2 locks held by syz-executor/6684:
4 locks held by syz.5.110/6794:
 #0: ffff88811856c420 (sb_writers#20){.+.+}-{0:0}, at: direct_splice_actor+0x49/0x160
 #1: ffff888119cdea30 (&sb->s_type->i_mutex_key#31){+.+.}-{4:4}, at: generic_file_write_iter+0x11e/0x680
 #2: ffff888119cde5f0 (&jfs_ip->rdwrlock#2){++++}-{4:4}, at: jfs_get_block+0x153/0xad0
 #3: ffff888119cde680 (&jfs_ip->commit_mutex){+.+.}-{4:4}, at: extAlloc+0x130/0x1020
2 locks held by syz.0.355/8642:
 #0: ffff88811856c0e0 (&type->s_umount_key#74){++++}-{4:4}, at: super_lock+0x2d6/0x3d0
 #1: ffff8881096c2820 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x1c2/0xbd0
2 locks held by syz.0.355/8658:
 #0: ffff88811856c0e0 (&type->s_umount_key#74){++++}-{4:4}, at: super_lock+0x2d6/0x3d0
 #1: ffff8881096c2820 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x1c2/0xbd0
1 lock held by syz-executor/9987:
 #0: ffffffff8e7647b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x38d/0x770
1 lock held by syz.4.667/10657:

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

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+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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 10657 Comm: syz.4.667 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:unwind_next_frame+0x513/0x23c0
Code: c1 e8 3f 48 01 c8 48 83 e0 fe 4c 8d 3c 45 00 00 00 00 49 01 ef 4c 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 0f b6 04 08 <84> c0 75 27 49 63 07 4c 01 f8 49 8d 4f 04 4c 39 e0 48 0f 46 e9 49
RSP: 0018:ffffc9000718f0d8 EFLAGS: 00000a02
RAX: 0000000000000000 RBX: ffffffff90330ff4 RCX: dffffc0000000000
RDX: ffffffff90330fbc RSI: ffffffff90b3b6e8 RDI: ffffffff8c27c8a0
RBP: ffffffff90330fbc R08: 000000000000000f R09: ffffffff8e75e520
R10: ffffc9000718f1f8 R11: ffffffff81b0c260 R12: ffffffff822c9e08
R13: ffffffff90330fbc R14: ffffc9000718f1a8 R15: ffffffff90330fd8
FS:  00007f0e933f66c0(0000) GS:ffff88818de5d000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0e8c1bd000 CR3: 0000000115770000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 arch_stack_walk+0x11b/0x150
 stack_trace_save+0xa9/0x100
 save_stack+0x122/0x230
 __set_page_owner+0x8d/0x4c0
 post_alloc_hook+0x231/0x280
 get_page_from_freelist+0x24dc/0x2580
 __alloc_frozen_pages_noprof+0x18d/0x380
 alloc_pages_mpol+0x232/0x4a0
 folio_alloc_mpol_noprof+0x39/0x70
 shmem_alloc_and_add_folio+0x445/0xf80
 shmem_get_folio_gfp+0x5a9/0x1670
 shmem_write_begin+0x16c/0x330
 generic_perform_write+0x2e2/0x8f0
 shmem_file_write_iter+0xf8/0x120
 vfs_write+0x61d/0xb90
 ksys_write+0x150/0x270
 do_syscall_64+0x14d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f0e9515cfce
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 <c3> 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007f0e933f5da8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f0e933f66c0 RCX: 00007f0e9515cfce
RDX: 00000000013bd7ef RSI: 00007f0e8ae00000 RDI: 0000000000000004
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 00007f0e933f5ee0 R14: 00007f0e933f5ea0 R15: 00007f0e8ae00000
 </TASK>
