12-Year Linux NFS Bug Grants Remote Root Access
Original: Nfs2root: A 12-year-old pre-auth remote root in the Linux kernel's NFS server
Why This Matters
Unauthenticated remote root on a 12-year-old default Linux service is rare and severe.
CVE-2026-99362, a pre-auth heap overflow in Linux's nfsd, lets any unauthenticated attacker on tcp/2049 gain a root shell. Present since Linux 3.16 (2014), CVSS 9.8. Fixed in kernels 6.12.117, 6.18.61, 7.3.2, and 7.4-rc1.
OpenSec researchers have disclosed CVE-2026-99362, a critical pre-authentication heap overflow in the Linux kernel's NFS server (nfsd), present since commit 47ee52986472 landed in Linux 3.16 in March 2014. Every kernel release for 12 years — LTS, distribution, and appliance builds alike — shipped the flaw.
The vulnerability lives in NFSv4.1/4.2 session slot handling. A client can set its reply cache to zero bytes, then trick the server into copying a full reply into that empty buffer. The copy lands on the kernel heap with the attacker controlling most of the content — 61 bytes past the heap object boundary. OpenSec's automated system Antara flagged the bug, scored it 9.8, and produced a working root shell without human assistance.
Any Linux host serving NFS on a reachable tcp/2049 — file servers, NAS appliances, build farms, Kubernetes storage nodes — is exposed. No credentials, no user interaction required: one TCP connection is enough.
French national cybersecurity agency ANSSI researcher Jérémy Jean sent an upstream fix with a KASAN report on August 17, 2026. CVE-2026-99362 was published November 20, 2026. Patches are available in kernels 6.12.117, 6.18.61, 7.3.2, and 7.4-rc1. Until systems are patched and rebooted, firewall tcp/2049.