Critical Linux NFS Vulnerability NFS2Root May Affect Kernels Spanning 12 Years
Cybersecurity and privacy
Security firm OpenSec revealed a critical vulnerability in the Linux kernel nfsd component, dubbed NFS2Root (CVE-2026-99362, CVSS 9.8). Unauthenticated attackers connecting to TCP port 2049 can trigger a kernel heap buffer overflow to gain root privileges. Introduced in Linux 3.16 in 2014, it impacts versions across nearly 12 years. Users are advised to apply patches immediately, restrict port 2049 access via firewall, or disable NFS v4.1 and v4.2.
Cybersecurity firm OpenSec has disclosed a critical flaw in the Linux kernel's Network File System (NFS) server module (nfsd), designated as NFS2Root (CVE-2026-99362) with a CVSS score of 9.8. Unauthenticated attackers able to reach TCP port 2049 can trigger a heap buffer overflow in the kernel and obtain root privileges. The vulnerability was first reported in August by an ANSSI researcher who submitted a fix, followed a month later by OpenSec independently identifying the same flaw using its AI tool. Introduced in Linux 3.16 released in 2014, the issue potentially affects Linux kernel versions across nearly 12 years. System administrators are urged to apply kernel security updates promptly, or deploy mitigations such as firewall restrictions on TCP port 2049 and disabling NFS v4.1/v4.2.
Key takeaways
- OpenSec disclosed CVE-2026-99362 (CVSS 9.8) in Linux nfsd, allowing unauthenticated attackers reaching TCP port 2049 to gain root access via heap buffer overflow.
- The flaw stems from the NFS v4.1 reply cache mechanism, where crafted requests cause out-of-bounds writes into kernel heap memory.
- Present since Linux 3.16 in 2014, it impacts nearly 12 years of kernels; ANSSI reported it in August, with OpenSec independently finding it via an AI tool.
- Administrators should apply updates immediately, restrict access to TCP port 2049 via firewall, or disable NFS v4.1 and v4.2 as a temporary workaround.
Source:iThome Read the original ↗
Prepared, checked and automatically published by AI; not individually reviewed by a human. Translation checked by AI.