As reported by BleepingComputer, a critical Linux kernel vulnerability dubbed NFS2ROOT (CVE-2026-99362) exposes a 12-year-old heap buffer overflow in the NFS server daemon, enabling unauthenticated remote attackers to achieve root privileges on any exposed system. The flaw has existed since kernel 3.16 (March 2014) and affects a remarkably broad footprint of infrastructure.
What makes this vulnerability particularly dangerous is the combination of three factors: it requires no authentication, it operates over a commonly exposed port (TCP 2049), and a full remote-root exploit has already been developed and shared with maintainers. While OpenSec coordinated disclosure responsibly, the existence of a working exploit means threat actors will reverse-engineer and adapt it rapidly. Organizations running NFS on internet-facing hosts are sitting on a pre-authentication kernel compromise path.
Vulnerability Profile
| Attribute | Detail |
|---|---|
| CVE ID | CVE-2026-99362 |
| Severity | Critical (CVSS not yet published) |
| Root Cause | Heap buffer overflow in nfsd (NFSv4.1/4.2) |
| Affected Versions | Linux kernel 3.16 through pre-6.12.117 / 6.18.61 / 7.3.2 / 7.4-rc1 |
| Patched Versions | 6.12.117, 6.18.61, 7.3.2, 7.4-rc1 and later |
| Exploitation in the Wild | None confirmed; functional exploit code exists (private disclosure) |
| Attack Complexity | Low — no user interaction, no credentials required |
| Attack Vector | Remote, via TCP port 2049 |
Who Is Most at Risk
The threat surface here is deceptively large. NFS is not a legacy protocol confined to dusty file servers — it underpins active infrastructure across multiple deployment classes:
- NAS appliances and storage clusters exposed to internal or partner networks
- Kubernetes storage nodes using NFS-backed PersistentVolumes
- Build farm CI/CD workers that mount shared NFS directories
- Cloud-hosted Linux VMs where NFS was enabled during provisioning and never disabled
- Research and HPC environments with broad NFS access patterns
Even hosts not intentionally exposing NFS may be vulnerable if nfsd is loaded and TCP 2049 is reachable through misconfigured firewall rules, cloud security groups, or network segmentation gaps.
Why Kernel Hardening Won't Save You
OpenSec's analysis is blunt: KASLR bypass is achievable through the memory read primitive, and kernel hardening features like SMEP/SMAP do not eliminate the overflow itself. The exploit chain reads kernel memory, defeats ASLR, plants a callback in freed memory, and triggers execution on connection teardown. This is a deterministic kernel compromise path that no compile-time hardening fully mitigates.
The only reliable defense is a patched kernel. Network access control is a stopgap, not a solution.
Detection Guidance
No reliable network signatures exist for the exploit itself. However, defenders should monitor for behavioral indicators of exploitation attempts:
- Kernel warnings originating from
nfsd4_check_resp_size - Shell processes spawned by kernel worker threads on file servers
- Bursts of short-lived NFSv4.1 sessions from a single source IP
- Kernel oops/panics with
nfsd4_*,svc_*, orcall_usermodehelper*in the stack trace
Shield53 Recommendations — Immediate Actions
- Patch now: Update to kernel 6.12.117, 6.18.61, 7.3.2, or 7.4-rc1+ from your distribution vendor. Reboot to ensure the patched kernel is active.
- Inventory NFS exposure: Scan all Linux hosts for nfsd status and TCP 2049 reachability — internally and externally. Use
ss -tlnp | grep 2049and verify cloud security group rules. - Restrict access immediately if patching is delayed: Limit TCP 2049 to trusted client IPs or VPN-only networks. If NFS is not required, stop and disable the nfs-server service in
/etc/nfs.conf. - Deploy detection rules: Forward kernel logs to your SIEM and alert on
nfsd4_check_resp_sizewarnings,call_usermodehelperstack traces, and anomalous NFSv4.1 session patterns. - Assume compromise for long-exposed hosts: If a host has had TCP 2049 internet-facing for an extended period and cannot be patched immediately, treat it as potentially compromised. Isolate, preserve forensic evidence, and rebuild from a known-good image.
This vulnerability is a reminder that kernel network services with decades of legacy code remain a prime target. The 12-year window of exposure means the patch gap is enormous — prioritize accordingly.