CVE Database›Document archive›CVE-2026-31403

CVE-2026-31403

kernel: NFSD: Hold net reference for the lifetime of /proc/fs/nfs/exports fd

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · April 3, 2026

Updated · June 30, 2026

Description

A flaw was found in the Linux kernel's Network File System Daemon (NFSD) component. A local user can exploit this vulnerability by opening the /proc/fs/nfs/exports file and then causing the associated network namespace to be destroyed. Subsequent attempts to read from the still-open file descriptor will lead to dereferencing freed memory, which can result in a system crash or a Denial of Service (DoS).

Statement

exports_proc_open() cached export cache without pinning struct net. After namespace teardown, nfsd_export_shutdown() freed the cache while the fd remained open. Holding a net reference for the fd lifetime prevents the UAF. Relevant to NFS server and container or namespace workflows.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-825 · Expired Pointer Dereference