NFS2ROOT – Critical flaw in the Linux NFS server

An unauthenticated out-of-bounds write in the NFSv4.1 and NFSv4.2 server
November 26, 2026 · Martin Ehrentraut · Security · AI Assisted
Patch status: CVE-2026-99362 affects Linux kernel NFS servers (nfsd) using NFSv4.1 or NFSv4.2. Fixes are available in several kernel branches and Debian packages. Check your vendor’s kernel track and restrict access to TCP port 2049.
NFS server cube with network packets, a port 2049 tile, a terminal symbol and an open padlock.
Illustration of network exposure for the Linux NFS server.

The Linux CVE record assigns NFS2ROOT a CVSS v3.1 score of 9.8 (critical) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The affected logic dates back to Linux 3.16. “NFS2Shell” also appears as a search term for this issue. Linux CVE record

What the kernel report confirms

During NFSv4 session processing, nfsd limits the reply buffer to the negotiated cache size. Incorrect handling of an oversized response can cause a write into a cache slot with no data capacity. The kernel team’s KASAN report recorded an 80-byte out-of-bounds write (CWE-787). The memory corruption could potentially lead to kernel code execution. The public evidence confirms the write itself.

Which systems are exposed?

Review Linux file servers, NAS appliances and storage nodes using kernel nfsd with NFSv4.1 or NFSv4.2. The relevant session processing occurs before export-level access checks, so a server can be exposed even without configured exports. Client-only systems are unaffected. Red Hat says a default RHEL installation does not run nfsd.

Check your exposure

An NFSv4.1/4.2 switch in the off position beside version tiles, a firewall symbol and a wrench.
Check enabled NFS versions and network access to the server.

1. Check the running server and enabled protocol versions

systemctl status nfs-server
            cat /proc/fs/nfsd/versions
            uname -r

The service name varies by distribution. Check whether NFSv4.1 or NFSv4.2 is enabled and compare the running kernel’s package revision with your vendor’s tracker.

2. Review exports and network access

exportfs -v
            ss -ltn 'sport = :2049'

These checks show configured exports and local listeners. Review firewall rules and segmentation to establish which networks can reach the service.

Updates and mitigations

The upstream change verifies that the SEQUENCE reply and space for a following error status fit the negotiated buffer before accepting the slot. The Linux CVE record and Debian kernel tracker identify 6.12.117 as a fixed upstream release on the 6.12 branch. Debian lists 6.12.117-1 for Trixie’s linux package and 6.12.117-1~deb12u1 for Bookworm’s linux-6.12 package. Debian Security Tracker

In the Canonical tracker reviewed for this article, the generic kernels for Ubuntu 22.04 and 24.04 LTS remain marked vulnerable, with work in progress for 26.04 and 26.10. No published package fix appeared in the Red Hat entry reviewed. Install a verified fix for your kernel track and confirm the running kernel after reboot.

While waiting for an update, turn off unused NFS servers. Disable NFSv4.1 and v4.2 where clients can operate without them, and restrict TCP port 2049 to the required trusted networks. Apply that restriction to internal access as well.

Known exploitation

The review found no confirmed public exploit or active exploitation. The CVE record includes a KASAN report. CISA’s November 25, 2026 KEV release does not list the CVE. OpenCVE showed EPSS below 1% when checked. EPSS estimates the probability that exploitation activity will be observed over the next 30 days.

Related NFS issues: CVE-2026-89685 concerns denial of service in grace-period handling. CVE-2026-99373 concerns short reads and writes in NFS LocalIO.

Sources