Kernel Panics with "stack segment: 0000" at cifs_del_deferred_close()

Solution Verified - Updated -

Issue

  • Kernel panics with following messages:
[6232969.342352] stack segment: 0000 [#1] PREEMPT SMP NOPTI
[6232969.342659] CPU: 15 PID: 3089374 Comm: mv Kdump: loaded Not tainted 5.14.0-362.18.1.el9_3.x86_64 #1
[6232969.342947] Hardware name: HPE ProLiant DL380 Gen10 Plus/ProLiant DL380 Gen10 Plus, BIOS U46 08/11/2022
[6232969.343229] RIP: 0010:cifs_del_deferred_close+0x32/0x90 [cifs]
[6232969.343627] Code: 87 90 00 00 00 48 8b 40 30 48 8b a8 40 03 00 00 48 05 40 03 00 00 48 39 e8 74 63 0f b7 57 30 eb 09 48 8b 6d 00 48 39 c5 74 54 <66> 39 55 18 75 f1 48 8b 4f 38 48 39 4d 20 75 e7 48 8b 77 40 48 39
[6232969.344258] RSP: 0018:ff6e650c84757b88 EFLAGS: 00010297
[6232969.344580] RAX: ff2d29a247429448 RBX: ff2d298e67bc6e00 RCX: 000000325efea1af
[6232969.344899] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ff2d298e67bc6e00
[6232969.345226] RBP: dead000000000100 R08: ff2d29abbff71328 R09: 000000000000004b
[6232969.345561] R10: 0000000000000000 R11: 0000000000000001 R12: ff2d298cc43cb000
[6232969.345899] R13: ff2d298cc43cdfc8 R14: ff6e650c84757ba8 R15: ff2d298cccc07848
[6232969.346237] FS:  00007ff8e22b8880(0000) GS:ff2d29abbffc0000(0000) knlGS:0000000000000000
[6232969.346586] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[6232969.346926] CR2: 00007ff8e1c706c0 CR3: 0000000767fca005 CR4: 0000000000771ee0
[6232969.347276] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[6232969.347633] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[6232969.347988] PKRU: 55555554
[6232969.348345] Call Trace:
[6232969.348707]  <TASK>
[6232969.349068]  ? show_trace_log_lvl+0x1c4/0x2df
[6232969.349443]  ? show_trace_log_lvl+0x1c4/0x2df
[6232969.349798]  ? cifs_close_deferred_file_under_dentry+0xb8/0x1e0 [cifs]
[6232969.350251]  ? __die_body.cold+0x8/0xd
[6232969.350616]  ? die+0x2b/0x50
[6232969.350979]  ? do_trap+0xce/0x120
[6232969.351347]  ? do_error_trap+0x65/0x80
[6232969.351701]  ? exc_stack_segment+0x35/0x50
[6232969.352050]  ? asm_exc_stack_segment+0x22/0x30
[6232969.352399]  ? cifs_del_deferred_close+0x32/0x90 [cifs]
[6232969.352812]  cifs_close_deferred_file_under_dentry+0xb8/0x1e0 [cifs]
[6232969.353238]  ? __build_path_from_dentry_optional_prefix+0x85/0x250 [cifs]
[6232969.353659]  cifs_rename2+0x122/0x5b0 [cifs]
[6232969.354081]  vfs_rename+0x778/0xa50
[6232969.354434]  ? do_renameat2+0x4ef/0x530
[6232969.354793]  do_renameat2+0x4ef/0x530
[6232969.355145]  __x64_sys_renameat2+0x4b/0x60
[6232969.355502]  do_syscall_64+0x59/0x90
[6232969.355854]  ? handle_mm_fault+0xc5/0x2a0
[6232969.356210]  ? do_user_addr_fault+0x1d6/0x6a0
[6232969.356578]  ? do_syscall_64+0x69/0x90
[6232969.356945]  ? exc_page_fault+0x62/0x150
[6232969.357314]  entry_SYSCALL_64_after_hwframe+0x72/0xdc
[6232969.357687] RIP: 0033:0x7ff8e1c706d3
[6232969.358064] Code: 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 49 89 ca 45 85 c0 74 44 b8 3c 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 3d 41 89 c0 83 f8 ff 74 0d 44 89 c0 c3 66 0f
[6232969.358852] RSP: 002b:00007ffe13622aa8 EFLAGS: 00000202 ORIG_RAX: 000000000000013c
[6232969.359260] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007ff8e1c706d3
[6232969.359660] RDX: 00000000ffffff9c RSI: 00007ffe13624d53 RDI: 00000000ffffff9c
[6232969.360051] RBP: 00007ffe13624d53 R08: 0000000000000001 R09: 0000000000000000
[6232969.360439] R10: 00007ffe13624d94 R11: 0000000000000202 R12: 0000562600833a40
[6232969.360823] R13: 00007ffe13624d94 R14: 00000000ffffff9c R15: 0000000000000000
[6232969.361196]  </TASK>
[6232969.361546] Modules linked in:

Environment

  • Red Hat Enterprise Linux 9.3

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