INFO: task syz-executor:5498 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:22088 pid:5498 tgid:5498 ppid:1 task_flags:0x400140 flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5584 [inline] __schedule+0x18a6/0x5c10 kernel/sched/core.c:7386 __schedule_loop kernel/sched/core.c:7463 [inline] schedule+0x164/0x2b0 kernel/sched/core.c:7478 bit_wait+0x13/0x110 kernel/sched/wait_bit.c:248 __wait_on_bit+0xac/0x300 kernel/sched/wait_bit.c:52 out_of_line_wait_on_bit+0x13b/0x190 kernel/sched/wait_bit.c:67 wait_on_bit include/linux/wait_bit.h:78 [inline] gfs2_glock_wait+0xb3/0x2a0 fs/gfs2/glock.c:1239 gfs2_glock_nq_init fs/gfs2/glock.h:253 [inline] __gfs2_lookup+0x136/0x2b0 fs/gfs2/inode.c:1006 __lookup_slow+0x1fb/0x2f0 fs/namei.c:1925 lookup_slow+0x59/0x80 fs/namei.c:1942 walk_component fs/namei.c:2288 [inline] lookup_last fs/namei.c:2795 [inline] path_lookupat+0x3f5/0x8c0 fs/namei.c:2819 filename_lookup+0x265/0x5d0 fs/namei.c:2848 user_path_at+0x40/0x160 fs/namei.c:3647 ksys_umount fs/namespace.c:2123 [inline] __do_sys_umount fs/namespace.c:2131 [inline] __se_sys_umount fs/namespace.c:2129 [inline] __x64_sys_umount+0xf6/0x170 fs/namespace.c:2129 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb96dfaa7c7 RSP: 002b:00007ffe882afcb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: ffffffffffffffda RBX: 00007fb96e03751b RCX: 00007fb96dfaa7c7 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe882afd70 RBP: 00007ffe882afd70 R08: 00007ffe882b0d70 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe882b0e60 R13: 00007fb96e03751b R14: 000055557870c4e8 R15: 00007ffe882b3020 Showing all locks held in the system: locks held by khungtaskd/27: 1, on CPU#0: #0: ffffffff9015a2a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffffffff9015a2a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff9015a2a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6871 locks held by getty/5100: 2, last CPU#0: #0: ffff888034e7e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90000be02e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360 drivers/tty/n_tty.c:2211 locks held by syz-executor/5498: 2, last CPU#0: #0: ffff8880445d8140 (&type->i_mutex_dir_key#8){.+.+}-{4:4}, at: inode_lock_shared include/linux/fs.h:1042 [inline] #0: ffff8880445d8140 (&type->i_mutex_dir_key#8){.+.+}-{4:4}, at: lookup_slow+0x46/0x80 fs/namei.c:1941 #1: ffff888014be2100 (DCACHE_PAR_LOOKUP#10){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffff888014be2100 (DCACHE_PAR_LOOKUP#10){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffff888014be2100 (DCACHE_PAR_LOOKUP#10){+.+.}-{0:0}, at: __d_alloc_parallel+0x39e/0x1700 fs/dcache.c:2919 locks held by syz.1.433/6439: 2, on CPU#0: #0: ffff88801e2be478 (sb_writers#5){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2765 [inline] #0: ffff88801e2be478 (sb_writers#5){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:663 #1: ffff88804599e100 (&sb->s_type->i_mutex_key#16){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:1027 [inline] #1: ffff88804599e100 (&sb->s_type->i_mutex_key#16){+.+.}-{4:4}, at: shmem_file_write_iter+0x7f/0x120 mm/shmem.c:3679 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 27 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 nmi_cpu_backtrace+0x274/0x2d0 lib/nmi_backtrace.c:123 nmi_trigger_cpumask_backtrace+0x17d/0x390 lib/nmi_backtrace.c:66 trigger_all_cpu_backtrace include/linux/nmi.h:164 [inline] __sys_info lib/sys_info.c:157 [inline] sys_info+0x135/0x170 lib/sys_info.c:165 check_hung_uninterruptible_tasks kernel/hung_task.c:377 [inline] watchdog+0x1073/0x10f0 kernel/hung_task.c:598 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245