NFS2ROOT: 12-Year-Old Linux NFS Flaw Gives Remote Root
CVE-2026-99362, a heap overflow in the Linux kernel NFS server present since 3.16, can give unauthenticated remote root. Patched kernels are out; no exploitation reported.

A critical heap buffer overflow in the Linux kernel’s NFS server, tracked as CVE-2026-99362 and nicknamed NFS2ROOT, lets remote attackers without privileges gain root on exposed servers, BleepingComputer reported on November 27. There are no reports of exploitation in the wild, and fixed kernels are available.
Who is affected
The bug has existed since Linux 3.16, released in March 2014. Per the report, systems are vulnerable if they run a kernel older than 6.12.117, 6.18.61, 7.3.2 or 7.4-rc1, have nfsd loaded and running with NFS v4.1 or 4.2, and have TCP port 2049 reachable from the internet. The attack needs low complexity and no user interaction.
ANSSI’s Jérémy Jean found the flaw and submitted a fix in August. Security firm OpenSec named it NFS2ROOT and, according to the report, shared a full remote-root exploit and a patch with the NFSD maintainers in late September. We are not describing the exploitation mechanics here, and defenders do not need them.
What to do
- Install your distribution’s latest kernel security update, then reboot. A patched package on disk does nothing until the patched kernel is running.
- If you cannot patch yet, restrict TCP port 2049 to trusted clients or networks.
- If NFS sharing is not needed, stop and disable the nfs-server service.
OpenSec says the attacks have no network signatures. The signs it lists for hunting are kernel warnings from nfsd4_check_resp_size, shells spawned by kernel workers on a file server, bursts of short NFSv4.1 sessions from one source, and kernel oopses with nfsd4_, svc_ or call_usermodehelper* frames.
Analysis
Port 2049 sits open on file servers, NAS appliances, build farms and Kubernetes storage nodes, and most of those were set up once and rarely revisited. That is the real exposure here: not a headline server, but a storage box nobody has a patch owner for. BleepingComputer counts NFS2ROOT among a long run of Linux privilege escalation flaws disclosed this year, and the pattern is the same each time, a long-lived kernel bug that sat in plain sight for a decade. The first inventory question is not “are we patched” but “what is listening on 2049, and why is it reachable.”
More kernel coverage is in the Linux kernel hub. Related: Linux TCP flaw allows remote root on MPTCP listeners and two CVSS 9.0 RCEs in KSMBD with no kernel patch.
Found this useful? Share it.


