RHEL9: Kernal panic at __slab_free from reconnect_dfs_server

Solution Verified - Updated -

Issue

  • Kernel panic with logs:
[601225.199490] ------------[ cut here ]------------
[601225.199496] kernel BUG at mm/slub.c:435!
[601225.200077] invalid opcode: 0000 [#1] PREEMPT SMP NOPTI
[601225.200081] CPU: 3 PID: 3762320 Comm: cifsd Kdump: loaded Tainted: G        W         -------  ---  5.14.0-503.19.1.el9_5.x86_64 #1
[601225.200085] Hardware name: VMware, Inc. VMware7,1/440BX Desktop Reference Platform, BIOS VMW71.00V.21100432.B64.2301110304 01/11/2023
[601225.200087] RIP: 0010:__slab_free+0x223/0x3c0
[601225.200096] Code: 5e 41 5f c3 cc cc cc cc 4c 89 de 4c 89 cf 44 89 44 24 08 4c 89 1c 24 e8 fb cf 8e 00 44 8b 44 24 08 4c 8b 1c 24 e9 5f fe ff ff <0f> 0b 41 f7 45 08 00 0d 21 00 0f 85 2d ff ff ff e9 1f ff ff ff 80
[601225.200098] RSP: 0018:ffffb26180dbfd08 EFLAGS: 00010246
[601225.200101] RAX: ffff8ea34728e510 RBX: ffff8ea34728e500 RCX: 0000000000800068
[601225.200102] RDX: 0000000000800068 RSI: 0000000000000000 RDI: ffff8ea340042400
[601225.200104] RBP: ffffe112041ca380 R08: 0000000000000001 R09: 0000000000000000
[601225.200105] R10: 6170732e31303000 R11: 70726f632e786563 R12: ffff8ea34728e500
[601225.200106] R13: ffff8ea340042400 R14: ffff8ea34728e500 R15: 0000000000800068
[601225.200108] FS:  0000000000000000(0000) GS:ffff8ea66fd80000(0000) knlGS:0000000000000000
[601225.200109] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[601225.200111] CR2: 00007ffc25376080 CR3: 000000012a2ba001 CR4: 00000000007706f0
[601225.200137] PKRU: 55555554
[601225.200138] Call Trace:
[601225.200141]  <TASK>
[601225.200143]  ? show_trace_log_lvl+0x1c4/0x2df
[601225.200150]  ? show_trace_log_lvl+0x1c4/0x2df
[601225.200157]  ? __reconnect_target_unlocked+0x3e/0x160 [cifs]
[601225.200348]  ? __die_body.cold+0x8/0xd
[601225.200352]  ? die+0x2b/0x50
[601225.200356]  ? do_trap+0xce/0x120
[601225.200359]  ? __slab_free+0x223/0x3c0
[601225.200362]  ? do_error_trap+0x65/0x80
[601225.200364]  ? __slab_free+0x223/0x3c0
[601225.200366]  ? exc_invalid_op+0x4e/0x70
[601225.200371]  ? __slab_free+0x223/0x3c0
[601225.200373]  ? asm_exc_invalid_op+0x16/0x20
[601225.200379]  ? __slab_free+0x223/0x3c0
[601225.200382]  ? extract_hostname+0x5c/0xa0 [cifs]
[601225.200490]  ? extract_hostname+0x5c/0xa0 [cifs]
[601225.200605]  ? __kmalloc+0x4b/0x140
[601225.200610]  __reconnect_target_unlocked+0x3e/0x160 [cifs]
[601225.200731]  reconnect_dfs_server+0x145/0x430 [cifs]
[601225.200806]  cifs_handle_standard+0x1ad/0x1d0 [cifs]
[601225.200903]  cifs_demultiplex_thread+0x592/0x730 [cifs]
[601225.200992]  ? __pfx_cifs_demultiplex_thread+0x10/0x10 [cifs]
[601225.201069]  kthread+0xdd/0x100
[601225.201074]  ? __pfx_kthread+0x10/0x10
[601225.201077]  ret_from_fork+0x29/0x50
[601225.201081]  </TASK>
[601225.201082] Modules linked in: tls nls_utf8 cifs cifs_arc4 rdma_cm iw_cm ib_cm ib_core cifs_md4 dns_resolver nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set rfkill nf_tables nfnetlink vsock_loopback vmw_vsock_virtio_transport_common vmw_vsock_vmci_transport vsock vfat fat intel_rapl_msr intel_rapl_common intel_uncore_frequency_common isst_if_mbox_msr isst_if_common vmw_balloon nfit libnvdimm vmw_vmci rapl pcspkr i2c_piix4 joydev xfs libcrc32c vmwgfx sr_mod cdrom drm_ttm_helper ttm drm_kms_helper sd_mod crct10dif_pclmul t10_pi crc32_pclmul ahci crc32c_intel ata_generic drm sg libahci ata_piix ghash_clmulni_intel libata vmxnet3 vmw_pvscsi serio_raw dm_mirror dm_region_hash dm_log dm_mod fuse

Environment

  • Red Hat Enterprise Linux 9
  • [cifs]
  • Windows Distributed Filesystem

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