INFO: task syz-executor:5592 blocked in I/O wait for more than 143 seconds.
      Tainted: G             L     Y syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:21824 pid:5592  tgid:5592  ppid:1      task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17dd/0x5820
 schedule+0x164/0x2b0
 io_schedule+0x7f/0xd0
 folio_wait_bit_common+0x85e/0xc40
 release_metapage+0xfc/0xb50
 __get_metapage+0xa53/0xee0
 diWrite+0x401/0x1f60
 txCommit+0x83a/0x54a0
 jfs_rmdir+0x56a/0x850
 vfs_rmdir+0x3e6/0x6a0
 filename_rmdir+0x292/0x520
 __se_sys_unlinkat+0x71/0x1a0
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f148219e677
RSP: 002b:00007ffc4b46d408 EFLAGS: 00000207 ORIG_RAX: 0000000000000107
RAX: ffffffffffffffda RBX: 0000000000000065 RCX: 00007f148219e677
RDX: 0000000000000200 RSI: 00007ffc4b46e5b0 RDI: 00000000ffffff9c
RBP: 00007f1482235f63 R08: 0000000000008560 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000207 R12: 00007ffc4b46e5b0
R13: 00007f1482235f63 R14: 000000000001fed2 R15: 00007ffc4b470770
 </TASK>

Showing all locks held in the system:
locks held by kworker/0:1/10: 4, on CPU#0:
 #0: ffff88810006ad48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc900000f7c40 ((work_completion)(&helper->damage_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffffc900000f7770 (crtc_ww_class_acquire){+.+.}-{0:0}, at: drm_atomic_helper_dirtyfb+0x106/0xfd0
 #3: ffffc900000f7798 (crtc_ww_class_mutex){+.+.}-{4:4}, at: drm_atomic_helper_dirtyfb+0x106/0xfd0
locks held by kworker/u9:0/26: 3, on CPU#1:
 #0: ffff888168849148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90000a17c40 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffff88811ed780e8 (&type->s_umount_key#66){++++}-{4:4}, at: super_trylock_shared+0x23/0xf0
locks held by khungtaskd/36: 1, last CPU#0:
 #0: ffffffff8fd5a360 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
locks held by getty/5411: 2, on CPU#1:
 #0: ffff88817c9010a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900034832e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360
locks held by sshd/5541: 4, last CPU#0:
 #0: ffff88810d6eee60 (sk_lock-AF_INET){+.+.}-{0:0}, at: tcp_sendmsg+0x21/0x50
 #1: ffffffff8fd5a360 (rcu_read_lock){....}-{1:3}, at: __ip_queue_xmit+0x65/0x1b10
 #2: ffffffff8fd5a360 (rcu_read_lock){....}-{1:3}, at: ip_output+0x5a/0x450
 #3: ffffffff8fd5a360 (rcu_read_lock){....}-{1:3}, at: ip_finish_output2+0x3de/0x10b0
locks held by syz-executor/5592: 5, on CPU#1:
 #0: ffff88811ed78460 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90
 #1: ffff88811b50a8b8 (&type->i_mutex_dir_key#11/1){+.+.}-{4:4}, at: filename_rmdir+0x1cd/0x520
 #2: ffff88811b50ba68 (&type->i_mutex_dir_key
#11){++++}-{4:4}, at: vfs_rmdir+0xf8/0x6a0
 #3: ffff88811b50a518 (&jfs_ip->commit_mutex){+.+.}-{4:4}, at: jfs_rmdir+0x24a/0x850
 #4: ffff88811b50b6c8 (&jfs_ip->commit_mutex/1){+.+.}-{4:4}, at: jfs_rmdir+0x268/0x850
locks held by syz-executor/9246: 1, last CPU#0:
 #0: ffff888178ed02e0 (&xt[i].mutex){+.+.}-{4:4}, at: xt_find_table_lock+0x55/0x400
locks held by syz.5.2194/12997: 1, on CPU#1:
 #0: ffffffff8fd609e8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2cb/0x760

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

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 36 Comm: khungtaskd Tainted: G             L     Y syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP, [Y]=FORCED_BIND
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+0x17d/0x390
 sys_info+0x135/0x170
 watchdog+0xfd2/0x1030
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 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: 35 Comm: pr/ttyS0 Tainted: G             L     Y syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP, [Y]=FORCED_BIND
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:io_serial_out+0x7c/0xc0
Code: fe 47 fc 44 89 f9 d3 e5 49 83 c6 40 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 bc 6b be fc 41 03 2e 89 d8 89 ea ee <5b> 41 5c 41 5e 41 5f 5d e9 47 ab 77 06 cc 44 89 f9 80 e1 07 38 c1
RSP: 0018:ffffc90000ab7900 EFLAGS: 00000002
RAX: 0000000000000068 RBX: 0000000000000068 RCX: 0000000000000000
RDX: 00000000000003f8 RSI: 0000000000000000 RDI: 0000000000000020
RBP: 00000000000003f8 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: ffffffff8580fe50 R12: dffffc0000000000
R13: 0000000000000068 R14: ffffffff9bd81e60 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff88818c48c000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdd6edf7078 CR3: 000000010ee24000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 __serial8250_console_fifo_write+0x1e6/0x3e0
 serial8250_console_write+0xa7e/0x1200
 nbcon_emit_next_record+0xef5/0x1a90
 nbcon_kthread_func+0x6d9/0x8d0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
