INFO: task syz-executor:4174 blocked for more than 144 seconds. Not tainted 5.15.171-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:20440 pid: 4174 ppid: 1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 bit_wait+0xe/0xc0 kernel/sched/wait_bit.c:199 __wait_on_bit+0xb9/0x180 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0x1d0/0x250 kernel/sched/wait_bit.c:64 wait_on_bit include/linux/wait_bit.h:76 [inline] gfs2_glock_wait+0xda/0x1c0 fs/gfs2/glock.c:1282 gfs2_glock_nq_init fs/gfs2/glock.h:246 [inline] __gfs2_lookup+0x113/0x270 fs/gfs2/inode.c:882 __lookup_slow+0x275/0x3d0 fs/namei.c:1663 lookup_slow+0x53/0x70 fs/namei.c:1680 walk_component+0x48c/0x610 fs/namei.c:1976 lookup_last fs/namei.c:2431 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2455 filename_lookup+0x230/0x5c0 fs/namei.c:2484 user_path_at_empty+0x40/0x180 fs/namei.c:2883 user_path_at include/linux/namei.h:57 [inline] ksys_umount fs/namespace.c:1779 [inline] __do_sys_umount fs/namespace.c:1787 [inline] __se_sys_umount fs/namespace.c:1785 [inline] __x64_sys_umount+0xf0/0x170 fs/namespace.c:1785 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fd524b56a47 RSP: 002b:00007ffd62de3788 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: ffffffffffffffda RBX: 00007fd524bc823c RCX: 00007fd524b56a47 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd62de3840 RBP: 00007ffd62de3840 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd62de4930 R13: 00007fd524bc823c R14: 000055555749e4a8 R15: 00007ffd62de6ae0 Showing all locks held in the system: 3 locks held by kworker/1:0/21: 1 lock held by khungtaskd/27: #0: ffffffff8c91fc60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by udevd/3546: #0: ffff8880202eb518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x14d/0xa50 block/bdev.c:817 2 locks held by getty/3932: #0: ffff88807f001098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc9000261e2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 2 locks held by syz-executor/4167: #0: ffff888020525918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfb/0x790 block/bdev.c:912 #1: ffff888020606468 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0xa9/0xbe0 drivers/block/loop.c:1365 1 lock held by syz-executor/4174: #0: ffff888062f04be8 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline] #0: ffff888062f04be8 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1679 1 lock held by syz.4.1016/7584: #0: ffff8880b903a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 1 lock held by syz.0.1018/7603: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.171-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 7603 Comm: syz.0.1018 Not tainted 5.15.171-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:hlock_class kernel/locking/lockdep.c:197 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4687 [inline] RIP: 0010:__lock_acquire+0x551/0x1ff0 kernel/locking/lockdep.c:4962 Code: 00 00 41 8b 1f 81 e3 ff 1f 00 00 89 d8 c1 e8 06 48 8d 3c c5 00 31 76 90 be 08 00 00 00 e8 97 84 67 00 48 0f a3 1d bf 68 13 0f <73> 1f 48 8d 04 5b 48 c1 e0 06 48 8d 98 c0 af 0e 90 48 ba 00 00 00 RSP: 0018:ffffc90003377360 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 000000000000059b RCX: ffffffff8162c839 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff907631b0 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff20ec637 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff8880291b0ae8 R14: 0000000000000003 R15: ffff8880291b0b10 FS: 00007fdc2ba376c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f130ac2af98 CR3: 000000007c093000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623 __mutex_lock_common+0x1da/0x25a0 kernel/locking/mutex.c:596 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743 __unix_dgram_recvmsg+0x24d/0x1260 net/unix/af_unix.c:2301 ____sys_recvmsg+0x286/0x530 ___sys_recvmsg+0x1ec/0x690 net/socket.c:2697 do_recvmmsg+0x36f/0x8f0 net/socket.c:2791 __sys_recvmmsg net/socket.c:2870 [inline] __do_sys_recvmmsg net/socket.c:2893 [inline] __se_sys_recvmmsg net/socket.c:2886 [inline] __x64_sys_recvmmsg+0x195/0x240 net/socket.c:2886 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fdc2d5e0719 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdc2ba37038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007fdc2d798058 RCX: 00007fdc2d5e0719 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000004 RBP: 00007fdc2d65339e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fdc2d798058 R15: 00007ffedce97cf8