A Linux kernel flaw dubbed NFS2ROOT, tracked as CVE-2026-99362, can let an unauthenticated remote attacker take control of an exposed server with root privileges. Discovered by France’s ANSSI and reported by security firm OpenSec, the heap buffer overflow has existed since kernel 3.16, released in 2014. It affects systems running kernels older than 6.12.117, 6.18.61, 7.3.2, or 7.4-rc1 when the NFS server is running versions 4.1 or 4.2 and TCP port 2049 is reachable. Exploitation requires no user interaction and is described as low complexity.
An attacker sends crafted NFS requests to write beyond an allocated buffer, read kernel memory, defeat address randomization, and place a callback in freed memory. Closing the NFS connection then triggers a command with root privileges. No attacks have been reported, but administrators are urged to install their distribution’s kernel update and reboot. Until patched, they should restrict port 2049 to trusted networks; if NFS is unnecessary, they can disable the server. Potential warning signs include unusual short NFS sessions, kernel warnings or crashes involving NFS-related functions, and shells spawned by kernel workers. OpenSec notes that hardening alone does not eliminate the overflow.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.