INFO: task kworker/u10:3:64 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u10:3   state:D stack:22208 pid:64    tgid:64    ppid:2      task_flags:0x4208060 flags:0x00080000
Workqueue: writeback wb_workfn (flush-7:5)
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
 __writeback_inodes_wb+0x111/0x240
 wb_writeback+0x46a/0xb70
 wb_workfn+0xb4c/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.3.325:9010 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.325       state:D stack:27104 pid:9010  tgid:9007  ppid:8660   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_nested+0x1c6/0x210
 filename_create+0x200/0x370
 filename_mkdirat+0xd2/0x510
 __se_sys_mkdirat+0x35/0x150
 do_syscall_64+0x14d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f606c19b687
RSP: 002b:00007f606d06fe58 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007f606d06fee0 RCX: 00007f606c19b687
RDX: 00000000000001ff RSI: 0000200000000340 RDI: 00000000ffffff9c
RBP: 0000200000000080 R08: 0000200000000140 R09: 0000000000000000
R10: 0000200000000080 R11: 0000000000000246 R12: 0000200000000340
R13: 00007f606d06fea0 R14: 0000000000000000 R15: 0000000000000000
 </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
4 locks held by kworker/u10:3/64:
 #0: ffff8881622ae148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0xa52/0x18c0
 #1: ffffc9000176fc40 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0xa8d/0x18c0
 #2: ffff8881b11700e0 (&type->s_umount_key#66){++++}-{4:4}, at: super_trylock_shared+0x20/0xf0
 #3: ffff8881bf758af0 (&jfs_ip->commit_mutex){+.+.}-{4:4}, at: jfs_commit_inode+0x1ca/0x530
4 locks held by kworker/u9:2/816:
 #0: ffff8881622ae148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0xa52/0x18c0
 #1: ffffc90004a27c40 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0xa8d/0x18c0
 #2: ffff888171fe20e0 (&type->s_umount_key#66){++++}-{4:4}, at: super_trylock_shared+0x20/0xf0
 #3: ffff8881bf4c01c8 (&jfs_ip->commit_mutex){+.+.}-{4:4}, at: jfs_commit_inode+0x1ca/0x530
2 locks held by getty/5636:
 #0: ffff8881790ca0a0 (&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
4 locks held by syz.5.294/8533:
2 locks held by syz.3.325/9010:
 #0: ffff888171fe2420 (sb_writers#21){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90
 #1: ffff8881bf4c0578 (&type->i_mutex_dir_key#14/1){+.+.}-{4:4}, at: filename_create+0x200/0x370
4 locks held by syz.3.325/9029:
2 locks held by syz.0.527/11114:
 #0: ffff8881b11700e0 (&type->s_umount_key#66){++++}-{4:4}, at: super_lock+0x2d6/0x3d0
 #1: ffff88816ca26820 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x1c2/0xbd0
2 locks held by syz.0.527/11150:
 #0: ffff8881b11700e0 (&type->s_umount_key#66){++++}-{4:4}, at: super_lock+0x2d6/0x3d0
 #1: ffff88816ca26820 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x1c2/0xbd0
2 locks held by syz.0.527/11151:
 #0: ffff8881b11700e0 (&type->s_umount_key#66){++++}-{4:4}, at: super_lock+0x2d6/0x3d0
 #1: ffff88816ca26820 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x1c2/0xbd0
2 locks held by syz.3.688/12322:
2 locks held by syz.6.689/12323:
4 locks held by rm/12338:

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

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: 12339 Comm: rm 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:alloc_fd+0x47e/0x6c0
Code: 4d 8d 7c 24 18 4d 89 fe 49 c1 ee 03 43 80 3c 2e 00 74 08 4c 89 ff e8 41 3c e5 ff 4c 89 7c 24 18 4d 8b 7c 24 18 89 d8 c1 e8 06 <49> 8d 3c c7 be 08 00 00 00 e8 c4 3e e5 ff 49 0f ab 1f 49 83 c4 10
RSP: 0018:ffffc90004b0fd28 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000
RDX: ffff888169991d40 RSI: 0000000000080000 RDI: 0000000000000000
RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52000961f94 R12: ffff8881026b5c60
R13: dffffc0000000000 R14: 1ffff110204d6b8f R15: ffff8881026b5d10
FS:  0000000000000000(0000) GS:ffff88818de62000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007effc49bbba8 CR3: 00000001117b4000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 do_sys_openat2+0xec/0x200
 __x64_sys_openat+0x138/0x170
 do_syscall_64+0x14d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7effc4c6aa46
Code: 10 00 00 00 44 8b 54 24 e0 48 89 44 24 c0 48 8d 44 24 d0 48 89 44 24 c8 44 89 c2 4c 89 ce bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 0c f7 d8 89 05 0a 48 01 00 48 83 c8 ff c3 31
RSP: 002b:00007ffd85efdef8 EFLAGS: 00000287 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007ffd85efe158 RCX: 00007effc4c6aa46
RDX: 0000000000080000 RSI: 00007ffd85efdf70 RDI: 00000000ffffff9c
RBP: 00007ffd85efdf60 R08: 0000000000080000 R09: 00007ffd85efdf70
R10: 0000000000000000 R11: 0000000000000287 R12: 00007ffd85efdf70
R13: 0000000000000007 R14: 00007ffd85efe13f R15: 00000000ffffffff
 </TASK>
