CVE-2026-31404
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-31404 is a use-after-free / NULL pointer dereference vulnerability in the Linux kernel's NFSD (Network File System Daemon) subsystem, specifically in the export put callbacks (svc_export_put() and expkey_put()). The flaw arises because sub-object cleanup (via path_put() and auth_domain_put()) occurs before the RCU grace period completes, allowing concurrent RCU readers to access already-freed memory. Affected kernel versions include 6.14 through 6.18.19, 6.19 through 6.19.9, and 7.0-rc1 through 7.0-rc4. It was published on April 3, 2026, and carries a CVSS v3.1 base score of 7.8 (High) (GitHub Advisory).

Technical details

The root cause is classified as CWE-476 (NULL Pointer Dereference), stemming from a race condition between RCU readers and cache cleanup in the NFSD export subsystem. svc_export_put() calls path_put() and auth_domain_put() immediately upon the last reference drop — before the RCU grace period — while RCU readers in e_show() and c_show() concurrently access ex_path (via seq_path/d_path) and ex_client->name (via seq_escape) without holding a reference. When cache_clean removes an entry and drops the last reference concurrently, the sub-objects are freed while still in use, producing a NULL pointer dereference in d_path. The same pattern exists in expkey_put() affecting ek_path and ek_client. A prior partial fix (commit 2530766492ec) moved kfree of ex_uuid and ex_stats into a call_rcu callback but left path_put() and auth_domain_put() unprotected because they may sleep and call_rcu callbacks execute in softirq context (GitHub Advisory).

Impact

Successful exploitation can cause kernel panics or denial of service on Linux systems running NFSD, disrupting NFS services for all connected clients. The vulnerability has high confidentiality, integrity, and availability impact scores, meaning a local attacker with low privileges could potentially leverage the crash to escalate privileges or corrupt kernel memory. Systems acting as NFS servers are most at risk, and exploitation during concurrent export cache cleanup operations could render NFS services completely unavailable (GitHub Advisory).

Indicators of compromise

  • Logs: Kernel logs (dmesg, /var/log/kern.log) showing NULL pointer dereference oops messages referencing d_path, e_show, c_show, svc_export_put, or expkey_put in the NFSD subsystem.
  • System Behavior: Unexpected kernel panics or system reboots on hosts serving NFS exports, particularly during periods of high NFS export cache churn.
  • Process: NFS daemon (nfsd) crashes or restarts correlated with concurrent access to /proc/net/rpc/nfsd.export or similar RCU-protected export cache entries.

Mitigation and workarounds

Apply kernel patches that replace call_rcu/kfree_rcu with queue_rcu_work() in both svc_export_put() and expkey_put(), deferring cleanup to process context after the RCU grace period. Fixed versions include Linux kernel 6.18.20+ and 6.19.10+; patches are available at the stable kernel tree (GitHub Advisory). Vendor-specific updates are available from SUSE (SUSE-SU-2026:2217-1, SUSE-SU-2026:2238-1) and Amazon Linux 2023 (ALAS2023-2026-1596). If immediate patching is not possible, limit NFS service exposure by restricting access to trusted networks and monitor kernel logs for NULL pointer dereference messages in the NFSD subsystem.

Community reactions

The vulnerability was announced via the Linux kernel CVE mailing list (lore.kernel.org) and picked up by standard vulnerability tracking services including Tenable Nessus (plugin 311340), Qualys, INCIBE-CERT, and the Yocto Project security list. No notable independent researcher commentary or significant social media discussion beyond automated CVE tracking has been observed.

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management