NFS vulnerability CVE-2026-99362: find affected servers

CVE-2026-99362 is a critical NFS vulnerability in the Linux kernel's nfsd. How to find every exposed host, what each distribution fixed, and what to do today.

CVE-2026-99362 is an NFS vulnerability in the Linux kernel's NFS server, nfsd: a heap overflow that an unauthenticated client can trigger over one TCP connection to port 2049, rated CVSS 9.8 by NVD and Critical by Red Hat. Every Linux host that exports NFSv4.1 or NFSv4.2 shares is exposed until its kernel is updated and rebooted. This post shows how to find those hosts, what each distribution has fixed today, and what to do with the servers that have no fix yet.

What the NFS vulnerability is

The flaw is in how nfsd handles the SEQUENCE operation of an NFSv4.1 request: a crafted request makes the server write a reply past the end of a zero-length slot buffer. The fixing commit, "nfsd: preflight SEQUENCE replies before accepting a slot", is linked from the NVD record, which scores it CVSS 3.1 9.8: network, no privileges, no user interaction.

Red Hat's CVE page rates it Critical and limits the attack surface to systems that export NFSv4.1 or NFSv4.2 shares. The public advisory, forwarded to oss-security on 2026-11-28 under the name NFS2ROOT, says it in one line: any Linux host serving NFSv4.1 or 4.2 on a reachable tcp/2049 is affected, the fix is to update the kernel and reboot, and until then firewall tcp/2049. It names the upstream fixes as Linux 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1; what runs on a server is the distribution kernel, covered below.

Which servers run the NFS server

Only hosts that run nfsd are affected. On each server, check whether the unit is active and whether anything listens on port 2049. The unit is nfs-server on the Red Hat family and nfs-kernel-server on Ubuntu and Debian, as the Ubuntu NFS guide shows.

systemctl is-active nfs-server nfs-kernel-server 2>/dev/null
ss -ltnp 'sport = :2049'
exportfs -v

The ss filter sport = :2049 lists listening TCP sockets on the NFS port, and exportfs -v prints the exports.

Whether the server offers NFSv4.1 and 4.2 depends on the vers4.1 and vers4.2 values in the [nfsd] section of nfs.conf. The advisory calls those versions the default, so treat a server that does not disable them explicitly as exposed.

Fix status by distribution on 2026-11-29

The table is what the vendor pages said on 2026-11-29; it changes daily, so read the links before you patch.

DistributionStatus on 2026-11-29Source
Red Hat Enterprise Linux 8Fixed, kernel 4.18.0-553.190.1.el8_10 (2026-11-26)RHSA-2026:103817
Red Hat Enterprise Linux 9Listed as affected, no erratum yetRed Hat CVE page
Red Hat Enterprise Linux 10Fixed for the 10.0 and 10.2 Extended Update Support streams (2026-11-27)Red Hat CVE page
Rocky Linux, AlmaLinuxRebuild the Red Hat kernel; check their errataRocky errata, AlmaLinux errata
Debian 12 bookwormFixed in linux 6.1.192-3 (2026-11-27)DLA-4942-1
Debian 13 trixieFixed in linux 6.12.117-1Debian security tracker
Ubuntu 20.04, 22.04, 24.04Priority critical; the kernels are marked "needed", no USN yetUbuntu CVE page

On the Red Hat family, dnf tells you directly whether the erratum applies to a host, because the dnf --cve option works with updateinfo and upgrade:

dnf updateinfo info --cve CVE-2026-99362
dnf upgrade --cve CVE-2026-99362

On Ubuntu, pro fix --dry-run CVE-2026-99362 checks the host without changing it, as the pro fix guide describes. Until Canonical publishes a USN it reports the kernel as still affected, and so will any scanner that reads Canonical's data. That is the correct answer, not a false positive.

Installed is not running: check the kernel on every host

A kernel update takes effect only after a reboot. A host can have the fixed package installed and still run the vulnerable kernel, so a package list alone is not proof. Compare the running kernel from uname with the newest installed kernel package:

uname -r
dpkg -l 'linux-image-*' | grep '^ii'      # Debian, Ubuntu
rpm -q kernel                             # Red Hat family

On the Red Hat family the needs-restarting plugin answers the reboot question with an exit code:

dnf needs-restarting -r

Run these on every host that exports NFS, not only the one you remember: shares live on build servers, backup targets and virtualisation hosts too.

Reduce the exposure where you cannot patch today

Ubuntu and Red Hat Enterprise Linux 9 hosts have no fixed kernel at the time of writing. For those, Red Hat's published mitigation is to stop and disable the NFS server where it is not needed, or to restrict port 2049 to trusted networks:

systemctl stop nfs-server && systemctl disable nfs-server
firewall-cmd --permanent --remove-service=nfs
firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="<trusted_subnet>" service name="nfs" accept'
firewall-cmd --reload

Red Hat warns that stopping nfs-server ends active sessions and that the firewall reload cuts off clients outside the allowed subnet at once, so plan both with the people who mount the shares. Hosts that must keep serving untrusted networks go first in the reboot schedule.

What to do now

  1. List the hosts with a listener on tcp/2049 and active exports.
  2. For each, note the distribution, the installed kernel and the running kernel.
  3. Patch and reboot the hosts whose distribution has the fix: Red Hat Enterprise Linux 8 and 10, Debian 12 and 13.
  4. Firewall port 2049 or stop nfsd on Ubuntu and Red Hat Enterprise Linux 9 hosts until their kernel arrives, then patch and reboot.
  5. Re-check the vendor pages above every day this week.

By hand this is an afternoon for twenty servers and a project for two hundred. Openness, a new open source scanner from S4E.io, does the check for all servers at once: it logs in over SSH, reads the installed packages and compares them with each vendor's own security data, so a host still on the old kernel shows up with the CVE and the fixed version next to it. Its sample report shows a kernel update listed with the CVEs it closes and the note that it needs a reboot. The supported systems page lists the releases it checks and the CVE coverage page explains how findings are matched. If logging in to read the real state is new to you, what a credentialed vulnerability scan is covers it. The free plan covers 20 servers in 90 days; the app is on the download page.

FAQ

Does CVE-2026-99362 affect NFS clients?

No. The flaw is in nfsd, the kernel's NFS server; Red Hat states that deployments that do not operate as an NFS server are not exposed.

Is NFSv3 affected?

Red Hat limits the attack surface to NFSv4.1 and NFSv4.2 exports; the SEQUENCE operation exists from 4.1 on. Disabling those versions in nfs.conf is a workaround only if every client can live with NFSv3 or 4.0; the kernel update is the fix.

Do I need to reboot after installing the kernel update?

Yes. The fix is in the kernel, and the running kernel changes only at boot.

Is my Ubuntu server fixed yet?

On 2026-11-29 Canonical marks the CVE critical and the 20.04, 22.04 and 24.04 kernels as needed, with no USN published. Keep port 2049 restricted until a USN names your kernel.

What are the NFS security best practices after this?

Export to named hosts or subnets rather than *, keep tcp/2049 reachable from trusted networks only, and keep the kernel on every NFS server current with a reboot after each kernel update.

This post was written by an AI model (claude-mythos-5-1) and published by S4E.io. Found a mistake? Tell us.

All posts · This page as Markdown

Star on GitHub