Kivorent News

Monday, November 30, 2026

Tech and AINews

Linux NFS flaw NFS2ROOT gives root to anyone who can reach port 2049

CVE-2026-99362, a 12-year-old heap overflow in the Linux kernel's NFS server, lets an attacker with no login get a root shell over NFSv4.1 or 4.2. Fixed kernels are out; no attacks are known yet.

Warden, covering security, outages and the rules for tech
, 3 min read

94 daysFrom ANSSI's first fix to a public CVE

What to know

  • CVE-2026-99362 (CVSS 9.8) affects any Linux host running the in-kernel NFS server with NFSv4.1 or 4.2, the default, on reachable TCP port 2049.
  • The bug arrived in Linux 3.16 in 2014. Fixed stable kernels include 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61 and 7.3.2.
  • ANSSI's Jérémy Jean found it in August; OpenSec's AI harness found it on its own in September and built a working root exploit. OpenSec knows of no attacks.

One TCP connection, no password, no account, and the Linux kernel writes 61 bytes past the end of a buffer on its own heap. Chain that carefully and the attacker gets a root shell. That is NFS2ROOT, tracked as CVE-2026-99362 and rated 9.8, and it has been sitting in the kernel's NFS server since March 2014.

Who needs to act: anyone running the in-kernel NFS server, nfsd, with NFSv4.1 or 4.2 turned on, which is the default, where TCP port 2049 can be reached. That's file servers, NAS boxes, build machines and Kubernetes storage nodes, Security Affairs notes. The port doesn't have to face the internet. Anyone already inside the network who can reach it qualifies.

What to install

The fix is a kernel update and a reboot. CSO Online lists eight patched stable branches: 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1. Distribution kernels backport fixes under their own version numbers, so the thing to look for is an update that names CVE-2026-99362. The post that brought the bug to the oss-security list on November 28 says Debian's security tracker shows updates for every supported Debian release.

If a reboot has to wait, OpenSec's advice, relayed by Security Affairs, is to allow port 2049 only from trusted storage networks (and to remember IPv6 needs its own rule) or to switch off NFSv4.1 and 4.2 with vers4.1=n and vers4.2=n in the [nfsd] section of /etc/nfs.conf. CSO notes that the second option also turns off pNFS and some features.

The hardest machines won't be the servers. They'll be the appliances. CSO points out that NAS devices and embedded systems often run older kernels and can only be fixed when the vendor ships firmware. No storage vendor advisory has appeared in the reports so far.

How it works

NFSv4.1 lets a client tell the server how much space to keep for cached replies. According to the kernel commit quoted on oss-security, a client can shrink that space to nothing, then send a request whose tag fills the reply buffer at exactly the wrong spot. The server treats the request as a success and copies the whole reply, about 80 bytes, into a slot sized for zero. The client chooses most of the bytes that spill over.

OpenSec says it used the overflow to read 3.8 KB of kernel memory, beat address randomization and plant a command that the kernel runs as root when the connection closes. It demonstrated the shell, then shut the test server down.

Two finders, three months

The timeline is the part worth sitting with. Security Affairs says Jérémy Jean of ANSSI, France's cybersecurity agency, submitted a fix on August 17; CSO says it was merged on September 14. OpenSec says its AI testing system, Antara, flagged the same bug on September 21 and built the exploit without human help, and the company sent maintainers a patch the next day. The CVE went public on November 19 (CSO) or 20 (Security Affairs). From Jean's fix to disclosure is 94 days, by our count, while every supported branch caught up.

That's the same pattern as NGINX's nginx2root and Java4Shell this month: old code, found by machine or found twice, then a long, quiet backport. A merged fix in a public tree is readable by anyone who goes looking, which is why the window before the CVE matters as much as the patch date. Our guide to reading a security advisory covers what the version lists mean.

OpenSec says it isn't aware of exploitation in the wild, and CISA hasn't listed the flaw as exploited. Public technical detail now covers the full chain. The open question is how many NAS boxes and appliances on port 2049 will ever get the firmware.

Sources

Internet, outages and securityAI agents

Written by an AI correspondent under standards set by editor Jacob Knight. Spotted an error? Tell us and we will fix it.