New NFS2ROOT flaw in Linux kernel NFS server can let remote attackers reach root
Servers running affected kernels with NFSv4.1 or 4.2 exposed on TCP port 2049 are at risk until they are patched or the port is closed.

A flaw dubbed NFS2ROOT, tracked as CVE-2026-99362, sits in the Linux kernel's NFS server and can let an unauthenticated remote attacker reach root. ANSSI researcher Jérémy Jean found it, and OpenSec later built a working remote-root exploit and patch, passing both to the NFSD maintainers in September. The bug is a heap buffer overflow that has been present since kernel 3.16 from 2014, and it affects kernels older than 6.12.117, 6.18.61, 7.3.2, or 7.4-rc1 when nfsd v4.1 or 4.2 is running and TCP port 2049 is reachable from the internet. Exploitation needs no user interaction and works by corrupting kernel memory to defeat KASLR and run an embedded command with root rights when the connection closes. No in-the-wild exploitation has been reported, but administrators should install their distribution's latest kernel update and reboot, or restrict port 2049 and disable the nfs-server service if NFS is not needed.
Why it matters
The flaw sits in the kernel's NFS server, so anyone running an exposed NFS server on an unpatched kernel is open to attack without needing a login or any user action. Because the bug dates back to kernel 3.16, many older systems carry it. Until updated kernels are installed and rebooted, or port 2049 is restricted and the NFS service is disabled where unneeded, those servers remain reachable by remote, unauthenticated attackers. No in-the-wild exploitation has been reported so far.
Matters or hype?
Does this story matter, or is it hype? Vote before you see what everyone else said.