# CVE-2026-31403: NFSD: Hold net reference for the lifetime of /proc/fs/nfs/exports fd

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.19% (percentile 5, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-04-03T15:16:06.444Z
- **Modified:** 2026-11-10T13:18:51.360Z

## Who should check

- Anyone running Linux \>= 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5, \< 76740c28050dc6db2f5550f1325b00a11bbb3255; \>= 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5, \< c7f406fb341d6747634b8b1fa5461656e5e56076; \>= 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5, \< d1a19217995df9c7e4118f5a2820c5032fef2945; \>= 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5, \< e3d77f935639e6ae4b381c80464c31df998d61f4; \>= 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5, \< db4a9f99b12a7ee1c19d86c83a3b752c7effa6c6; \>= 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5, \< 6a8d70e2ad6aad2c345a5048edcb8168036f97d6; \>= 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5, \< e7fcf179b82d3a3730fd8615da01b087cc654d0b
- Anyone running Linux 3.9

## Description

In 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.

## Affected and fixed versions

- Linux: \>= 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5, \< 76740c28050dc6db2f5550f1325b00a11bbb3255; \>= 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5, \< c7f406fb341d6747634b8b1fa5461656e5e56076; \>= 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5, \< d1a19217995df9c7e4118f5a2820c5032fef2945; \>= 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5, \< e3d77f935639e6ae4b381c80464c31df998d61f4; \>= 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5, \< db4a9f99b12a7ee1c19d86c83a3b752c7effa6c6; \>= 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5, \< 6a8d70e2ad6aad2c345a5048edcb8168036f97d6; \>= 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5, \< e7fcf179b82d3a3730fd8615da01b087cc654d0b (cvelist)
- Linux: 3.9 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-31403. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31403.md
Affected: Linux >= 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5, < 76740c28050dc6db2f5550f1325b00a11bbb3255; >= 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5, < c7f406fb341d6747634b8b1fa5461656e5e56076; >= 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5, < d1a19217995df9c7e4118f5a2820c5032fef2945; >= 96d851c4d28de8cc83fe2bd…
Fixed in: Linux 76740c28050dc6db2f5550f1325b00a11bbb3255, Linux 6a8d70e2ad6aad2c345a5048edcb8168036f97d6

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-31403 being exploited?

There is no confirmed exploitation: CVE-2026-31403 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-31403?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-31403?

Linux \>= 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5, \< 76740c28050dc6db2f5550f1325b00a11bbb3255; \>= 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5, \< c7f406fb341d6747634b8b1fa5461656e5e56076; \>= 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5, \< d1a19217995df9c7e4118f5a2820c5032fef2945; \>= 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5, \< e3d77f935639e6ae4b381c80464c31df998d61f4; \>= 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5, \< db4a9f99b12a7ee1c19d86c83a3b752c7effa6c6; \>= 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5, \< 6a8d70e2ad6aad2c345a5048edcb8168036f97d6; \>= 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5, \< e7fcf179b82d3a3730fd8615da01b087cc654d0b; Linux 3.9.

### Is there a fix for CVE-2026-31403?

Yes. Fixed in Linux 76740c28050dc6db2f5550f1325b00a11bbb3255, Linux 6a8d70e2ad6aad2c345a5048edcb8168036f97d6. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-31403?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/76740c28050dc6db2f5550f1325b00a11bbb3255>
- patch: <https://git.kernel.org/stable/c/c7f406fb341d6747634b8b1fa5461656e5e56076>
- patch: <https://git.kernel.org/stable/c/d1a19217995df9c7e4118f5a2820c5032fef2945>
- patch: <https://git.kernel.org/stable/c/e3d77f935639e6ae4b381c80464c31df998d61f4>
- patch: <https://git.kernel.org/stable/c/db4a9f99b12a7ee1c19d86c83a3b752c7effa6c6>
- patch: <https://git.kernel.org/stable/c/6a8d70e2ad6aad2c345a5048edcb8168036f97d6>
- patch: <https://git.kernel.org/stable/c/e7fcf179b82d3a3730fd8615da01b087cc654d0b>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-31403>

HTML: <https://flawdb.com/CVE-2026-31403> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-31403>
