
A critical vulnerability in the Linux kernel’s Network File System (NFS) server has drawn attention because the flaw reportedly remained in the codebase for approximately 12 years. Tracked as CVE-2026-99362 and named NFS2ROOT, the vulnerability is a heap buffer overflow affecting the Linux kernel’s NFS server (nfsd).
The vulnerability dates back to Linux kernel 3.16, released in 2014. Under specific conditions, an unauthenticated remote attacker could exploit the flaw to corrupt kernel memory, potentially leading to remote code execution with root privileges.
The issue is particularly concerning because it affects an infrastructure service commonly used for shared storage across enterprise Linux environments.
What is NFS2ROOT?
NFS2ROOT is associated with improper handling of buffer sizes within the Linux kernel’s NFS server implementation. The vulnerability involves processing specific NFSv4.1 session operations and cached replies, potentially resulting in an out-of-bounds memory write.
Because the vulnerable functionality can be reached without authentication, an attacker with network access to a vulnerable NFS service may be able to trigger the flaw without possessing legitimate credentials.
The potential impact ranges from system crashes and denial of service to kernel-level compromise and root access. Researchers have demonstrated the vulnerability’s potential for remote root exploitation in controlled environments.
Why it matters
NFS is widely used across enterprise infrastructure for file sharing, application storage, backups, virtualization, and container workloads. A vulnerability within the kernel-level NFS server therefore has implications beyond traditional file servers.
Systems potentially exposed include Linux file servers, NAS platforms, backup infrastructure, virtualization environments, and Kubernetes platforms using NFS-backed storage.
The primary concern is whether vulnerable systems are running the NFS server functionality and whether the service is accessible from untrusted networks. Systems using NFS only as clients are not the primary attack surface for this vulnerability.
Affected and fixed Linux kernel versions
The vulnerability affects upstream Linux kernel code dating back to version 3.16. Fixes have been released across multiple maintained kernel branches.
The vulnerability is fixed in Linux 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61 and 7.3.2, with the fix also incorporated into 7.4-rc1.
The corresponding upstream fixes have been backported into supported kernel branches. Linux distributions may therefore use different package versions containing the fix.
Organizations should validate the installed kernel against their distribution’s security advisory rather than relying solely on the upstream version number.
Linux distributions affected
The vulnerability is not restricted to a single Linux flavour. It affects distributions that ship vulnerable kernel code and operate the kernel NFS server with the relevant NFS versions enabled.
Red Hat Enterprise Linux: The vendor status varies by release and support stream. RHEL 8 security updates have been released, and updates were also published for certain RHEL 10 streams. RHEL 9 and some older releases were still listed as affected without a fix in the latest status reviewed. Organizations should check the specific Red Hat erratum for their release and kernel package.
Ubuntu: The vulnerability was listed as affecting multiple releases, including Ubuntu 16.04, 18.04, 20.04, 22.04 and 24.04. Ubuntu 26.04 and 26.10 were also being tracked. At the time of the latest status reviewed, fixes were still pending across several Ubuntu kernel flavours.
Debian: Security updates have been released for Debian 12 Bookworm and Debian 13 Trixie. Debian 12’s security fix is listed as 6.1.192-3, while Debian 13 is fixed in 6.12.117-1. The Debian security tracker also lists fixed packages for the Bookworm 6.12 kernel.
SUSE Linux Enterprise: Affected releases and maintenance streams were being tracked by SUSE, with patch availability varying by product and support stream. Administrators should validate their specific SLES release against the vendor’s security tracker.
Amazon Linux: Amazon Linux 2 and Amazon Linux 2023 kernel packages have security updates addressing the vulnerability. The exact fixed package depends on the kernel branch deployed.
Oracle Linux: Oracle Linux releases using the Unbreakable Enterprise Kernel and applicable Red Hat Compatible Kernel branches require release-specific validation against Oracle’s security errata.
AlmaLinux and Rocky Linux: Enterprise Linux derivatives using vulnerable kernel code are also affected. Security updates have been released for applicable EL8 branches, while other releases should be checked against their respective advisories.
The important distinction is that distribution-specific kernel backports can fix the vulnerability without changing the apparent upstream kernel version. Therefore, vulnerability scanners and manual validation should account for vendor package revisions.
Proof of concept and exploitation status
Public reporting indicates that proof-of-concept exploit code is available. OpenSec reportedly shared a full remote-root exploit and a patch with the Linux NFS server maintainers.
Research demonstrated that the vulnerability could be exploited to corrupt kernel memory and potentially achieve root-level access. This elevates the risk beyond a theoretical vulnerability, particularly for systems exposing NFS services to untrusted networks.
However, as of the latest reporting reviewed, there are no confirmed reports of CVE-2026-99362 exploitation in the wild.
Remediation
Organizations should identify Linux systems running the kernel NFS server and determine whether NFSv4.1 or NFSv4.2 is enabled.
Apply the appropriate security update from the operating system vendor and reboot to ensure the patched kernel is running. Until patching is completed, restrict access to NFS services, particularly TCP port 2049, to trusted and authorized clients. Disable NFS server functionality on systems where it is not required.
Infrastructure teams should pay particular attention to shared storage environments, backup servers, virtualization infrastructure, and systems supporting critical applications.


