Critical Linux NFS Flaw Exposes Servers to Remote Takeover After Over a Decade
A vulnerability that has lingered in the Linux kernel for more than a decade is now public, giving attackers a path to seize control of networked servers without needing any credentials. The flaw, tracked as CVE-2026-99362 and nicknamed NFS2ROOT, stems from a pre‑authentication heap overflow in the kernel's built‑in NFS daemon (nfsd).
Security researchers discovered that a single unauthenticated TCP connection to the standard NFS port (2049) can corrupt kernel memory, effectively bypassing all login mechanisms. The vulnerability carries a CVSS v3.1 rating of 9.8, placing it at the highest severity level and signaling a near‑certain chance of remote code execution.
Although the bug was introduced in a kernel release more than twelve years ago, it remained undetected until the recent disclosure by the GBHackers group. The oversight highlights how deep‑seated code paths—especially those handling network protocols—can evade conventional testing and code review processes for extended periods.
Network File System (NFS) is a staple of many enterprise and cloud environments, enabling seamless file sharing across Linux servers. Because nfsd operates within the kernel space, any compromise can grant an attacker full system privileges, potentially allowing them to install malware, exfiltrate data, or pivot to other assets on the same network.
Following the report, maintainers of the Linux kernel have issued an emergency patch that addresses the heap overflow by adding stricter bounds checking and input validation to the affected code path. Distributions are urged to roll out the update immediately, and administrators are advised to temporarily block inbound traffic on port 2049 until systems are patched.
Experts note that the discovery underscores the importance of regular kernel updates and the need for defense‑in‑depth strategies such as network segmentation and intrusion‑detection systems. While the vulnerability is severe, its exploitation requires direct access to the NFS service, meaning that organizations that have disabled or tightly controlled NFS exposure may face reduced risk.
The incident also reignites discussion within the open‑source community about improving automated static analysis and fuzzing of kernel components. As the Linux ecosystem continues to power a growing share of critical infrastructure, the NFS2ROOT flaw serves as a reminder that even mature codebases can harbor hidden weaknesses that demand vigilant scrutiny.
Comments (0)
Be the first to comment.
Join the discussion