12-Year-Old NFS Kernel Flaw Allows Unauthenticated Remote Root Access
A heap buffer overflow in the Linux NFS server implementation (CVE-2026-99362, dubbed NFS2ROOT) has persisted since kernel 3.16, enabling remote attackers to gain root access without authentication. Systems running vulnerable kernel versions with the NFS daemon (nfsd v4.1 or 4.2) accessible on TCP port 2049 are at immediate risk. The flaw was recently discovered by ANSSI and disclosed with working exploits in late September.
The attack works by sending malformed NFS requests that overflow a kernel buffer, allowing the attacker to corrupt memory, bypass KASLR protections, and place executable code in freed memory. When the malicious connection closes, the embedded payload executes with kernel privileges, granting full system compromise. The attack requires no user interaction and succeeds from any network-reachable source—particularly dangerous for file servers, NAS appliances, and Kubernetes storage infrastructure where port 2049 commonly sits exposed.
No wild exploitation has been reported yet, but immediate patching is essential. Vulnerable systems should update to patched kernels (6.12.117, 6.18.61, 7.3.2, or 7.4-rc1 and later). Until patched, restricting NFS access to trusted networks, disabling the service if unnecessary, and monitoring for kernel warnings and anomalous NFS session patterns can reduce exposure. This joins a lengthening roster of recent Linux privilege escalation flaws.
Read the full article
Continue reading at BleepingComputer →This is an AI-generated summary. Read the original for the full story.