System crashed with soft lockup due to long looping in '__fsnotify_update_child_dentry_flags()'

Solution In Progress - Updated -

Issue

  • System shows soft lockup messages.
...
[2894792.540152] watchdog: BUG: soft lockup - CPU#38 stuck for 22s! [gio:4002837]
[2894792.540188] Modules linked in: rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace fscache bonding tls nf_tables nfnetlink sunrpc intel_rapl_msr ...
[2894792.540241] CPU: 38 PID: 4002837 Comm: gio Kdump: loaded Not tainted 4.18.0-553.5.1.el8_10.x86_64 #1
[2894792.540244] Hardware name: HPE Synergy 480 Gen10/Synergy 480 Gen10 Compute Module, BIOS I42 09/29/2022
[2894792.540245] RIP: 0010:__fsnotify_update_child_dentry_flags.part.7+0xa5/0x110
[2894792.540254] Code: 84 24 a0 00 00 00 48 8d 98 70 ff ff ff 48 39 c5 75 24 eb 41 80 ce 40 89 13 4c 89 ff c6 07 00 0f 1f 40 00 48 8b 83 90 00 00 00 <48> 8d 98 70 ff ff ff 48 39 c5 74 1f 48 83 7b 30 00 74 e6 4c 8d 7b
[2894792.540256] RSP: 0018:ffffbb8e75b2fe18 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
[2894792.540258] RAX: ffff8f576ac61350 RBX: ffff8f576ac61ec0 RCX: 0000000000000000
[2894792.540259] RDX: 0000000000284040 RSI: 0000000000000001 RDI: ffff8fb897d7d0d8
[2894792.540260] RBP: ffff8fb6e41a4460 R08: ffffbb8e75b2fe10 R09: 0000000000100000
[2894792.540262] R10: 0000000000000040 R11: 0000000000000218 R12: ffff8fb6e41a43c0
[2894792.540263] R13: 00000000000003ce R14: ffff8fb6e41a4418 R15: ffff8fb897d7d0d8
[2894792.540264] FS:  00007f3364799f00(0000) GS:ffff8fb47fd00000(0000) knlGS:0000000000000000
[2894792.540266] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[2894792.540267] CR2: 000056462bd3cc4f CR3: 0000000da2390006 CR4: 00000000007706e0
[2894792.540268] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[2894792.540269] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[2894792.540270] PKRU: 55555554
[2894792.540271] Call Trace:
[2894792.540273]  <IRQ>
[2894792.540276]  ? watchdog_timer_fn.cold.10+0x46/0x9e
[2894792.540280]  ? watchdog+0x30/0x30
[2894792.540283]  ? __hrtimer_run_queues+0x101/0x280
[2894792.540288]  ? hrtimer_interrupt+0x100/0x220
[2894792.540290]  ? sched_clock+0x5/0x10
[2894792.540296]  ? smp_apic_timer_interrupt+0x6a/0x130
[2894792.540300]  ? apic_timer_interrupt+0xf/0x20
[2894792.540305]  </IRQ>
[2894792.540306]  ? __fsnotify_update_child_dentry_flags.part.7+0xa5/0x110
[2894792.540308]  ? __fsnotify_update_child_dentry_flags.part.7+0xc4/0x110
[2894792.540310]  fsnotify_add_mark_locked+0x247/0x310
[2894792.540314]  inotify_update_watch+0x1b8/0x220
[2894792.540318]  __x64_sys_inotify_add_watch+0xe3/0x110
[2894792.540320]  do_syscall_64+0x5b/0x1b0
[2894792.540327]  entry_SYSCALL_64_after_hwframe+0x61/0xc6
[2894792.540330] RIP: 0033:0x7f336218eccb
[2894792.540333] Code: f0 ff ff 73 01 c3 48 8b 0d ba 61 39 00 f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 84 00 00 00 00 00 f3 0f 1e fa b8 fe 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 8d 61 39 00 f7 d8 64 89 01 48
[2894792.540334] RSP: 002b:00007ffec4463958 EFLAGS: 00000202 ORIG_RAX: 00000000000000fe
[2894792.540336] RAX: ffffffffffffffda RBX: 000056462bf9d550 RCX: 00007f336218eccb
[2894792.540337] RDX: 0000000001002fce RSI: 000056462bf9d3a0 RDI: 0000000000000007
[2894792.540338] RBP: 00007ffec4463984 R08: 0000000000000003 R09: 000056462bf43012
[2894792.540339] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000
[2894792.540340] R13: 000056462bf95ec0 R14: 000056462bf9d400 R15: 0000000000000000
...

Environment

  • Red Hat Enterprise Linux 8.10

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