INFO: task jfsCommit:127 blocked in I/O wait for more than 143 seconds.
      Tainted: G             L      syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:jfsCommit       state:D stack:26504 pid:127   tgid:127   ppid:2      task_flags:0x200040 flags:0x00080000
Call Trace:
 <TASK>
 __schedule+0x17db/0x58f0
 schedule+0x164/0x2b0
 io_schedule+0x7f/0xd0
 folio_wait_bit_common+0x836/0xbc0
 txUnlock+0x242/0xde0
 jfs_lazycommit+0x59f/0xac0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task kworker/u9:25:13563 blocked in I/O wait for more than 143 seconds.
      Tainted: G             L      syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u9:25   state:D stack:22568 pid:13563 tgid:13563 ppid:2      task_flags:0x4208060 flags:0x00080000
Workqueue: writeback wb_workfn (flush-7:1)
Call Trace:
 <TASK>
 __schedule+0x17db/0x58f0
 schedule+0x164/0x2b0
 io_schedule+0x7f/0xd0
 folio_wait_bit_common+0x836/0xbc0
 writeback_iter+0x957/0x1320
 metapage_writepages+0x100/0x1a0
 do_writepages+0x338/0x560
 __writeback_single_inode+0x136/0x1220
 writeback_sb_inodes+0x9de/0x1b00
 __writeback_inodes_wb+0x114/0x240
 wb_writeback+0x42f/0xad0
 wb_workfn+0x980/0x10f0
 process_scheduled_works+0xc3d/0x1630
 worker_thread+0xa47/0xfb0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task syz-executor:13568 blocked in I/O wait for more than 143 seconds.
      Tainted: G             L      syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:22440 pid:13568 tgid:13568 ppid:1      task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17db/0x58f0
 schedule+0x164/0x2b0
 io_schedule+0x7f/0xd0
 folio_wait_bit_common+0x836/0xbc0
 release_metapage+0x101/0xb50
 __get_metapage+0xa5d/0xef0
 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:0x7f9b8459d2f7
RSP: 002b:00007ffd1e225cd8 EFLAGS: 00000207 ORIG_RAX: 0000000000000107
RAX: ffffffffffffffda RBX: 0000000000000065 RCX: 00007f9b8459d2f7
RDX: 0000000000000200 RSI: 00007ffd1e226e80 RDI: 00000000ffffff9c
RBP: 00007f9b84634ccb R08: 0000000000008560 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000207 R12: 00007ffd1e226e80
R13: 00007f9b84634ccb R14: 000000000005bcf7 R15: 00007ffd1e229040
 </TASK>

Showing all locks held in the system:
locks held by khungtaskd/37: 1, last CPU#1:
 #0: ffffffff8fd5c8e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
locks held by getty/5420: 2, on CPU#1:
 #0: ffff8881746490a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900034932e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360
locks held by kworker/0:11/10914: 2, last CPU#0:
 #0: ffff88810006b140 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90004e4fc40 ((work_completion)(&(&adapter->watchdog_task)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
locks held by kworker/0:15/12584: 6, on CPU#0:
 #0: ffff8881007f5d40 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90006a2fc40 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffff88816b4141d8 (&dev->mutex){....}-{4:4}, at: hub_event+0x184/0x4d30
 #3: ffff88810efe01d8 (&dev->mutex){....}-{4:4}, at: __device_attach+0x88/0x450
 #4: ffff88810b38a1a0 (&dev->mutex){....}-{4:4}, at: __device_attach+0x88/0x450
 #5: ffffffff8fbf7dc8 (umhelper_sem){++++}-{4:4}, at: usermodehelper_read_trylock+0xfc/0x2c0
locks held by kworker/u9:25/13563: 3, on CPU#0:
 #0: ffff888162697140 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc9000911fc40 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffff88816d2d40e8 (&type->s_umount_key#78){++++}-{4:4}, at: super_trylock_shared+0x23/0xf0
locks held by syz-executor/13568: 5, on CPU#1:
 #0: ffff88816d2d4460 (sb_writers#22){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90
 #1: ffff8881a5191fe0 (&type->i_mutex_dir_key#17/1){+.+.}-{4:4}, at: filename_rmdir+0x1cd/0x520
 #2: ffff8881b9a59708 (&type->i_mutex_dir_key#17){++++}-{4:4}, at: vfs_rmdir+0xf8/0x6a0
 #3: ffff8881a5191c40 (&jfs_ip->commit_mutex){+.+.}-{4:4}, at: jfs_rmdir+0x24a/0x850
 #4: ffff8881b9a59368 (&jfs_ip->commit_mutex/1){+.+.}-{4:4}, at: jfs_rmdir+0x268/0x850
locks held by syz.0.2714/19577: 3, last CPU#0:
 #0: ffff8881154fd708 (vm_lock){++++}-{0:0}, at: lock_vma_under_rcu+0x1d1/0x500
 #1: ffff888172ef0558 (sb_pagefaults){.+.+}-{0:0}, at: ext4_page_mkwrite+0x202/0x1140
 #2: ffff8881b9804d98 (mapping.invalidate_lock#2){++++}-{4:4}, at: ext4_page_mkwrite+0x237/0x1140

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

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 37 Comm: khungtaskd Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
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+0xfd7/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: 19558 Comm: syz.6.2708 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:__rdmsr_safe_on_cpu+0x38/0xe0
Code: 48 89 fb 49 bd 00 00 00 00 00 fc ff df e8 70 98 a8 fc 48 89 d8 48 c1 e8 03 42 0f b6 04 28 84 c0 75 66 44 8b 23 44 89 e1 0f 32 <31> ed 49 89 c7 49 89 d6 66 90 e8 49 98 a8 fc 49 c1 e6 20 4d 09 fe
RSP: 0000:ffffc90008be79b8 EFLAGS: 00000046
RAX: 0000000000000000 RBX: ffffc90008be7ae0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8c6de860 RDI: ffffc90008be7ae0
RBP: 0000000000000001 R08: ffffffff917a727f R09: 1ffffffff22f4e4f
R10: dffffc0000000000 R11: ffffffff851f8900 R12: 0000000000000000
R13: dffffc0000000000 R14: ffffffff851f8900 R15: ffffc90008be7ae0
FS:  00007f85cf0836c0(0000) GS:ffff88818c4bc000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33824000 CR3: 0000000116080000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 generic_exec_single+0x192/0x3c0
 smp_call_function_single_async+0x7d/0x110
 rdmsrq_safe_on_cpu+0x163/0x240
 msr_read+0x13a/0x230
 vfs_read+0x213/0xa80
 ksys_read+0x150/0x270
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f85ce19e1d9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f85cf083028 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 00007f85ce426090 RCX: 00007f85ce19e1d9
RDX: 00000000fffffddb RSI: 0000200000019640 RDI: 0000000000000003
RBP: 00007f85ce235888 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f85ce426128 R14: 00007f85ce426090 R15: 00007ffe8a6dcab8
 </TASK>
