CVE-2026-31403
HighIn the Linux kernel, the following vulnerability has been resolved: NFSD: Hold net reference for the lifetime of /proc/fs/nfs/exports fd The /proc/fs/nfs/exports proc entry is created at module init and persists for the module's lifetime. exports_proc_open() captures the caller's current network namespace and stores its svc_export_cache in seq->private, but takes no reference on the namespace. If the namespace is subsequently torn down (e.g. container destruction after the opener does setns() to a different namespace), nfsd_net_exit() calls nfsd_export_shutdown() which frees the cache. Subsequent reads on the still-open fd dereference the freed cache_detail, walking a freed hash table. Hold a reference on the struct net for the lifetime of the open file descriptor. This prevents nfsd_net_exit() from running -- and thus prevents nfsd_export_shutdown() from freeing the cache -- while any exports fd is open. cache_detail already stores its net pointer (cd->net, set by cache_create_net()), so exports_release() can retrieve it without additional per-file storage.
CVSS 3.1 score
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected versions
Linux kernel versions
3.9
and later are affected. Fixed in
5.10.253,
6.1.167,
6.6.130,
6.12.78,
6.18.20,
6.19.10,
7.0
and their respective stable series.
References
The following references provide additional information about CVE-2026-31403 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/6a8d70e2ad6aad2c345a5048edcb8168036f97d6
-
PatchKernel patch commithttps://git.kernel.org/stable/c/76740c28050dc6db2f5550f1325b00a11bbb3255
-
PatchKernel patch commithttps://git.kernel.org/stable/c/c7f406fb341d6747634b8b1fa5461656e5e56076
Frequently asked questions
-
What is CVE-2026-31403?
CVE-2026-31403 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 . It affects Linux kernel versions from 3.9 onward and has been patched in 5.10.253, 6.1.167, 6.6.130 and others. CVE-2026-31403 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2026-31403?
CVE-2026-31403 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2026-31403?
Yes — CVE-2026-31403 has been patched. Fixed versions include 5.10.253, 6.1.167, 6.6.130 and others. If you are running Linux kernel 3.9 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-31403 actively exploited?
No — CVE-2026-31403 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.