SUSE Support

Here When You Need Us

Kernel crash in the cifs module with general protection fault in smb2_close_cached_fid

This document (000021737) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 15 SP6


Situation

The kernel crashed in the cifs module with general protection fault in smb2_close_cached_fid with the following kdump stack trace.
For example:

crash> bt
PID: 13725    TASK: ffff8e8a769a4000  CPU: 1    COMMAND: "nmon"
 #0 [ffffa87e4177f6e0] machine_kexec at ffffffff83290ec0
 #1 [ffffa87e4177f740] __crash_kexec at ffffffff833bc153
 #2 [ffffa87e4177f808] crash_kexec at ffffffff833bd5e4
 #3 [ffffa87e4177f818] oops_end at ffffffff83246ba4
 #4 [ffffa87e4177f838] exc_general_protection at ffffffff83e59934
 #5 [ffffa87e4177f8d0] asm_exc_general_protection at ffffffff84000b62
    [exception RIP: smb2_close_cached_fid+37]
    RIP: ffffffffc1156f35  RSP: ffffa87e4177f988  RFLAGS: 00010202
    RAX: dead000000000122  RBX: ffff8e9120d91830  RCX: 0000003a42cbc001
    RDX: dead000000000100  RSI: 0000000000000000  RDI: ffff8e8a47921f00
    RBP: ffff8e9120d91800   R8: 0000000000956798   R9: 0000000000956798
    R10: ffffa87e4177f878  R11: 0000000000000f99  R12: ffffa87e4177fc08
    R13: ffff8e8a47889800  R14: 0000000000000400  R15: 0000000000000000
    ORIG_RAX: ffffffffffffffff  CS: 0010  SS: 0018
 #6 [ffffa87e4177f998] smb2_query_info_compound at ffffffffc116eaf6 [cifs]
 #7 [ffffa87e4177fca0] smb2_queryfs at ffffffffc116f76a [cifs]
 #8 [ffffa87e4177fd10] cifs_statfs at ffffffffc112821f [cifs]
 #9 [ffffa87e4177fd40] statfs_by_dentry at ffffffff836442b4
#10 [ffffa87e4177fd58] vfs_statfs at ffffffff83644a06
#11 [ffffa87e4177fd70] fd_statfs at ffffffff83644d9d
#12 [ffffa87e4177fd98] __do_sys_fstatfs at ffffffff83644e00
#13 [ffffa87e4177fe28] do_syscall_64 at ffffffff83e57478
#14 [ffffa87e4177ff50] entry_SYSCALL_64_after_hwframe at ffffffff84000134

Resolution

This bug is fixed in SLE 15 SP6 kernel versions 6.4.0-150600.23.42.2

Cause

This bug is caused by a race condition between opening, closing and lease-break closing of cached directories for cifs mount points.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000021737
  • Creation Date: 17-Mar-2025
  • Modified Date:18-Mar-2025
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.