syzbot


INFO: task hung in gfs2_glock_nq

Status: upstream: reported C repro on 2024/04/13 10:45
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+7aebfd340e5ced0abdf8@syzkaller.appspotmail.com
First crash: 448d, last: 3d16h
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2024/04/14 upstream (ToT) 7efd0a74039f C [report] INFO: task hung in gfs2_glock_nq
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in gfs2_glock_nq gfs2 C 29 35d 444d 0/29 upstream: reported C repro on 2024/04/17 16:54
linux-6.1 INFO: task hung in gfs2_glock_nq origin:upstream C error 17 100d 450d 0/3 upstream: reported C repro on 2024/04/11 08:56
Last patch testing requests (9)
Created Duration User Patch Repo Result
2025/07/02 10:35 14m retest repro linux-5.15.y report log
2025/07/02 10:35 15m retest repro linux-5.15.y report log
2025/06/16 04:41 17m retest repro linux-5.15.y report log
2025/06/16 04:41 17m retest repro linux-5.15.y report log
2025/06/16 04:41 15m retest repro linux-5.15.y report log
2025/06/16 04:41 14m retest repro linux-5.15.y report log
2025/05/18 15:07 14m retest repro linux-5.15.y report log
2025/05/18 15:07 15m retest repro linux-5.15.y report log
2025/04/20 18:44 14m retest repro linux-5.15.y report log

Sample crash report:
INFO: task syz-executor341:4042 blocked for more than 143 seconds.
      Not tainted 5.15.181-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor341 state:D stack:    0 pid: 4042 ppid:  4040 flags:0x00000004
Call trace:
 __switch_to+0x2f4/0x558 arch/arm64/kernel/process.c:521
 context_switch kernel/sched/core.c:5030 [inline]
 __schedule+0xe00/0x1c0c kernel/sched/core.c:6376
 schedule+0x11c/0x1c8 kernel/sched/core.c:6459
 bit_wait+0x1c/0xac kernel/sched/wait_bit.c:199
 __wait_on_bit kernel/sched/wait_bit.c:49 [inline]
 out_of_line_wait_on_bit+0x15c/0x200 kernel/sched/wait_bit.c:64
 wait_on_bit include/linux/wait_bit.h:76 [inline]
 gfs2_glock_wait fs/gfs2/glock.c:1282 [inline]
 gfs2_glock_nq+0x8f8/0x141c fs/gfs2/glock.c:1538
 gfs2_glock_nq_init fs/gfs2/glock.h:246 [inline]
 __gfs2_lookup+0x110/0x268 fs/gfs2/inode.c:882
 gfs2_lookup+0x2c/0x3c fs/gfs2/inode.c:907
 __lookup_slow+0x24c/0x380 fs/namei.c:1663
 lookup_slow+0x5c/0x80 fs/namei.c:1680
 walk_component+0x2b0/0x3a8 fs/namei.c:1976
 lookup_last fs/namei.c:2431 [inline]
 path_lookupat+0x13c/0x3d0 fs/namei.c:2455
 filename_lookup+0x180/0x414 fs/namei.c:2484
 user_path_at_empty+0x5c/0x1a0 fs/namei.c:2883
 user_path_at include/linux/namei.h:57 [inline]
 ksys_umount fs/namespace.c:1780 [inline]
 __do_sys_umount fs/namespace.c:1788 [inline]
 __se_sys_umount fs/namespace.c:1786 [inline]
 __arm64_sys_umount+0xf4/0x178 fs/namespace.c:1786
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584

Showing all locks held in the system:
1 lock held by khungtaskd/27:
 #0: ffff8000143211e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:311
2 locks held by getty/3786:
 #0: ffff0000d38aa098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340
 #1: ffff80001b7802e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2f0/0xf6c drivers/tty/n_tty.c:2158
1 lock held by syz-executor341/4042:
 #0: ffff0000ddba8818 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:797 [inline]
 #0: ffff0000ddba8818 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: lookup_slow+0x4c/0x80 fs/namei.c:1679

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


Crashes (18):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/03 08:02 linux-5.15.y 16fdf2c7111b b0714e37 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-5-15-kasan-arm64 INFO: task hung in gfs2_glock_nq
2025/04/06 15:46 linux-5.15.y 0c935c049b5c 1c65791e .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-5-15-kasan-arm64 INFO: task hung in gfs2_glock_nq
2025/03/16 19:40 linux-5.15.y 0c935c049b5c e2826670 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-5-15-kasan-arm64 INFO: task hung in gfs2_glock_nq
2025/03/16 05:32 linux-5.15.y 0c935c049b5c e2826670 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-5-15-kasan-arm64 INFO: task hung in gfs2_glock_nq
2025/03/15 18:25 linux-5.15.y 0c935c049b5c e2826670 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-5-15-kasan-arm64 INFO: task hung in gfs2_glock_nq
2025/03/14 09:59 linux-5.15.y 0c935c049b5c e2826670 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-5-15-kasan-arm64 INFO: task hung in gfs2_glock_nq
2024/11/03 10:20 linux-5.15.y 72244eab0dad f00eed24 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 INFO: task hung in gfs2_glock_nq
2024/04/13 23:26 linux-5.15.y fa3df276cd36 c8349e48 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 INFO: task hung in gfs2_glock_nq
2025/06/01 23:25 linux-5.15.y 98f47d0e9b8c 3d2f584d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in gfs2_glock_nq
2025/04/06 05:31 linux-5.15.y 0c935c049b5c 1c65791e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in gfs2_glock_nq
2025/04/06 05:27 linux-5.15.y 0c935c049b5c 1c65791e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in gfs2_glock_nq
2025/04/06 05:26 linux-5.15.y 0c935c049b5c 1c65791e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in gfs2_glock_nq
2025/03/22 14:03 linux-5.15.y 0c935c049b5c c6512ef7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in gfs2_glock_nq
2024/12/18 13:53 linux-5.15.y 963e654022cc a0626d3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in gfs2_glock_nq
2024/04/27 14:41 linux-5.15.y c52b9710c83d 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in gfs2_glock_nq
2024/04/18 13:46 linux-5.15.y c52b9710c83d af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in gfs2_glock_nq
2024/04/18 13:41 linux-5.15.y c52b9710c83d af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in gfs2_glock_nq
2024/04/13 10:44 linux-5.15.y cdfd0a7f0139 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in gfs2_glock_nq
* Struck through repros no longer work on HEAD.