Overview
CVE-2026-99362, nicknamed NFS2ROOT by the firm OpenSec, is a heap buffer overflow in the Linux kernel's NFS server (nfsd). A remote, unauthenticated attacker can corrupt kernel memory and gain root. The bug was introduced in Linux 3.16 (March 2014), so it is about 12 years old. BleepingComputer does not give a CVSS score but calls it critical.
Jérémy Jean of ANSSI found the flaw and submitted a fix in August. OpenSec then built a full remote-root exploit and a patch and shared them with the NFSD maintainers in late September. No in-the-wild exploitation is reported.
Affected Systems
Kernels older than 6.12.117, 6.18.61, 7.3.2 or 7.4-rc1, when:
nfsdis loaded and running with NFS v4.1 or 4.2, and- TCP port 2049 is reachable by the attacker.
A server that exposes NFS only to a trusted segment has a smaller attack surface, but any host on that segment can still reach it.
What To Do Now
- Update the kernel from your distribution vendor and reboot to load it.
- Restrict TCP 2049 to trusted clients or networks with a firewall.
- Stop and disable
nfs-serveron hosts that do not need to serve NFS. - Check that no NFS server is exposed to the internet.
Detection Ideas
OpenSec lists these indicators. There are no network signatures available:
- Kernel warnings from
nfsd4_check_resp_size - Shells spawned by kernel workers on file servers
- Bursts of short NFSv4.1 sessions from one source
- Kernel oopses with
nfsd4_*,svc_*orcall_usermodehelper*frames