INFO: task hung in gfs2_gl_hash_clear (2)

Status: upstream: reported on 2026/10/26 15:59
Reported-by: syzbot+6198c2f48b3b57c59bf4@syzkaller.appspotmail.com
First crash: 16h07m, last: 16h07m
▶ ▼ Similar bugs (9)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in gfs2_gl_hash_clear gfs2 1 156 2182d 2187d 0/29 auto-closed as invalid on 2021/02/02 22:47
upstream INFO: task hung in gfs2_gl_hash_clear (2) gfs2 1 1 1603d 1601d 0/29 auto-closed as invalid on 2022/09/04 20:20
linux-5.15 INFO: task hung in gfs2_gl_hash_clear origin:lts-only 1 syz, C inconclusive 3075 27d 1183d 0/3 upstream: reported C repro on 2023/08/01 02:35
linux-6.1 INFO: task hung in gfs2_gl_hash_clear missing-backport origin:lts-only 1 syz, C done 1602 126d 1170d 0/3 upstream: reported C repro on 2023/08/13 12:57
upstream INFO: task hung in gfs2_gl_hash_clear (4) gfs2 1 1 835d 835d 0/29 auto-obsoleted due to no activity on 2024/10/11 16:48
linux-4.19 INFO: task hung in gfs2_gl_hash_clear gfs2 1 1 1392d 1392d 0/1 upstream: reported on 2023/01/04 01:01
upstream INFO: task can't die in gfs2_gl_hash_clear (2) gfs2 1 3 2014d 2108d 0/29 auto-closed as invalid on 2021/07/21 03:15
upstream INFO: task hung in gfs2_gl_hash_clear (3) gfs2 1 syz, C error done 80 1039d 1427d 25/29 fixed on 2024/01/30 15:47
linux-6.6 INFO: task hung in gfs2_gl_hash_clear 1 22 212d 454d 0/2 auto-obsoleted due to no activity on 2026/07/07 07:24

Sample crash report:
INFO: task syz-executor:11474 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:21800 pid:11474 ppid:1      flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5393 [inline]
 __schedule+0x15ae/0x4700 kernel/sched/core.c:6722
 schedule+0xbd/0x170 kernel/sched/core.c:6796
 schedule_timeout+0x188/0x2d0 kernel/time/timer.c:2168
 gfs2_gl_hash_clear+0x1ac/0x450 fs/gfs2/glock.c:2256
 gfs2_put_super+0x8bb/0x930 fs/gfs2/super.c:652
 generic_shutdown_super+0x134/0x2b0 fs/super.c:690
 kill_block_super+0x44/0x90 fs/super.c:1671
 deactivate_locked_super+0x9c/0x210 fs/super.c:479
 cleanup_mnt+0x3d7/0x460 fs/namespace.c:1259
 task_work_run+0x1d4/0x260 kernel/task_work.c:245
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:180
 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:213
 __syscall_exit_to_user_mode_work kernel/entry/common.c:294 [inline]
 syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:305
 do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f88dbfa0797
RSP: 002b:00007fff9e20a368 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000064 RCX: 00007f88dbfa0797
RDX: 0000000000000200 RSI: 0000000000000009 RDI: 00007fff9e20b510
RBP: 00007f88dc035f63 R08: 0000000000010590 R09: 00000000ffffffff
R10: 0000000000000100 R11: 0000000000000206 R12: 00007fff9e20b510
R13: 00007f88dc035f63 R14: 0000555559e0e4e8 R15: 00007fff9e20c5e0
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/29:
 #0: ffffffff8e1322e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline]
 #0: ffffffff8e1322e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline]
 #0: ffffffff8e1322e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6669
2 locks held by getty/5544:
 #0: ffff888033c090a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc9000327e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x428/0x1370 drivers/tty/n_tty.c:2217
1 lock held by syz-executor/11474:
 #0: ffff8880337b20e0 (&type->s_umount_key#118){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline]
 #0: ffff8880337b20e0 (&type->s_umount_key#118){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
 #0: ffff8880337b20e0 (&type->s_umount_key#118){+.+.}-{3:3}, at: deactivate_super+0xa4/0xe0 fs/super.c:510
2 locks held by kworker/u4:37/16707:
 #0: ffff8880b8d3c258 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:570
 #1: ffffc9000485fd00 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #1: ffffc9000485fd00 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
4 locks held by dhcpcd-run-hook/16953:

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

NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
Call Trace:
 <TASK>
 dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x3a6/0x3e0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x17a/0x2f0 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
 watchdog+0xf59/0xfa0 kernel/hung_task.c:379
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 5792 Comm: kworker/1:3 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
Workqueue: events free_obj_work
RIP: 0010:check_kcov_mode kernel/kcov.c:189 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x36/0x60 kernel/kcov.c:212
Code: 10 e4 7b 7e 65 8b 15 11 e4 7b 7e 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 35 83 b9 24 16 00 00 00 74 2c 8b 91 00 16 00 00 <83> fa 02 75 21 48 8b 91 08 16 00 00 48 8b 32 48 8d 7e 01 8b 89 04
RSP: 0018:ffffc9000451f5f8 EFLAGS: 00000246
RAX: ffffffff813be2a1 RBX: ffffc9000451f670 RCX: ffff88802b235a00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffff88802b235a00 R09: 0000000000000003
R10: 0000000000000004 R11: 0000000000000000 R12: ffffffff81e0b076
R13: dffffc0000000000 R14: dffffc0000000000 R15: 1ffff920008a3ece
FS:  0000000000000000(0000) GS:ffff8880b8d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fddb93c7286 CR3: 0000000076f0b000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 unwind_get_return_address+0x71/0xc0 arch/x86/kernel/unwind_orc.c:369
 arch_stack_walk+0x11d/0x190 arch/x86/kernel/stacktrace.c:26
 stack_trace_save+0xaa/0x100 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:46 [inline]
 kasan_set_track+0x4e/0x70 mm/kasan/common.c:53
 kasan_save_free_info+0x28/0x40 mm/kasan/generic.c:522
 ____kasan_slab_free+0x126/0x1f0 mm/kasan/common.c:237
 kasan_slab_free include/linux/kasan.h:164 [inline]
 slab_free_hook mm/slub.c:1833 [inline]
 slab_free_freelist_hook+0x154/0x240 mm/slub.c:1859
 slab_free mm/slub.c:3853 [inline]
 kmem_cache_free+0xf8/0x290 mm/slub.c:3875
 free_obj_work+0x434/0x5a0 lib/debugobjects.c:332
 process_one_work kernel/workqueue.c:2657 [inline]
 process_scheduled_works+0xa60/0x1600 kernel/workqueue.c:2734
 worker_thread+0xa5e/0xfe0 kernel/workqueue.c:2815
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/26 15:59 linux-6.6.y 0aebf2870d53 168cb7a2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in gfs2_gl_hash_clear
2026/10/26 15:59 linux-6.6.y 0aebf2870d53 168cb7a2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in gfs2_gl_hash_clear
* Struck through repros no longer work on HEAD.