A server hangs or crashes with a blocked task message and call trace involving vxfs functions - A known VxFS bug causing an infinite loop in vx_write1_fast()

Solution Verified - Updated -

Issue

  • The server hangs or crashes (when hung_task_panic is enabled) with a blocked task message and call trace involving vxfs functions:
INFO: task getcap:2329406 blocked for more than 122 seconds.
      Tainted: P           OE     -------  ---  5.14.0-570.28.1.el9_6.x86_64 #1
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:getcap          state:D stack:0     pid:2329406 tgid:2329406 ppid:2329405 flags:0x00000002
Call Trace:
 <TASK>
 __schedule+0x229/0x4a0
 schedule+0x2e/0xb0
 vx_svar_sleep_unlock+0x65/0xd0 [vxfs]
 ? __pfx_vx_wq_wakeup_function+0x10/0x10 [vxfs]
 vx_rwsleep_rec_lock+0x3e/0xe0 [vxfs]
 vx_recsmp_rangelock+0x14/0x30 [vxfs]
 vx_linux_do_getxattr+0x175/0x420 [vxfs]
 ? cred_has_capability.isra.0+0x78/0x130
 ? packet_setsockopt+0x77c/0xb70
 ? vx_daccess.constprop.0+0x6c/0x2a0 [vxfs]
 ? security_capable+0x7f/0x130
 ? avc_has_perm_noaudit+0x94/0x110
 vx_linux_getxattr_int+0xa6/0x140 [vxfs]
 vx_linux_getxattr_v2+0xee/0x110 [vxfs]
 __vfs_getxattr+0x7b/0xb0
 get_vfs_caps_from_disk+0x6e/0x1e0
 ? path_init+0x1ea/0x3f0
 audit_copy_inode+0x99/0xd0
 filename_lookup+0x17b/0x1d0
 ? cap_inode_getsecurity+0xec/0x310
 ? path_get+0x11/0x30
 vfs_statx+0x82/0x160
 vfs_fstatat+0x54/0x70
 __do_sys_newfstatat+0x26/0x60
 ? getxattr+0x8d/0xc0
 ? auditd_test_task+0x3c/0x50
 ? __audit_syscall_entry+0xef/0x140
 ? syscall_trace_enter.constprop.0+0x126/0x1a0
 do_syscall_64+0x5c/0xe0
 ? audit_alloc_name+0x138/0x150
 ? __audit_filter_op+0xa5/0xf0
 ? mntput_no_expire+0x4a/0x250
 ? audit_reset_context.part.0.constprop.0+0x273/0x2e0
 ? syscall_exit_work+0x103/0x130
 ? syscall_exit_to_user_mode+0x19/0x40
 ? do_syscall_64+0x6b/0xe0
 ? __audit_filter_op+0xa5/0xf0
 ? fpregs_restore_userregs+0x47/0xd0
 ? exit_to_user_mode_prepare+0xef/0x100
 ? syscall_exit_to_user_mode+0x19/0x40
 ? do_syscall_64+0x6b/0xe0
 ? audit_alloc_name+0x138/0x150
 ? __audit_filter_op+0xa5/0xf0
 ? mntput_no_expire+0x4a/0x250
 ? audit_reset_context.part.0.constprop.0+0x273/0x2e0
 ? syscall_exit_work+0x103/0x130
 ? syscall_exit_to_user_mode+0x19/0x40
 ? do_syscall_64+0x6b/0xe0
 ? do_syscall_64+0x6b/0xe0
 ? syscall_exit_to_user_mode+0x19/0x40
 ? do_syscall_64+0x6b/0xe0
 ? do_syscall_64+0x6b/0xe0
 ? sysvec_apic_timer_interrupt+0x3c/0x90
 entry_SYSCALL_64_after_hwframe+0x78/0x80
RIP: 0033:0x7f06436fd4fe
RSP: 002b:00007ffe95656ad8 EFLAGS: 00000206 ORIG_RAX: 0000000000000106
RAX: ffffffffffffffda RBX: 00007ffe956570b0 RCX: 00007f06436fd4fe
RDX: 00007ffe95656af0 RSI: 0000556ca0a5e253 RDI: 0000000000000006
RBP: 0000556ca0a5e253 R08: 0000556ca0a402e0 R09: 0000556ca0a38010
R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffe95656af0
R13: 00007ffe95656bf0 R14: 0000556ca0a414c0 R15: 00000000000000a0
 </TASK>
Kernel panic - not syncing: hung_task: blocked tasks
CPU: 43 PID: 361 Comm: khungtaskd Kdump: loaded Tainted: P           OE     -------  ---  5.14.0-570.28.1.el9_6.x86_64 #1
Hardware name: Dell Inc. PowerEdge R760/0024FG, BIOS 2.6.5 07/11/2025
Call Trace:
 <TASK>
 dump_stack_lvl+0x34/0x48
 panic+0x107/0x2bb
 check_hung_uninterruptible_tasks.cold+0xc/0xc
 ? __pfx_watchdog+0x10/0x10
 watchdog+0x9a/0xa0
 kthread+0xdd/0x100
 ? __pfx_kthread+0x10/0x10
 ret_from_fork+0x29/0x50
 </TASK>

Environment

  • Red Hat Enterprise Linux 9.6.z - 5.14.0-570.28.1.el9_6.x86_64
  • Automatic NUMA balancing enabled
  • Veritas VxFS

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content