A kernel panic occurs when a file is created by the nfs daemon on RHEL7

Solution Unverified - Updated -

Issue

  • A kernel panic occurs suddenly while accessing NFS filesystems in RHEL7
kernel BUG at fs/dcache.c:1557!
invalid opcode: 0000 [#1] SMP
Modules linked in: ... symap_rh_ES_7_3_10_0_514_el7_x86_64(POE) symev_rh_ES_7_3_10_0_514_el7_x86_64(OE) nfsd fscache xfs ...
CPU: 0 PID: 49879 Comm: nfsd Tainted: P        W  OE  ------------   3.10.0-514.26.2.el7.x86_64 #1
Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 09/21/2015
...
Call Trace:
 [<ffffffffa0238648>] xfs_vn_mknod+0x108/0x250 [xfs]
 [<ffffffffa02387a6>] xfs_vn_mkdir+0x16/0x20 [xfs]
 [<ffffffff8120aae7>] vfs_mkdir+0xb7/0x160
 [<ffffffffa0374d29>] nfsd_create+0x4b9/0x540 [nfsd]
 [<ffffffffa0381213>] nfsd4_create+0xd3/0x430 [nfsd]
 [<ffffffff812adbeb>] ? selinux_cred_prepare+0x1b/0x30
 [<ffffffffa03827bc>] nfsd4_proc_compound+0x49c/0x790 [nfsd]
 [<ffffffffa04e2016>] symev_nfsd4_proc_compound+0x216/0x770 [symev_rh_ES_7_3_10_0_514_el7_x86_64]
 [<ffffffffa036d713>] nfsd_dispatch+0xd3/0x280 [nfsd]
 [<ffffffffa0325ea3>] svc_process_common+0x453/0x6f0 [sunrpc]
 [<ffffffffa032624b>] svc_process+0x10b/0x1a0 [sunrpc]
 [<ffffffffa036d07f>] nfsd+0xdf/0x150 [nfsd]
 [<ffffffffa036cfa0>] ? nfsd_destroy+0x80/0x80 [nfsd]
 [<ffffffff810b0a4f>] kthread+0xcf/0xe0
 [<ffffffff810b0980>] ? kthread_create_on_node+0x140/0x140 
 [<ffffffff81697658>] ret_from_fork+0x58/0x90
 [<ffffffff810b0980>] ? kthread_create_on_node+0x140/0x140
Code: 89 ef e8 ...
RIP  [<ffffffff81216b99>] d_instantiate+0x69/0x70
RSP <ffff88000981ba60>

Environment

  • Red Hat Enterprise Linux 7.3
    • kernel-3.10.0-514.16.1.el7.x86_64
    • kernel-3.10.0-514.26.2.el7.x86_64
  • Red Hat Enterprise Linux 7.9
    • 3.10.0-1160.11.1.el7.x86_64
  • nfsd exporting an xfs filesystem
  • Symantec Endpoint Protection
    • sav-14.0.3897-1101.i386

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