INFO: task kworker/u9:4:239 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u9:4    state:D stack:22024 pid:239   tgid:239   ppid:2      task_flags:0x4208060 flags:0x00080000
Workqueue: writeback wb_workfn (flush-7:2)
Call Trace:
 <TASK>
 __schedule+0x15dd/0x52d0
 schedule+0x164/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7fe/0x1300
 jfs_commit_inode+0x1ca/0x530
 jfs_write_inode+0x145/0x220
 __writeback_single_inode+0x75a/0x11a0
 writeback_sb_inodes+0x992/0x1a20
 wb_writeback+0x456/0xb70
 wb_workfn+0x414/0xf50
 process_scheduled_works+0xb6e/0x18c0
 worker_thread+0xa53/0xfc0
 kthread+0x388/0x470
 ret_from_fork+0x51e/0xb90
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task syz.8.205:7476 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.205       state:D stack:28800 pid:7476  tgid:7475  ppid:7275   task_flags:0x400040 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x15dd/0x52d0
 schedule+0x164/0x360
 wb_wait_for_completion+0x3e8/0x790
 sync_inodes_sb+0x1de/0xbd0
 __iterate_supers+0x13d/0x290
 __ia32_sys_sync+0xa0/0x120
 do_syscall_64+0x14d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9da279c819
RSP: 002b:00007f9da363a028 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2
RAX: ffffffffffffffda RBX: 00007f9da2a15fa0 RCX: 00007f9da279c819
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007f9da2a15fa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9da2a16038 R14: 00007f9da2a15fa0 R15: 00007ffdad87e038
 </TASK>
INFO: task syz.8.205:7477 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.205       state:D stack:27104 pid:7477  tgid:7475  ppid:7275   task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x15dd/0x52d0
 schedule+0x164/0x360
 schedule_preempt_disabled+0x13/0x30
 rwsem_down_write_slowpath+0x899/0x1040
 down_write+0x1bc/0x200
 sync_inodes_sb+0x1c2/0xbd0
 __iterate_supers+0x13d/0x290
 __ia32_sys_sync+0xa0/0x120
 do_syscall_64+0x14d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9da279c819
RSP: 002b:00007f9da3619028 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2
RAX: ffffffffffffffda RBX: 00007f9da2a16090 RCX: 00007f9da279c819
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007f9da2a16090 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9da2a16128 R14: 00007f9da2a16090 R15: 00007ffdad87e038
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/35:
 #0: ffffffff8e75e620 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
3 locks held by kworker/u9:4/239:
 #0: ffff888162a97948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0xa52/0x18c0
 #1: ffffc90003667c40 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0xa8d/0x18c0
 #2: ffff8881204641e0 (&jfs_ip->commit_mutex){+.+.}-{4:4}, at: jfs_commit_inode+0x1ca/0x530
1 lock held by udevd/5260:
2 locks held by getty/5639:
 #0: ffff8881139d70a0 (&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
2 locks held by syz.8.205/7476:
 #0: ffff888103ad60e0 (&type->s_umount_key#64){++++}-{4:4}, at: super_lock+0x2d6/0x3d0
 #1: ffff88810a876820 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x1c2/0xbd0
2 locks held by syz.8.205/7477:
 #0: ffff888103ad60e0 (&type->s_umount_key#64){++++}-{4:4}, at: super_lock+0x2d6/0x3d0
 #1: ffff88810a876820 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x1c2/0xbd0
4 locks held by syz.2.324/8484:
2 locks held by syz.7.394/9310:
 #0: ffff888103ad60e0 (&type->s_umount_key#64){++++}-{4:4}, at: super_lock+0x2d6/0x3d0
 #1: ffff88810a876820 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x1c2/0xbd0
2 locks held by syz.4.396/9340:
 #0: ffff888103ad60e0 (&type->s_umount_key#64){++++}-{4:4}, at: super_lock+0x2d6/0x3d0
 #1: ffff88810a876820 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x1c2/0xbd0
2 locks held by syz.2.626/11287:
 #0: ffff888103ad60e0 (&type->s_umount_key#64){++++}-{4:4}, at: super_lock+0x2d6/0x3d0
 #1: ffff88810a876820 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x1c2/0xbd0
2 locks held by syz.1.633/11339:
 #0: ffff888103ad60e0 (&type->s_umount_key#64){++++}-{4:4}, at: super_lock+0x2d6/0x3d0
 #1: ffff88810a876820 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x1c2/0xbd0
1 lock held by syz-executor/11559:
 #0: ffffffff8e7648b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x38d/0x770
1 lock held by syz-executor/11896:

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

NMI backtrace for cpu 1
CPU: 1 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+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: 8484 Comm: syz.2.324 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:__sanitizer_cov_trace_pc+0x8/0x70
Code: 8b 3d e4 ca 55 0c 48 89 de 5b e9 03 d8 5d 00 cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 04 24 <65> 48 8b 0d 08 4b 56 11 65 8b 15 29 4b 56 11 81 e2 00 01 ff 00 74
RSP: 0018:ffffc900077bf280 EFLAGS: 00000246
RAX: ffffffff835aa4d6 RBX: 0000000000000004 RCX: 0000000000080000
RDX: ffffc90008d22000 RSI: 000000000007ffff RDI: 0000000000080000
RBP: ffff888111d1b000 R08: 00000000000001ff R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000
R13: 1ffff110223a3600 R14: 0000000000000000 R15: 1ffff110223a3602
FS:  00007f9dcc7866c0(0000) GS:ffff88818de62000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f71b81e92f8 CR3: 000000011ec90000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 dtSplitRoot+0x7a6/0x16c0
 dtInsert+0xf19/0x5f10
 jfs_create+0x75b/0xb10
 path_openat+0x1395/0x3860
 do_file_open+0x23e/0x4a0
 do_sys_openat2+0x113/0x200
 __x64_sys_creat+0x8f/0xc0
 do_syscall_64+0x14d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9dcb99c819
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:00007f9dcc786028 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f9dcbc15fa0 RCX: 00007f9dcb99c819
RDX: 0000000000000000 RSI: 0000000000000098 RDI: 0000200000000580
RBP: 00007f9dcba32c91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9dcbc16038 R14: 00007f9dcbc15fa0 R15: 00007fffdcfd8768
 </TASK>
