INFO: task syz-executor:9184 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:21592 pid:9184  tgid:9184  ppid:1      task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x14ef/0x4fb0
 schedule+0x164/0x360
 io_schedule+0x7f/0xd0
 folio_wait_bit_common+0x6d8/0xbc0
 release_metapage+0x103/0xac0
 __get_metapage+0x9a3/0xde0
 diWrite+0x401/0x1f40
 txCommit+0x869/0x5410
 jfs_rmdir+0x577/0x860
 vfs_rmdir+0x515/0x660
 do_rmdir+0x278/0x470
 __x64_sys_unlinkat+0xc2/0xf0
 do_syscall_64+0xe2/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7faa26399dd7
RSP: 002b:00007ffdea161398 EFLAGS: 00000207 ORIG_RAX: 0000000000000107
RAX: ffffffffffffffda RBX: 0000000000000065 RCX: 00007faa26399dd7
RDX: 0000000000000200 RSI: 00007ffdea162540 RDI: 00000000ffffff9c
RBP: 00007faa2640471f R08: 0000000000020520 R09: 0000000000000001
R10: 00007faa265e4cc0 R11: 0000000000000207 R12: 00007ffdea162540
R13: 00007faa2640471f R14: 000000000001cad7 R15: 00007ffdea1657f0
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/35:
 #0: ffffffff8e35a360 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
3 locks held by kworker/u9:3/2004:
 #0: ffff888103680948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x9d4/0x17a0
 #1: ffffc9000b54fbc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0xa0f/0x17a0
 #2: ffff8881743cc0e0 (&type->s_umount_key#88){++++}-{4:4}, at: super_trylock_shared+0x20/0xf0
2 locks held by getty/5636:
 #0: ffff88817752e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc9000356b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45c/0x13c0
5 locks held by syz-executor/9184:
 #0: ffff8881743cc420 (sb_writers#26){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90
 #1: ffff8881acaaceb8 (&type->i_mutex_dir_key#21/1){+.+.}-{4:4}, at: do_rmdir+0x1c6/0x470
 #2: ffff8881acaaea30 (&type->i_mutex_dir_key#22){++++}-{4:4}, at: vfs_rmdir+0x109/0x660
 #3: ffff8881acaacb08 (&jfs_ip->commit_mutex){+.+.}-{4:4}, at: jfs_rmdir+0x24a/0x860
 #4: ffff8881acaae680 (&jfs_ip->commit_mutex/1){+.+.}-{4:4}, at: jfs_rmdir+0x268/0x860
2 locks held by syz.8.552/18515:
 #0: ffff8881743cc0e0 (&type->s_umount_key#88){++++}-{4:4}, at: super_lock+0x2d6/0x3d0
 #1: ffff88816b30f920 (&(log)->loglock){+.+.}-{4:4}, at: jfs_syncpt+0x25/0x90
3 locks held by syz.6.748/21600:

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

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 35 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+0xf90/0xfe0
 kthread+0x726/0x8b0
 ret_from_fork+0x51b/0xa40
 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: 21600 Comm: syz.6.748 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:__this_cpu_preempt_check+0x0/0x20
Code: 39 e7 8b e8 b2 be ae f5 e8 4d 1b ba f5 eb aa 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <f3> 0f 1e fa 48 89 fe 48 c7 c7 80 38 e7 8b e9 fd fe ff ff cc cc cc
RSP: 0018:ffffc900037673f0 EFLAGS: 00000082
RAX: 0000000000000001 RBX: 0000000000000000 RCX: 8b3011982a60f7ae
RDX: 00000000fef63d00 RSI: 0000000076398336 RDI: ffffffff8dd3931e
RBP: ffffffff821c836b R08: ffffffff821c836b R09: ffff88823fff83d8
R10: dffffc0000000000 R11: fffffbfff1f9ddef R12: 0000000000000002
R13: ffff88823fff83d8 R14: 0000000000000001 R15: 0000000000000046
FS:  00007fa5293426c0(0000) GS:ffff8882a9926000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f130d1ff000 CR3: 0000000114c88000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 lock_acquire+0x116/0x330
 seqcount_lockdep_reader_access+0x75/0xc0
 bad_range+0x8b/0x2c0
 get_page_from_freelist+0x24bb/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+0xe2/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa52835b58e
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:00007fa529341da8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fa5293426c0 RCX: 00007fa52835b58e
RDX: 0000000001000000 RSI: 00007fa51e000000 RDI: 0000000000000006
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006
R13: 00007fa529341ee0 R14: 00007fa529341ea0 R15: 00007fa51e000000
 </TASK>
