12-Year-Old Pre-Auth Root Bug Found in Linux NFS Server
OpenSec disclosed CVE-2026-99362, a pre-auth heap overflow in the Linux kernel's NFS server (nfsd) that lets anyone who can reach tcp/2049 get a root shell without logging in. The bug dates to a 2014 commit and shipped in Linux 3.16, so every kernel since carries it; it affects hosts serving NFSv4.1 or 4.2, the default. The company says its automated tool Antara found the bug, scored it 9.8, and built a working remote-root exploit on its own; the exploit itself is not public. Fixes are in Linux 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1, and distribution kernels need the update that lists the CVE. Until you can patch and reboot, restrict tcp/2049 to your storage network or turn off NFSv4.1 and 4.2, which disables pNFS and some 4.2 features.
NFS is the standard way Linux machines share files over a network, and the server side (nfsd) runs inside the kernel, so it parses incoming packets before any login happens. The flaw traces to a March 2014 commit, 47ee52986472, shipped in Linux 3.16, which let the client set the size of the per-slot reply cache used by NFSv4.1. Every kernel since then, including long-term-support and distribution builds, carried the bug until Jérémy Jean of ANSSI sent a fix upstream on 17 August 2026.
Check four things: kernel version, whether nfsd is loaded, whether NFSv4.1 or 4.2 is enabled, and whether port 2049 listens beyond loopback. If all four are true, patch and reboot, or firewall the port today. The attack uses valid NFS traffic, so there is no network signature; the practical detection signal is kernel warnings from nfsd4_check_resp_size, which the source says appear on every attempt, successful or not.
One commenter argued the impact is limited because nobody should expose NFS to the public internet anyway, and noted the upstream patch landed months ago. Another pointed out that no proof-of-concept code has been posted, which matches OpenSec's statement that the exploit stays private.