← Back to articles
Critical NFS2ROOT Vulnerability Discovered in Linux NFS Servers
Cybersecurity·01 Dec 2026

Critical NFS2ROOT Vulnerability Discovered in Linux NFS Servers

1.png

Information:  NFS (Network File System) is a standard protocol used to share files and storage resources between systems over a network. On Linux operating systems, it is implemented through a kernel-level NFS server service known as nfsd. NFS is widely used in enterprise file servers, Network-Attached Storage (NAS) appliances, software build and processing environments (Build Farms), as well as storage infrastructure for container platforms such as Kubernetes and OpenShift.

Incident:  A critical security vulnerability, CVE-2026-99362, also known as NFS2ROOT, has been identified with a CVSS v3.1 score of 9.8 (Critical). The vulnerability is caused by an Out-of-bounds Write flaw that results in a Heap Buffer Overflow within the Kernel Heap memory of the Linux Kernel's nfsd service. This allows attackers to write data beyond the allocated memory boundaries. The underlying flaw has been present in the code since Linux Kernel version 3.16, released in 2014, meaning it has existed for more than 12 years.

  The vulnerability affects Linux Kernel versions that have not yet received the relevant security patches. The fixed versions for each respective branch are 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, and 7.4-rc1. System administrators should also check for security updates provided by their respective Linux distributions, as some vendors may have backported the fixes to earlier Kernel versions.        Systems are at risk when the Linux Kernel NFS Server service (nfsd) is enabled, NFSv4.1 or NFSv4.2 is supported, and TCP port 2049 is accessible from reachable networks. Attackers can send specially crafted NFS packets containing a SEQUENCE operation to trigger improper memory allocation and handling of the reply data buffer (Reply Cache / Slot Buffer). This can cause response data to be written beyond the allocated Kernel memory boundaries, potentially allowing attackers to remotely escalate privileges to Root without requiring authentication.

Recommendation:

  -   Apply Security Patches: Immediately update the Linux Kernel to a patched version or install backported security fixes provided by Linux distribution vendors such as Red Hat,            Ubuntu, and Debian.

  -   Restrict TCP Port 2049 Access: Configure Firewall policies to restrict access to the NFS Server's TCP port 2049, allowing connections only from authorized IP addresses or  trusted internal storage networks. Block access from the public Internet.

  -   Disable Unnecessary NFS Services: Disable the NFS Server service (nfsd) on systems that  do not require NFS functionality to reduce the risk of exploitation.

  -   Temporarily Disable NFSv4.1 and NFSv4.2: If NFS is still required but immediate patching is not possible, consider temporarily disabling NFSv4.1 and NFSv4.2 in accordance with  the mitigation guidance provided by the respective Linux distribution vendor.

  -   Monitor for Suspicious Processes: Check for unexpected shell processes, such as /bin/sh, or suspicious commands launched by Kernel Worker processes on NFS Server systems.

References :

          -   https://opensec.in/blog/nfs2root-cve-2026-99362?

           -   https://www.openwall.com/lists/oss-security/2026/11/28/2?

           -   https://lists.openwall.net/linux-cve-announce/2026/11/19/36?utm_source

           -   https://www.cve.org/CVERecord/?id=CVE-2026-99362