Linux kernel NFS flaw rated CVSS 9.8, present for 12 years
2026-11-28 · IT之家
IT Home reports security firm OpenSec disclosed on November 25 a Linux kernel NFS server flaw, CVE-2026-99362 (NFS2ROOT), rated CVSS 9.8. It sits in the nfsd component and lets an unauthenticated attacker gain root over the network.
It is a pre-auth heap buffer overflow: a crafted NFS request to TCP port 2049 triggers an out-of-bounds kernel write, then leaks and a KASLR bypass lead to root command execution. OpenSec demonstrated a full chain to a root shell. The code dates to 2014 and kernel 3.16, over 12 years.
Affected are servers running the kernel NFS server with NFSv4.1 or 4.2 and port 2049 reachable, including file servers, NAS and Kubernetes storage nodes. ANSSI's Jérémy Jean found it and submitted a fix in August; OpenSec supplied exploit code and a patch in late September. Fixes landed in 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1, with Debian listing others; distro-custom kernels need vendor updates.
If you can't upgrade, OpenSec advises restricting TCP 2049 to trusted networks or disabling NFS, and rebooting after updating. No exploitation in the wild has been reported publicly.