INFO: task jfsCommit:124 blocked in I/O wait for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:jfsCommit       state:D stack:27656 pid:124   tgid:124   ppid:2      task_flags:0x200040 flags:0x00080000
Call Trace:
 <TASK>
 __schedule+0x1b2a/0x59a0
 schedule+0x164/0x2b0
 io_schedule+0x7f/0xd0
 lock_metapage+0x1fe/0x400
 __get_metapage+0x47a/0xdf0
 diIAGRead+0xce/0x140
 diFree+0x9dc/0x2d00
 jfs_evict_inode+0x324/0x430
 evict+0x624/0xb50
 jfs_lazycommit+0x44c/0xac0
 kthread+0x388/0x470
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task syz.8.1048:15799 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.1048      state:D stack:24328 pid:15799 tgid:15789 ppid:14861  task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x1b2a/0x59a0
 schedule+0x164/0x2b0
 do_uevent+0x2c3/0x570
 __dlm_new_lockspace+0x17d1/0x1cd0
 device_create_lockspace+0xc7/0x350
 device_write+0x872/0xed0
 vfs_write+0x296/0xba0
 ksys_write+0x150/0x270
 do_syscall_64+0x166/0x510
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f38a879e0d9
RSP: 002b:00007f38a9682028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f38a8a26090 RCX: 00007f38a879e0d9
RDX: 0000000000000070 RSI: 0000200000001380 RDI: 0000000000000008
RBP: 00007f38a8835024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f38a8a26128 R14: 00007f38a8a26090 R15: 00007ffd128b6a98
 </TASK>

Showing all locks held in the system:
locks held by pr/ttyS0/16: 2, last CPU#1:
 #0: ffffffff8ea363f8 (console_srcu){....}-{0:0}, at: console_srcu_read_lock+0x30/0x60
 #1: ffffffff9aaffc18 (&port_lock_key){-.-.}-{3:3}, at: univ8250_console_device_lock+0x67/0xc0
locks held by khungtaskd/35: 1, last CPU#0:
 #0: ffffffff8eb5c820 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
locks held by jfsCommit/124: 2, on CPU#1:
 #0: ffff8881173d8910 (&(imap->im_aglock[index])){+.+.}-{4:4}, at: diFree+0x2ee/0x2d00
 #1: ffff88811c4c6278 (&jfs_ip->rdwrlock/1){.+.+}-{4:4}, at: diFree+0x30c/0x2d00
locks held by dhcpcd/5338: 1, on CPU#0:
 #0: ffffffff9003cf40 (rtnl_mutex){+.+.}-{4:4}, at: inet6_rtm_deladdr+0x249/0x390
locks held by getty/5420: 2, on CPU#1:
 #0: ffff888116db70a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900034732e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360
locks held by syz.8.1048/15799: 1, on CPU#1:
 #0: ffffffff9a88dd60 (&ls_lock){+.+.}-{4:4}, at: __dlm_new_lockspace+0xa8/0x1cd0
locks held by dlm_recoverd/15807: 1, on CPU#0:
 #0: ffff8881ad688a18 (&ls->ls_in_recovery){+.+.}-{4:4}, at: dlm_recoverd+0xbc/0x2a00
locks held by syz-executor/18317: 2, on CPU#1:
 #0: ffff888119cae0e8 (&type->s_umount_key#82){++++}-{4:4}, at: deactivate_super+0xac/0xe0
 #1: ffffffff8f006b40 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xad/0x530
locks held by syz-executor/19886: 1, on CPU#0:
 #0: ffffffff8eb62be8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x38d/0x770
locks held by syz-executor/19917: 2, on CPU#0:
 #0: ffff888169e980e8 (&type->s_umount_key#82){++++}-{4:4}, at: deactivate_super+0xac/0xe0
 #1: ffffffff8f006b40 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xad/0x530
locks held by syz-executor/20276: 7, last CPU#1:
 #0: ffff888118170460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0
 #1: ffff888116a2f080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540
 #2: ffff88810b76a878 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540
 #3: ffffffff8f8b4d60 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd6/0x370
 #4: ffff8881bf38b128 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xb9/0x880
 #5: ffff8881b72ed258 (&devlink->lock_key#48){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x170
 #6: ffffffff9003cf40 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0x173/0x800

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

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/0x380
 sys_info+0x135/0x170
 watchdog+0xfd7/0x1030
 kthread+0x388/0x470
 ret_from_fork+0x514/0xb70
 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: 16 Comm: pr/ttyS0 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:io_serial_out+0x7c/0xc0
Code: 4e 5b 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 a7 c9 fc 41 03 2e 89 d8 89 ea ee <5b> 41 5c 41 5e 41 5f 5d e9 c7 e0 71 06 cc 44 89 f9 80 e1 07 38 c1
RSP: 0018:ffffc90000157900 EFLAGS: 00000002
RAX: 0000000000000065 RBX: 0000000000000065 RCX: 0000000000000000
RDX: 00000000000003f8 RSI: 0000000000000000 RDI: 0000000000000020
RBP: 00000000000003f8 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: ffffffff856c4710 R12: dffffc0000000000
R13: 0000000000000065 R14: ffffffff9aaffc40 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8882a8f0b000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffcfae43ff0 CR3: 00000001a2b24000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 __serial8250_console_fifo_write+0x1e6/0x3e0
 serial8250_console_write+0xaa1/0x1200
 nbcon_emit_next_record+0xef5/0x1a90
 nbcon_kthread_func+0x679/0x880
 kthread+0x388/0x470
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
