CVE-2026-99362, dubbed NFS2ROOT, is a critical pre-authentication heap overflow in the Linux kernel’s in-kernel NFS server. A remote attacker who can reach TCP port 2049 on a host serving NFSv4.1 or 4.2 can trigger it with a single connection, without credentials or user interaction. The flaw dates to Linux 3.16 in 2014. In NFSv4.1, clients set the size of a per-session-slot reply cache; the server can be induced to shrink that buffer to zero, then copy a full SEQUENCE reply into it. The resulting write extends 61 bytes beyond the heap object, with some overflowed content controlled by the client.
The demonstrated exploit chains the overflow into remote root: it corrupts adjacent bookkeeping, leaks kernel memory to defeat address randomization, frees a chosen object, and replaces it with a forged callback that runs when the connection closes. OpenSec reports that its Antara system built and executed this chain automatically; an independent researcher, Jérémy Jean of ANSSI, also found the issue and supplied the upstream fix. Patched releases are Linux 6.12.117, 6.18.61, 7.3.2, and 7.4-rc1; affected systems should be updated and rebooted. Until then, restrict port 2049 to trusted storage networks or disable NFSv4.1 and 4.2. Possible indicators include nfsd kernel warnings or oopses, kernel-worker shell activity, and bursts of short NFSv4.1 sessions.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.