Incident sheet · /security
- System
- Security & Risk
- Filed
- Read
- 2 min · 467 words
- Severity
- Routine
Twelve-year-old NFS2ROOT flaw grants remote root on unpatched Linux servers
CVE-2026-99362 lets remote attackers corrupt kernel memory and gain root on any nfsd host since Linux 3.16. Patch, reboot, and firewall port 2049.

Event log
- CVE-2026-99362 has existed since Linux kernel 3.16, released in March 2014 — twelve years.
- Patched kernel versions: 6.12.117, 6.18.61, 7.3.2, or 7.4-rc1.
- Exploitation requires no user interaction and only reachable TCP port 2049 with nfsd v4.1/4.2.
- ANSSI's Jérémy Jean submitted a fix in August; OpenSec shared an exploit and patch in late September.
- No exploitation in the wild reported so far.
A kernel bug that shipped in March 2014 with Linux 3.16 still grants remote attackers root, twelve years later. CVE-2026-99362, dubbed NFS2ROOT by security firm OpenSec, is a heap buffer overflow in the NFS server daemon, and the fix has been in mainline since late September.
ANSSI researcher Jérémy Jean found the flaw and submitted a patch in August. OpenSec then built a full remote-root exploit and a patch and shared both with the NFSD maintainers in late September. The exploit works against any host running a kernel older than 6.12.117, 6.18.61, 7.3.2, or 7.4-rc1, provided nfsd (v4.1 or 4.2) is loaded and TCP port 2049 is reachable from the network.
How does the exploit actually work?
The attacker sends crafted requests that make the NFS server write past an allocated buffer. From there they can read kernel memory, defeat KASLR, and plant a callback command in freed memory. When the attacker closes the NFS connection, the kernel runs that command with root privileges. No user interaction is required, and the attack is rated low complexity.
ANSSI, OpenSec and the maintainers agree on the practical sequence: apply your distribution's kernel security updates immediately, then reboot so the patched kernel actually runs. If you cannot patch today, restrict port 2049 to trusted clients or networks. If the box does not need NFS sharing at all, stop and disable the nfs-server service in /etc/nfs.conf.
"Port 2049 sits open on file servers, NAS appliances, build farms and Kubernetes storage nodes," OpenSec said. "Since 2014, the Linux kernel listening on it has let anyone who can reach it write into kernel memory before logging in. Kernel hardening does not remove the overflow. Patch every host."
What can defenders see on the wire?
Not much. OpenSec states that NFS2ROOT attacks carry no network signatures. Detection has to happen on the host. OpenSec recommends watching for:
- kernel warnings from nfsd4_check_resp_size;
- shells spawned by kernel workers on a file server;
- bursts of short NFSv4.1 sessions from a single source;
- kernel oopses with nfsd4_, svc_ or call_usermodehelper* frames.
There are no reports of exploitation in the wild so far. That is a thin comfort for anyone with a 2014-era kernel still answering on 2049.
Is this an isolated case?
Hardly. NFS2ROOT joins a crowded 2026 docket of Linux privilege escalation flaws: RefluXFS, CIFSwitch, Dirty Frag, Fragnesia, PinTheft, Copy Fail, Pack2TheRoot, and DirtyDecrypt/DirtyCBC. The pattern is consistent, and the lesson is unglamorous. Old daemons on reachable ports outlive the assumptions that deployed them.
What does this change for infrastructure teams? An audit item, not an emergency: enumerate every host exposing 2049, confirm its kernel version, and patch or firewall before someone else enumerates them first.
via bleepingcomputer.com (Source)
More from Tom Whitfield
Show full bio
Market editor covering people, launches and day-to-day practice in enterprise information technology and the leaders who run at CIO Monitor.
231 articles
The newsroom digest
One email a day with the stories that matter. No noise.
Cross-references
- NoisyTCP: 11-Year-Old Kernel Flaw Crashes Nginx, Apache and SSH Servers
- PwnEscape Flaw Escapes Firecracker MicroVM to Root on Host Kernel
- NGINX2Root flaws expose 8.8 million servers to root takeover
- N-able N-central Zero-Day Exploited Within Hours; 21 Servers Mining Monero
- Hackers breached GL.iNet's cloud to plant router and KVM malware