# NFS2ROOT Linux Kernel Flaw Lets Remote Attackers Gain Root: Patch Now

- URL: https://usa-24.com/nfs2root-linux-kernel-flaw-patch/
- Publisher: USA 24
- Section: Cybersecurity
- Published: 2026-11-30T13:02:11.559Z
- Updated: 2026-11-30T13:02:11.564Z
- Topics: Linux Security, Kernel Vulnerabilities, NFS Security, CVE-2026-99362, NAS Devices

> A critical, unauthenticated Linux kernel flaw can let remote attackers gain root on exposed NFS file servers. Fixed kernels exist, but they take effect only after a reboot.

## Key takeaways

- The NFS2ROOT vulnerability (CVE-2026-99362) lets a remote, unauthenticated attacker gain root on exposed Linux NFS servers, according to BleepingComputer.
- Fixed builds include Linux 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1, but the fix only takes effect after a reboot.
- A host is exposed only if it runs an older kernel, has the in-kernel NFS server enabled with NFSv4.1 or 4.2, and can be reached on TCP port 2049 from the internet.
- OpenSec's exploit chain turns a 61-byte kernel heap overflow into a memory leak, a KASLR bypass and a root shell.
- As of Nov. 27, the reporting found no public exploitation and no CISA Known Exploited Vulnerabilities listing for the CVE.

The NFS2ROOT vulnerability lets a remote attacker gain root on Linux file servers that expose the kernel's NFS server, and the fix only takes effect after a reboot. The flaw, tracked as CVE-2026-99362, has reportedly sat in the code for about twelve years. [BleepingComputer](https://www.bleepingcomputer.com/news/security/new-nfs2root-linux-flaw-can-let-attackers-gain-root-privileges/) published its report on Nov. 27, and related coverage followed. Admins who run NFS should patch and restrict TCP port 2049 now.

## What the NFS2ROOT vulnerability lets an attacker do

The bug sits in nfsd, the NFS server that runs inside the Linux kernel. According to BleepingComputer, a remote attacker can use it to obtain root privileges. The attacker sends crafted requests, needs no user interaction and corrupts kernel memory to take control.

Where the code runs makes the flaw especially dangerous. According to [one analysis from DEV Community](https://dev.to/etairos/nfs2root-12-year-old-linux-nfsd-heap-overflow-gives-remote-attackers-root-cve-2026-99362-161b), the server runs inside the kernel, so the flaw is reached before any NFS authentication or export check. An administrator cannot rely on export rules to keep a stranger out of the vulnerable code path.

OpenSec, a security research firm, summarized the mechanics in a line that [Cybernews](https://cybernews.com/security/nfs2root-linux-kernel-vulnerability-exposes-nas-kubernetes/) quoted: "One TCP connection writes 61 bytes past a kernel heap object; chained, that gives a root shell." A 61-byte overflow sounds small, but the chain is what matters. OpenSec demonstrated chaining the overflow into a kernel memory leak and a KASLR bypass, which defeats the kernel's address randomization, before reaching a root shell, according to [Threat Landscape](https://threatlandscape.io/blog/cve-2026-99362-nfs2root-linux-kernel-nfsd).

The severity rating matches that impact. The CVE carries a CVSS score of 9.8, rated Critical, according to reporting that cites the kernel CNA and cve.org. On a NAS box, root typically means control of stored files and every service the device runs, which is why storage hardware sits near the top of the risk list.

## Which kernels fix the NFS2ROOT vulnerability

Fixed builds appear in Linux 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1, along with updates from some distributions. Debian has fixed packages for some release lines, including linux-6.12 on bookworm and the 6.12 series on trixie, according to Threat Landscape.

Installing a package is not enough on its own. The running kernel keeps the vulnerable code until the machine reboots, so every patched host needs a restart window.

Red Hat's advisory, as summarized by [a DEV Community write-up](https://dev.to/rokkhe/nfs2root-cve-2026-99362-what-it-is-who-is-exposed-and-what-to-do-today-4jbc), says default RHEL configurations do not run or enable nfsd. Hosts that are not NFS servers are therefore not exposed by default. The sources do not yet confirm fix timing for Ubuntu, SUSE or major NAS vendors.

## Who is exposed to the NFS2ROOT flaw

The reporting describes exposure as a combination of three conditions, and all three must hold:

- The host runs a kernel older than the fixed build on its branch.
- The in-kernel NFS server is running with NFSv4.1 or NFSv4.2.
- TCP port 2049 can be reached from the internet.

NFS clients are not affected because the bug sits in the server component. Desktops and most cloud virtual machines are generally not NFS servers, according to the same DEV Community write-up.

The highest-risk systems are NAS boxes and Kubernetes storage nodes, which often run NFS and sit on networks where port 2049 may be reachable. Enterprise NAS and storage appliances may ship their own kernels, so exposure depends on vendor firmware timing. The reporting did not confirm that timing, so admins should not assume an appliance matches the upstream kernel.

## How the disclosure timeline unfolded and why dates conflict

Jérémy Jean of ANSSI, the French national cybersecurity agency, found the flaw and submitted a fix in August, according to DEV Community's analysis. OpenSec then named the bug, built a full remote-root exploit and sent the exploit and a patch to the NFSD maintainers in late September.

That sequence means fixed code was in circulation for months before public coverage began. The sources do not show when each distribution shipped its update, so the gap between a fix existing and patched servers in the field is the number to watch.

The published dates also conflict. [FOSS Linux](https://www.fosslinux.com/164889/nfs2root-linux-nfs-server-flaw.htm) lists the CVE as published on Nov. 19, a DEV Community write-up says fixes were published on Nov. 20, and an [Aviatrix write-up](https://aviatrix.ai/threat-research-center/nfs2root-linux-kernel-cve-2026-99362-root-privileges/) is dated Nov. 28. Check the advisory your vendor cites rather than relying on any single date.

## Steps to patch and lock down port 2049 today

Sort every host into one of three groups. NFS servers reachable from the internet need action today. NFS servers on internal networks should be patched this week. Hosts that do not run nfsd should be confirmed and then left alone.

For each host, including NAS appliances and Kubernetes storage nodes, work through these steps:

1. Find the NFS servers. On Linux, `cat /proc/fs/nfsd/versions` shows which NFS versions the kernel server has enabled, and `ss -ltn` lists listening TCP sockets so you can see whether anything is bound to port 2049.
2. Block TCP 2049 at the edge firewall, or limit it to trusted clients. The advisory suggests that limit as an interim step.
3. Install the distribution's kernel update, then reboot. A patch that is installed but not booted leaves the old code running.
4. For NAS appliances, check the vendor's firmware advisory and apply the update it names rather than assuming the appliance kernel matches upstream.
5. For Kubernetes storage nodes, patch the host kernel, not only the container images, because containers share the node's kernel.
6. Review logs for unexpected connections to port 2049 and for root processes that nobody started.

## Why storage operators and small businesses face the most risk

US exposure is likely concentrated in small and mid-size businesses, data centers and homelabs that run Linux file servers, NAS devices or Kubernetes storage with port 2049 open to the internet. Those environments often mix self-managed servers with appliances that update on a vendor's schedule, which can leave one part of the network patched while another lags.

Linux kernel root flaws keep recurring. Earlier in 2026, the "Copy Fail" flaw, CVE-2026-31431, was reported to give root on major distributions, according to [Wikipedia](https://en.wikipedia.org/wiki/Copy_Fail). The reporting on NFS2ROOT stresses that the bug is reachable over the network without authentication, and that is what draws the most attention.

## What to watch next

Three open questions will shape the next few weeks. The first is whether exploitation begins. OpenSec holds a private exploit, and the reporting reviewed for this story found no public exploit code. Once working code circulates, scanning for exposed port 2049 becomes far more attractive to opportunists.

The second question is whether CISA adds CVE-2026-99362 to its Known Exploited Vulnerabilities catalog. No listing appeared in the sources as of Nov. 27. A listing would bring federal remediation deadlines, similar to the [GeoServer flaws under active attack](https://usa-24.com/geoserver-vulnerability-exploited-patch/) that carried a Nov. 30 CISA deadline.

The third question is vendor timing. Distribution and NAS vendor advisories will determine how many machines stay exposed through the holiday period. CISA has also flagged enterprise products such as Mitel MiCollab as exploited, a status NFS2ROOT does not yet have.

Teams that block port 2049 today will not need to wait for the next advisory to get safer. Expect more distribution and storage vendor bulletins in the coming days, and watch for public exploit code. The reboot is the step most likely to slip, so schedule it before someone else's exploit does.

## Frequently asked questions

### Is my Linux server affected by the NFS2ROOT vulnerability?

Your server is exposed only if it runs a kernel older than the fixed build on its branch, has the in-kernel NFS server enabled with NFSv4.1 or NFSv4.2, and accepts TCP port 2049 from the internet. Hosts that are only NFS clients are not affected because the bug sits in the server component. Red Hat's advisory says default RHEL configurations do not run or enable nfsd.

### Which kernel version fixes CVE-2026-99362?

Fixed builds appear in Linux 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1, according to the reporting. Debian has fixed packages for linux-6.12 on bookworm and the 6.12 series on trixie. Your distribution's kernel update is the practical fix, and it takes effect only after a reboot.

### Is the NFS2ROOT flaw being exploited in the wild?

As of Nov. 27, the reporting found no public reports of exploitation in the wild, and the CVE was not in CISA's Known Exploited Vulnerabilities catalog. OpenSec holds a private exploit and the sources reviewed contained no public exploit code. Exploitation could change quickly once working code circulates, so patching now is the safer course.

### Do NAS devices need this patch?

NAS devices may need it if they run an NFS server on a Linux-based kernel with port 2049 reachable. Enterprise storage appliances may ship their own kernels, so the timing of vendor fixes varies. Check the vendor's firmware advisory and apply the update it names.

## Sources

1. [New NFS2ROOT Linux flaw can let attackers gain root privileges — BleepingComputer](https://www.bleepingcomputer.com/news/security/new-nfs2root-linux-flaw-can-let-attackers-gain-root-privileges/)
2. [NFS2ROOT vulnerability gives hackers root on Linux NFS servers — Cybernews](https://cybernews.com/security/nfs2root-linux-kernel-vulnerability-exposes-nas-kubernetes/)
3. [NFS2ROOT: 12-Year-Old Linux nfsd Heap Overflow Gives Remote Attackers Root (CVE-2026-99362) — DEV Community](https://dev.to/etairos/nfs2root-12-year-old-linux-nfsd-heap-overflow-gives-remote-attackers-root-cve-2026-99362-161b)
4. [CVE-2026-99362 NFS2ROOT Linux Kernel Analysis — Threat Landscape Blog](https://threatlandscape.io/blog/cve-2026-99362-nfs2root-linux-kernel-nfsd)
5. [NFS2ROOT: Pre-Auth Flaw in the Linux NFS Server — FOSS Linux](https://www.fosslinux.com/164889/nfs2root-linux-nfs-server-flaw.htm)
6. [NFS2ROOT (CVE-2026-99362): what it is, who is exposed, and what to do today — DEV Community](https://dev.to/rokkhe/nfs2root-cve-2026-99362-what-it-is-who-is-exposed-and-what-to-do-today-4jbc)
7. [NFS2ROOT CVE-2026-99362: Critical Linux Kernel Flaw Grants Remote Root Access — Aviatrix](https://aviatrix.ai/threat-research-center/nfs2root-linux-kernel-cve-2026-99362-root-privileges/)
8. [Copy Fail — Wikipedia](https://en.wikipedia.org/wiki/Copy_Fail)
