INFO: task syz.2.19:6511 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.19 state:D stack:24744 pid:6511 tgid:6510 ppid:6489 task_flags:0x400140 flags:0x00080003 Call Trace: context_switch kernel/sched/core.c:5263 [inline] __schedule+0x1836/0x4ed0 kernel/sched/core.c:6871 __schedule_loop kernel/sched/core.c:6953 [inline] schedule+0x165/0x360 kernel/sched/core.c:6968 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7025 rwsem_down_read_slowpath+0x5fd/0x8f0 kernel/locking/rwsem.c:1086 __down_read_common kernel/locking/rwsem.c:1261 [inline] __down_read kernel/locking/rwsem.c:1274 [inline] down_read_nested+0x9a/0x2f0 kernel/locking/rwsem.c:1663 dbAlloc+0x3a7/0xba0 fs/jfs/jfs_dmap.c:790 diNewExt+0x9af/0x3150 fs/jfs/jfs_imap.c:2261 diAllocExt fs/jfs/jfs_imap.c:1952 [inline] diAllocAG+0xe86/0x1df0 fs/jfs/jfs_imap.c:1669 diAlloc+0x1d5/0x1680 fs/jfs/jfs_imap.c:1590 ialloc+0x8c/0x8f0 fs/jfs/jfs_inode.c:56 jfs_mkdir+0x193/0xa70 fs/jfs/namei.c:225 vfs_mkdir+0x512/0x5b0 fs/namei.c:5099 do_mkdirat+0x276/0x4b0 fs/namei.c:5133 __do_sys_mkdirat fs/namei.c:5155 [inline] __se_sys_mkdirat fs/namei.c:5153 [inline] __x64_sys_mkdirat+0x87/0xa0 fs/namei.c:5153 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7efe85d8efc9 RSP: 002b:00007efe86b6d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007efe85fe5fa0 RCX: 00007efe85d8efc9 RDX: 0000000000000408 RSI: 0000200000000300 RDI: 0000000000000004 RBP: 00007efe85e11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007efe85fe6038 R14: 00007efe85fe5fa0 R15: 00007fff5df8ee58 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8df3d9c0 ( rcu_read_lock ){....}-{1:3} , at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] , at: rcu_read_lock include/linux/rcupdate.h:867 [inline] , at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775 5 locks held by kworker/u8:9/3085: 2 locks held by getty/5595: #0: ffff888034de30a0 (&tty->ldisc_sem ){++++}-{0:0} , at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000332b2f0 ( &ldata->atomic_read_lock ){+.+.}-{4:4} , at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 3 locks held by kworker/0:4/5937: 1 lock held by syz.0.17/6463: 1 lock held by syz.1.18/6487: 5 locks held by syz.2.19/6511: #0: ffff888020eda420 ( sb_writers #12){.+.+}-{0:0} , at: mnt_want_write+0x41/0x90 fs/namespace.c:509 #1: ffff88805844aa18 ( &type->i_mutex_dir_key #8 /1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:1072 [inline] /1){+.+.}-{4:4}, at: __start_dirop fs/namei.c:2833 [inline] /1){+.+.}-{4:4}, at: start_dirop fs/namei.c:2844 [inline] /1){+.+.}-{4:4}, at: filename_create+0x1fb/0x360 fs/namei.c:4848 #2: ffff88805e150920 ( &(imap->im_aglock[index])