Skip to main content
Published on November 28, 2026
CVE-2026-99362 “NFS2ROOT” — Linux kernel, NFS server (nfsd). A client that can reach TCP port 2049, with no authentication, can write out of bounds in kernel memory. According to Red Hat, this can lead to remote code execution or a kernel panic. Only servers exporting NFS shares with the in-kernel server are affected. If that is your case, filter port 2049 now, then install the fixed kernel and reboot.

The bug in two sentences

During a SEQUENCE operation (NFSv4.1 and later), nfsd shrinks the reply buffer to the cache size the client negotiated before checking that the reply fits. A client that negotiates the minimum size gets zero-length cache slots, and a crafted COMPOUND request then makes the server copy the whole reply, including bytes the client chooses, past the end of the slot. According to the scenario published with the CVSS score, the operations involved (EXCHANGE_ID, CREATE_SESSION, SEQUENCE) require neither credentials nor access to an export: opening a TCP connection to the server is enough. The same mistake also sends bytes of adjacent memory back to the client. Affected versions:
  • every Linux kernel since 3.16;
  • fixed upstream by commit 35ff1a7a7e38 (7.4-rc1), and in stable branches 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, and 7.3.2.
The NVD record carries the CVSS 3.1 score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) assigned by kernel.org. Red Hat scores it 9.4 and rates it Critical, Ubuntu gives it critical priority.
As of November 28, 2026, neither NVD, Red Hat, Debian nor Ubuntu references public exploit code, and the flaw is not in CISA’s KEV catalog of exploited vulnerabilities.

Sizing your exposure

The question to ask: does your server export NFS shares, and who can reach its port 2049? Red Hat notes that its default configuration does not run nfsd, and that a system that is not an NFS server is not exposed. A plain NFS client, mounting a remote share, is not exposed either. To check whether the kernel NFS server is running and listening:
If systemctl answers inactive or cannot find the service, and ss prints no line, the server exports nothing. On distribution kernels, trust the tables below rather than the version number alone: fixes are backported.

Updating the kernel, distro by distro

The fix is a kernel update followed by a reboot. Until the server reboots, the old kernel stays loaded. Before rebooting a production VPS, take a snapshot. If the server does not come back on the network, the KVM console gives you the boot screen.

Debian

Ubuntu

Ubuntu has not published a USN for this CVE yet. Follow Ubuntu’s CVE page and apply the mitigation below in the meantime. Once the package is out:

RHEL, AlmaLinux, Rocky Linux

As of November 28, 2026, Red Hat marks RHEL 9 “Affected” with no fix, and AlmaLinux has published an advisory for version 8 only. For Rocky Linux, the real-time kernel (kernel-rt) and other versions, check Red Hat’s CVE page and your distribution’s advisory.

Mitigation until the fix lands

Red Hat gives two mitigations, depending on how you use NFS. They apply to every distribution, and especially to Ubuntu and RHEL 9, which have no fixed kernel yet.

You do not need the NFS server

Stop and disable the service: nfsd no longer listens, and there is nothing left to attack.
Stopping it ends active NFS sessions: clients lose access to their shares.

You need the NFS server

Restrict port 2049 to trusted clients. Replace 192.0.2.0/24 with the address or network of your NFS clients. With ufw (Debian, Ubuntu), add the allow rule before the deny rule, since ufw applies the first rule that matches:
With firewalld (RHEL, AlmaLinux, Rocky Linux), Red Hat’s commands:
Reloading firewalld immediately cuts off clients that are not allowed.
On an OnetSolutions VPS, you can also block port 2049 before traffic reaches the server with the console firewall, and carry NFS traffic over a private VPC network instead of the Internet.
Its limits:
  • filtering protects you from the Internet, not from an allowed client: a compromised trusted machine can still exploit the flaw;
  • it does not replace the kernel update.

Checking the mitigation

From an outside machine that is not one of your allowed clients, the port must no longer answer:
The check that matters is still the kernel: after the reboot, uname -v (Debian) or uname -r (Ubuntu, RHEL, AlmaLinux) must show a version equal to or later than the ones in the tables.

Rolling back the mitigation

Once the fixed kernel is loaded, you can re-enable the service or reopen the port.
An NFS server rarely needs to be open to everyone: keep the filtering if your clients are known.

What next?

Filtering port 2049 is only a stopgap: the target is the fixed kernel, loaded after a reboot. For another recent network flaw in the kernel, read NoisyTCP (CVE-2026-99288); also turn on automatic security updates. For any technical question, open a ticket from your OnetSolutions customer area.