syzbot


INFO: task hung in gfs2_glock_nq

Status: upstream: reported C repro on 2024/04/11 08:56
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+90f9c53a8e1181aa3f4b@syzkaller.appspotmail.com
First crash: 255d, last: 14h26m
Bug presence (1)
Date Name Commit Repro Result
2024/05/03 upstream (ToT) 3d25a941ea50 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 8d13h 248d 0/28 upstream: reported C repro on 2024/04/17 16:54
linux-5.15 INFO: task hung in gfs2_glock_nq origin:upstream C error 7 4d02h 253d 0/3 upstream: reported C repro on 2024/04/13 10:45
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2024/10/29 00:46 2h40m bisect fix linux-6.1.y OK (0) job log log
2024/09/28 21:05 2h28m bisect fix linux-6.1.y OK (0) job log log
2024/08/21 03:52 1h54m bisect fix linux-6.1.y OK (0) job log log
2024/07/09 23:59 1h50m bisect fix linux-6.1.y OK (0) job log log
2024/06/01 04:23 1h33m bisect fix linux-6.1.y OK (0) job log log

Sample crash report:
INFO: task syz-executor369:4289 blocked for more than 143 seconds.
      Tainted: G        W          6.1.121-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor369 state:D stack:0     pid:4289  ppid:4287   flags:0x00000004
Call trace:
 __switch_to+0x308/0x598 arch/arm64/kernel/process.c:553
 context_switch kernel/sched/core.c:5241 [inline]
 __schedule+0xef4/0x1d44 kernel/sched/core.c:6558
 schedule+0xc4/0x170 kernel/sched/core.c:6634
 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+0x208/0x334 kernel/sched/wait_bit.c:64
 wait_on_bit include/linux/wait_bit.h:76 [inline]
 gfs2_glock_wait+0xb8/0x298 fs/gfs2/glock.c:1346
 gfs2_glock_nq+0xa90/0x11d8 fs/gfs2/glock.c:1591
 gfs2_glock_nq_init fs/gfs2/glock.h:255 [inline]
 __gfs2_lookup+0x140/0x28c fs/gfs2/inode.c:879
 gfs2_lookup+0x2c/0x3c fs/gfs2/inode.c:904
 __lookup_slow+0x250/0x374 fs/namei.c:1690
 lookup_slow+0x60/0x84 fs/namei.c:1707
 walk_component+0x280/0x36c fs/namei.c:1998
 lookup_last fs/namei.c:2455 [inline]
 path_lookupat+0x13c/0x3d0 fs/namei.c:2479
 filename_lookup+0x1d4/0x4e0 fs/namei.c:2508
 user_path_at_empty+0x5c/0x84 fs/namei.c:2905
 user_path_at include/linux/namei.h:57 [inline]
 ksys_umount fs/namespace.c:1822 [inline]
 __do_sys_umount fs/namespace.c:1830 [inline]
 __se_sys_umount fs/namespace.c:1828 [inline]
 __arm64_sys_umount+0xf8/0x17c fs/namespace.c:1828
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585

Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
 #0: ffff800015c65570 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xd10 kernel/rcu/tasks.h:543
1 lock held by rcu_tasks_trace/13:
 #0: ffff800015c65d90 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xd10 kernel/rcu/tasks.h:543
1 lock held by khungtaskd/28:
 #0: ffff800015c653a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349
2 locks held by getty/4051:
 #0: ffff0000d6681098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340
 #1: ffff80001d8302f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1214 drivers/tty/n_tty.c:2198
1 lock held by syz-executor369/4289:
 #0: ffff0000e4c93058 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline]
 #0: ffff0000e4c93058 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1706

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


Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/22 01:38 linux-6.1.y 29f02ec58a94 d7f584ee .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 INFO: task hung in gfs2_glock_nq
2024/04/28 18:01 linux-6.1.y f2295faba5e8 07b455f9 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 INFO: task hung in gfs2_glock_nq
2024/12/01 23:38 linux-6.1.y e4d90d63d385 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: task hung in gfs2_glock_nq
2024/04/28 14:15 linux-6.1.y f2295faba5e8 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: task hung in gfs2_glock_nq
2024/04/27 14:39 linux-6.1.y 6741e066ec76 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: task hung in gfs2_glock_nq
2024/04/16 00:06 linux-6.1.y cd5d98c0556c b9af7e61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: task hung in gfs2_glock_nq
2024/04/14 18:44 linux-6.1.y cd5d98c0556c c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: task hung in gfs2_glock_nq
2024/04/13 12:04 linux-6.1.y bf1e3b1cb1e0 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: task hung in gfs2_glock_nq
2024/04/11 08:55 linux-6.1.y bf1e3b1cb1e0 33b9e058 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: task hung in gfs2_glock_nq
* Struck through repros no longer work on HEAD.