AEGLIX News
A critical Linux kernel NFS server flaw, cataloged as CVE-2026-99362 and branded NFS2ROOT, lets remote unprivileged actors seize root on unpatched machines. The bug has lurked since kernel 3.16 debuted in March 2014 and impacts any system running a kernel older than 6.12.117, 6.18.61, 7.3.2, or 7.4-rc1 when nfsd v4.1 or 4.2 is loaded and TCP port 2049 is reachable. Exploitation lets adversaries corrupt kernel memory and obtain root via low-complexity attacks needing no user interaction, per findings from ANSSI researcher Jéremy Jean and security firm OpenSec.
The weakness originates in a heap buffer overflow inside the Linux NFS server (nfsd). Attackers transmit maliciously crafted requests that make the server write past an allocated memory buffer, enabling them to read kernel memory, defeat KASLR, and plant a callback that runs a command in a freed memory region. When the attacker terminates the NFS connection, the kernel executes the embedded command with root privileges, handing full control of the unpatched Linux server. ANSSI's Jéremy Jean discovered the flaw and submitted a fix in August; OpenSec coined the NFS2ROOT moniker.
No exploitation of CVE-2026-99362 in the wild has been reported to date. NFS2ROOT adds to a string of Linux privilege-escalation bugs disclosed and patched since the year began, among them RefluXFS, CIFSwitch, Dirty Frag, Fragnesia, PinTheft, Copy Fail, Pack2TheRoot, and DirtyDecrypt/DirtyCBC. Defenders can watch for telltale signs such as kernel warnings from nfsd4_check_resp_size, shells spawned by kernel workers on a file server, bursts of brief NFSv4.1 sessions from a single source, and kernel oopses showing nfsd4_*, svc_* or call_usermodehelper* frames.
If immediate patching isn't feasible, organizations should limit NFS server access over TCP port 2049 to trusted clients or networks, or halt and disable the nfs-server service when NFS sharing isn't needed. The issue is fixed in Linux kernel versions 6.12.117, 6.18.61, 7.3.2, and 7.4-rc1, which introduce a check ensuring the fixed-size SEQUENCE result plus room for a following operation's error status fits the negotiated limit before the buffer is narrowed and the slot seqid consumed.
Report prepared 2026-11-27 · Based on reporting from BleepingComputer. Source publication date above; subsequent developments may not be reflected.
Sources
Read original source · BleepingComputer (opens in a new tab)