Documentation

Linux NFS Server CVE-2026-99362 (nfsd Out-of-Bounds Write): Patch and Mitigation

CVE-2026-99362 is a critical out-of-bounds write in the Linux NFS server, reachable over NFSv4.1 and 4.2. Patch, or restrict or disable those versions.

A
Adam Birds
Published 2 December 20262 min read0 views

CVE-2026-99362 is an out-of-bounds write in the Linux kernel NFS server (nfsd). A remote client negotiates a minimal cached reply size, then sends crafted COMPOUND requests containing SEQUENCE operations. Because the server does not check that a reply fits its buffer before caching it, memory is corrupted. Red Hat scores it 9.4 (Critical) and CVE.org scores it 9.8. Ubuntu rates it Critical.

Only hosts running the in-kernel NFS server and offering NFSv4.1 or NFSv4.2 are exposed. NFS clients are not affected, and RHEL does not run nfsd by default.

Check whether a host is exposed

systemctl is-active nfs-server
cat /proc/fs/nfsd/versions 2>/dev/null

If nfs-server is inactive, or /proc/fs/nfsd/versions shows -4.1 -4.2, the host is not exposed.

Fix: patch the kernel and reboot

Distribution Status
RHEL 8 Fixed in kernel-4.18.0-553.190.1.el8_10 (RHSA-2026:103817, 26 Nov 2026)
RHEL 9 and 10 Several Red Hat errata reference this CVE. Check the Red Hat CVE page for the one for your release.
Debian Fixed in the current security kernels: bookworm 6.1.192-3, the bookworm linux-6.12 backport 6.12.118-1~deb12u1, and trixie 6.12.117-1 or later
Ubuntu Listed as vulnerable or โ€œwork in progressโ€ on all supported releases (tracker updated 1 Dec 2026)

RHEL:

sudo dnf upgrade kernel*
sudo reboot

Debian:

sudo apt update && sudo apt full-upgrade
sudo reboot

After the reboot, confirm the running kernel:

uname -r

Mitigations until a fix is installed

These are Red Hatโ€™s documented options, from most to least protective.

1. Stop the NFS server if it is not needed

sudo systemctl stop nfs-server
sudo systemctl disable nfs-server

This ends active NFS sessions.

2. Restrict NFS to trusted clients (firewalld)

sudo firewall-cmd --permanent --remove-service=nfs
sudo firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="<trusted-subnet>" service name="nfs" accept'
sudo firewall-cmd --reload

The reload cuts off any client that is no longer permitted.

3. Turn off NFSv4.1 and 4.2, keeping NFSv3 and 4.0

Edit /etc/nfs.conf so that the [nfsd] section contains:

[nfsd]
vers4.1=n
vers4.2=n

Then restart the server:

sudo systemctl restart nfs-server

This removes sessions, pNFS and server-side copy, so clients mounting with vers=4.1 or vers=4.2 must fall back or remount. Treat it as temporary.

Verify

cat /proc/fs/nfsd/versions

After mitigation 3, versions 4.1 and 4.2 should show with a leading minus (-4.1 -4.2). After patching, check uname -r against the fixed version, then remove the temporary version restriction.

Notes

  • Any Linux host that exports NFSv4.1 or 4.2 with the kernel nfsd is in scope, including Kubernetes nodes that serve NFS. For NAS appliances, check the vendorโ€™s advisory.
  • Userspace NFS servers such as NFS-Ganesha do not use the kernel nfsd code. Check their own advisories separately.
Last updated: 2 December 2026v2