syzbot


INFO: task hung in gfs2_evict_inode

Status: auto-obsoleted due to no activity on 2026/05/03 12:53
Subsystems: gfs2
[Documentation on labels]
First crash: 151d, last: 64d
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision Error
8c121a83-eb11-475b-a558-2962a6d56bff repro INFO: task hung in gfs2_evict_inode 2026/03/07 04:48 2026/03/07 04:48 2026/03/07 04:57 31e9c887f7dc24e04b3ca70d0d54fc34141844b0
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: task hung in gfs2_evict_inode gfs2 1 1 1199d 1199d 0/1 upstream: reported on 2023/01/24 02:28

Sample crash report:
INFO: task syz-executor:5821 blocked for more than 143 seconds.
      Tainted: G             L      syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:21040 pid:5821  tgid:5821  ppid:1      task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5349 [inline]
 __schedule+0x1665/0x5590 kernel/sched/core.c:6961
 __schedule_loop kernel/sched/core.c:7044 [inline]
 schedule+0x164/0x360 kernel/sched/core.c:7059
 io_schedule+0x7f/0xd0 kernel/sched/core.c:7886
 bit_wait_io+0x11/0xd0 kernel/sched/wait_bit.c:250
 __wait_on_bit+0xb9/0x310 kernel/sched/wait_bit.c:52
 out_of_line_wait_on_bit+0x13b/0x190 kernel/sched/wait_bit.c:67
 wait_on_bit_io include/linux/wait_bit.h:105 [inline]
 gfs2_evict_inode+0xa04/0x1130 fs/gfs2/super.c:1462
 evict+0x61e/0xb10 fs/inode.c:846
 free_local_statfs_inodes fs/gfs2/super.c:1501 [inline]
 gfs2_put_super+0x635/0x860 fs/gfs2/super.c:632
 generic_shutdown_super+0x13d/0x2d0 fs/super.c:646
 kill_block_super+0x44/0x90 fs/super.c:1725
 deactivate_locked_super+0xbc/0x130 fs/super.c:476
 cleanup_mnt+0x437/0x4d0 fs/namespace.c:1312
 task_work_run+0x1d9/0x270 kernel/task_work.c:233
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 __exit_to_user_mode_loop kernel/entry/common.c:67 [inline]
 exit_to_user_mode_loop+0xed/0x480 kernel/entry/common.c:98
 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:238 [inline]
 syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:269 [inline]
 syscall_exit_to_user_mode include/linux/entry-common.h:325 [inline]
 do_syscall_64+0x32d/0xf80 arch/x86/entry/syscall_64.c:100
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff5da59d9d7
RSP: 002b:00007fffd0de4068 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007ff5da631f90 RCX: 00007ff5da59d9d7
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fffd0de4120
RBP: 00007fffd0de4120 R08: 00007fffd0de5120 R09: 00000000ffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffd0de51b0
R13: 00007ff5da631f90 R14: 00000000000a05d4 R15: 00007fffd0de51f0
 </TASK>
INFO: task kworker/0:2H:6231 blocked for more than 146 seconds.
      Tainted: G             L      syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:2H    state:D stack:27240 pid:6231  tgid:6231  ppid:2      task_flags:0x4208060 flags:0x00080000
Workqueue: gfs2-glock/syz:syz glock_work_func
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5349 [inline]
 __schedule+0x1665/0x5590 kernel/sched/core.c:6961
 __schedule_loop kernel/sched/core.c:7044 [inline]
 schedule+0x164/0x360 kernel/sched/core.c:7059
 io_schedule+0x7f/0xd0 kernel/sched/core.c:7886
 bit_wait_io+0x11/0xd0 kernel/sched/wait_bit.c:250
 __wait_on_bit_lock+0xec/0x4e0 kernel/sched/wait_bit.c:93
 out_of_line_wait_on_bit_lock+0x13b/0x190 kernel/sched/wait_bit.c:120
 wait_on_bit_lock_io include/linux/wait_bit.h:221 [inline]
 __lock_buffer fs/buffer.c:72 [inline]
 lock_buffer include/linux/buffer_head.h:432 [inline]
 discard_buffer fs/buffer.c:1603 [inline]
 block_invalidate_folio+0x370/0x730 fs/buffer.c:1660
 folio_invalidate mm/truncate.c:140 [inline]
 truncate_cleanup_folio+0xcb/0x190 mm/truncate.c:160
 truncate_inode_pages_range+0x2ce/0xe30 mm/truncate.c:404
 inode_go_inval+0x13c/0x360 fs/gfs2/glops.c:366
 do_xmote+0x289/0x760 fs/gfs2/glock.c:699
 glock_work_func+0x2a8/0x580 fs/gfs2/glock.c:1011
 process_one_work+0x963/0x1720 kernel/workqueue.c:3285
 process_scheduled_works kernel/workqueue.c:3376 [inline]
 worker_thread+0xb46/0x1140 kernel/workqueue.c:3457
 kthread+0x388/0x470 kernel/kthread.c:436
 ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Showing all locks held in the system:
1 lock held by ksoftirqd/0/15:
1 lock held by khungtaskd/31:
 #0: ffffffff8e760560 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:312 [inline]
 #0: ffffffff8e760560 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:850 [inline]
 #0: ffffffff8e760560 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775
6 locks held by kworker/u8:9/1148:
 #0: ffff88801c29e948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x849/0x1720 kernel/workqueue.c:3257
 #1: ffffc9000593fc40 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x870/0x1720 kernel/workqueue.c:3258
 #2: ffffffff8fbc60b0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf4/0x800 net/core/net_namespace.c:675
 #3: ffff8880654110e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:895 [inline]
 #3: ffff8880654110e8 (&dev->mutex){....}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:108 [inline]
 #3: ffff8880654110e8 (&dev->mutex){....}-{4:4}, at: devlink_pernet_pre_exit+0x117/0x3f0 net/devlink/core.c:504
 #4: ffff888048353250 (&devlink->lock_key#11){+.+.}-{4:4}, at: devl_lock net/devlink/core.c:274 [inline]
 #4: ffff888048353250 (&devlink->lock_key#11){+.+.}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:109 [inline]
 #4: ffff888048353250 (&devlink->lock_key#11){+.+.}-{4:4}, at: devlink_pernet_pre_exit+0x129/0x3f0 net/devlink/core.c:504
 #5: ffffffff8fbd5008 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0x10b/0x730 drivers/net/netdevsim/netdev.c:1177
2 locks held by getty/5578:
 #0: ffff888037ff20a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45c/0x13c0 drivers/tty/n_tty.c:2211
1 lock held by syz-executor/5821:
 #0: ffff88807b54e0e0 (&type->s_umount_key#121){+.+.}-{4:4}, at: __super_lock fs/super.c:58 [inline]
 #0: ffff88807b54e0e0 (&type->s_umount_key#121){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:73 [inline]
 #0: ffff88807b54e0e0 (&type->s_umount_key#121){+.+.}-{4:4}, at: deactivate_super+0xa9/0xe0 fs/super.c:508
2 locks held by kworker/0:2H/6231:
 #0: ffff888055a90948 ((wq_completion)gfs2-glock/syz:syz){+.+.}-{0:0}, at: process_one_work+0x849/0x1720 kernel/workqueue.c:3257
 #1: ffffc90005317c40 ((work_completion)(&(&gl->gl_work)->work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1720 kernel/workqueue.c:3258
1 lock held by syz-executor/10304:
 #0: ffffffff8fbd5008 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline]
 #0: ffffffff8fbd5008 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x404/0x1ad0 net/ipv4/devinet.c:978
7 locks held by syz-executor/10321:
 #0: ffff8880363c8420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2710 [inline]
 #0: ffff8880363c8420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x227/0xb90 fs/read_write.c:684
 #1: ffff88806ca02088 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1de/0x540 fs/kernfs/file.c:343
 #2: ffff88802a2ef2d8 (kn->active#52){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline]
 #2: ffff88802a2ef2d8 (kn->active#52){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x231/0x540 fs/kernfs/file.c:344
 #3: ffffffff8f448a88 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd7/0x370 drivers/net/netdevsim/bus.c:234
 #4: ffff88802272b0e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:895 [inline]
 #4: ffff88802272b0e8 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1106 [inline]
 #4: ffff88802272b0e8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xb6/0x860 drivers/base/dd.c:1304
 #5: ffff8880207a1250 (&devlink->lock_key#10){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x170 drivers/net/netdevsim/dev.c:1778
 #6: ffffffff8e7667f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:311 [inline]
 #6: ffffffff8e7667f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2d0/0x770 kernel/rcu/tree_exp.h:961
2 locks held by syz-executor/10555:
 #0: ffffffff8f336c08 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:312 [inline]
 #0: ffffffff8f336c08 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:850 [inline]
 #0: ffffffff8f336c08 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250 net/core/rtnetlink.c:570
 #1: ffffffff8fbd5008 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline]
 #1: ffffffff8fbd5008 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline]
 #1: ffffffff8fbd5008 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8a1/0x1be0 net/core/rtnetlink.c:4071

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

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
 nmi_cpu_backtrace+0x274/0x2d0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:162 [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:346 [inline]
 watchdog+0xfd9/0x1030 kernel/hung_task.c:515
 kthread+0x388/0x470 kernel/kthread.c:436
 ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 10321 Comm: syz-executor Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
RIP: 0010:__bfs kernel/locking/lockdep.c:1815 [inline]
RIP: 0010:__bfs_backwards kernel/locking/lockdep.c:1860 [inline]
RIP: 0010:check_irq_usage kernel/locking/lockdep.c:2796 [inline]
RIP: 0010:check_prev_add kernel/locking/lockdep.c:3169 [inline]
RIP: 0010:check_prevs_add kernel/locking/lockdep.c:3284 [inline]
RIP: 0010:validate_chain kernel/locking/lockdep.c:3908 [inline]
RIP: 0010:__lock_acquire+0x197b/0x2cf0 kernel/locking/lockdep.c:5237
Code: 14 25 ff 0f 00 00 39 05 0f 79 83 12 73 06 89 05 07 79 83 12 48 8b 02 48 89 df 4c 39 e8 0f 84 2c fe ff ff 4c 89 60 30 48 8b 00 <4c> 39 e8 75 f4 48 89 df e9 18 fe ff ff 48 89 fb 48 c7 c7 10 e7 62
RSP: 0018:ffffc90004456d90 EFLAGS: 00000006
RAX: ffffffff96b93068 RBX: 00000000000003dd RCX: 0000000000000210
RDX: ffffffff96adb778 RSI: ffff88802f19ab18 RDI: 00000000000003dd
RBP: c96324feec91aa9f R08: ffffc90004456d58 R09: 0000000000000020
R10: dffffc0000000000 R11: ffffffff81a22f80 R12: ffffffff96afb8a8
R13: ffffffff93c7bcb8 R14: ffff88802f199e80 R15: 000000000000020f
FS:  000055556ccd3500(0000) GS:ffff888125548000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f061d619e9c CR3: 000000007947e000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 lock_acquire+0xf0/0x2e0 kernel/locking/lockdep.c:5868
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:132 [inline]
 _raw_spin_lock_irqsave+0x40/0x60 kernel/locking/spinlock.c:162
 class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:571 [inline]
 try_to_wake_up+0x66/0x1390 kernel/sched/core.c:4183
 swake_up_locked kernel/sched/swait.c:30 [inline]
 swake_up_one+0x70/0x140 kernel/sched/swait.c:53
 __rcu_read_unlock+0x83/0xe0 kernel/rcu/tree_plugin.h:438
 rcu_read_unlock include/linux/rcupdate.h:883 [inline]
 class_rcu_destructor include/linux/rcupdate.h:1193 [inline]
 unwind_next_frame+0x1aaf/0x23c0 arch/x86/kernel/unwind_orc.c:695
 arch_stack_walk+0x11b/0x150 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0xa9/0x100 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:57 [inline]
 kasan_save_track+0x3e/0x80 mm/kasan/common.c:78
 unpoison_slab_object mm/kasan/common.c:340 [inline]
 __kasan_slab_alloc+0x6c/0x80 mm/kasan/common.c:366
 kasan_slab_alloc include/linux/kasan.h:253 [inline]
 slab_post_alloc_hook mm/slub.c:4542 [inline]
 slab_alloc_node mm/slub.c:4868 [inline]
 kmem_cache_alloc_lru_noprof+0x2b8/0x640 mm/slub.c:4887
 alloc_inode+0x6a/0x1b0 fs/inode.c:347
 new_inode+0x22/0x170 fs/inode.c:1185
 debugfs_get_inode fs/debugfs/inode.c:72 [inline]
 debugfs_create_dir+0x68/0x350 fs/debugfs/inode.c:578
 nsim_dev_debugfs_init+0x450/0x590 drivers/net/netdevsim/dev.c:350
 nsim_drv_probe+0x785/0xc20 drivers/net/netdevsim/dev.c:1684
 call_driver_probe drivers/base/dd.c:-1 [inline]
 really_probe+0x267/0xaf0 drivers/base/dd.c:661
 __driver_probe_device+0x18c/0x320 drivers/base/dd.c:803
 driver_probe_device+0x4f/0x240 drivers/base/dd.c:833
 __device_attach_driver+0x2d4/0x4c0 drivers/base/dd.c:961
 bus_for_each_drv+0x258/0x2f0 drivers/base/bus.c:500
 __device_attach+0x2c5/0x450 drivers/base/dd.c:1033
 device_initial_probe+0xa1/0xd0 drivers/base/dd.c:1088
 bus_probe_device+0x12a/0x220 drivers/base/bus.c:574
 device_add+0x7b6/0xb70 drivers/base/core.c:3689
 nsim_bus_dev_new drivers/net/netdevsim/bus.c:471 [inline]
 new_device_store+0x37b/0x710 drivers/net/netdevsim/bus.c:191
 kernfs_fop_write_iter+0x3af/0x540 fs/kernfs/file.c:352
 new_sync_write fs/read_write.c:595 [inline]
 vfs_write+0x61d/0xb90 fs/read_write.c:688
 ksys_write+0x150/0x270 fs/read_write.c:740
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f923035cfce
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 <c3> 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007ffc7e102648 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 000055556ccd3500 RCX: 00007f923035cfce
RDX: 0000000000000003 RSI: 00007ffc7e1026d0 RDI: 0000000000000005
RBP: 00007f9230433480 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003
R13: 00007ffc7e1026d0 R14: 00007f9231144620 R15: 0000000000000003
 </TASK>

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/03/04 12:49 linux-next c025f6cf4209 e6b6b96b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in gfs2_evict_inode
2026/01/26 02:21 linux-next ca3a02fda4da 55756628 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in gfs2_evict_inode
2026/01/04 09:50 linux-next cc3aa43b44bd d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in gfs2_evict_inode
2025/12/07 10:41 linux-next 6987d58a9cbc d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in gfs2_evict_inode
2025/12/07 10:14 linux-next 6987d58a9cbc d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in gfs2_evict_inode
* Struck through repros no longer work on HEAD.