A Linux host exporting NFS version 4.1 or 4.2 accepts a per-client “session” whose reply cache the client sizes during negotiation. Before the fix a client could negotiate that cache down to its minimum, send a COMPOUND whose tag filled the narrowed reply buffer, and make nfsd copy an entire reply, headers and all, into a zero-length slot: a heap overflow in kernel memory, reachable by anyone who can open a TCP connection to port 2049, before any authentication. Red Hat rates it Critical, the first kernel CVE this month it has, and has already shipped kernels for RHEL 8 and 10. If a machine runs nfs-server with NFSv4.1 or 4.2 enabled, install the fixed kernel and reboot; until you can, restrict TCP port 2049 to hosts you trust. Machines that only mount NFS, and machines that do not run nfsd at all, are not exposed.
CVE-2026-99362 at a glance.
| Component | Linux kernel, the in-kernel NFS server (fs/nfsd/nfs4state.c, functions nfsd4_sequence() and nfsd4_store_cache_entry()); the nfsd module and the nfs-server service |
| Affected versions | Every kernel from 3.16 up to the fixed releases below, when NFSv4.1 or 4.2 is served; distribution kernels of the same age unless the table says otherwise |
| Fixed in | Mainline 7.4-rc1 (commit 35ff1a7a7e38); stable 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2; distribution packages below |
| Severity | CVSS 3.1 9.8 Critical (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) from the kernel CNA, repeated by NVD, Ubuntu (CVSS 4.0 9.3) and SUSE. Red Hat Critical, 9.4 (I:L, CWE-787 out-of-bounds write, verified). NVD has not assigned a CWE. Every source agrees this is pre-authentication and remote |
| Exploited in the wild | Not on CISA’s Known Exploited Vulnerabilities list as of 30 November 2026. A 28 November post to the oss-security list forwards a third-party advisory that calls the bug “NFS2ROOT” and claims it can be chained to a root shell; the post carries no proof of concept and no report of attacks. EPSS 0.0111 (66th percentile) on 29 November 2026 |
| Who is exposed | Every Linux host running the kernel NFS server with version 4.1 or 4.2 enabled (the default on current kernels) whose port 2049 is reachable by an attacker. No export, credential or mount is needed: one TCP connection and a crafted EXCHANGE_ID, CREATE_SESSION and SEQUENCE is enough. NAS boxes, file servers, container hosts sharing volumes and home-lab machines with a permissive firewall are all in scope |
| Published | CVE record 19 November 2026 (kernel CNA); this page built 30 November 2026, last updated 30 November 2026 |
What it is
NFSv4.1 introduced sessions: each client gets a table of slots, and for every slot the server caches its last reply so that a retransmitted request can be answered from the cache. The client proposes how large a cached reply may be, ca_maxresponsesize_cached, when it creates the session. A client may negotiate that limit down to NFSD_MIN_HDR_SEQ_SZ, and when it does, nfsd4_alloc_slot() gives every slot a zero-length sl_data[] buffer. That is legal under RFC 8881, and before this fix it was also the first half of the bug.
The second half is in nfsd4_sequence(), which narrowed the reply buffer to the cached limit before it had checked that the SEQUENCE result itself would fit. A COMPOUND whose tag is long enough fills the narrowed buffer so that it holds the SEQUENCE opcode but not the status word after it. nfsd4_encode_operation() then returns without running nfsd4_encode_sequence(), leaves cstate.data_offset at zero and leaves op->status at nfs_ok, so the COMPOUND looks like a success. nfsd4_store_cache_entry() only declines to cache a lone SEQUENCE that returned an error, and this one reported none, so it copies the whole reply, RPC and COMPOUND headers included, from offset zero into the zero-length slot. The tag goes with it, so the client controls most of the bytes written past the end of the slot. The commit message shows KASAN catching an 80-byte write from a KUnit test.
The fix checks that the fixed-size SEQUENCE result, plus room for a following operation’s error status, fits the negotiated limit before the buffer is narrowed and the slot sequence id consumed; if it does not, SEQUENCE fails and the slot and its cache are left untouched, as RFC 8881 section 2.10.6.1.2 requires. Only fs/nfsd/nfs4state.c changes. Red Hat’s reasoning for Critical is the one to keep in mind: an unauthenticated remote attacker gets heap corruption with bytes they chose, and a kernel panic is the floor rather than the ceiling. git.kernel.org refuses automated readers, so this page describes the fix from the CNA’s copy of the commit message and has not read the diff; the oss-security post cites a different commit id for the same fix, which this page does not try to reconcile.
Who is affected on Linux
Each row is what the distribution’s own security tracker said on 30 November 2026; the link in the row is the tracker page, which will be newer than this one. Only hosts running the kernel NFS server are affected.
| Distribution | Status | Fixed package |
|---|---|---|
| Debian bookworm, trixie, forky | Fixed on bookworm and trixie | bookworm linux 6.1.192-3 (DLA-4942-1) and linux-6.12 6.12.117-1~deb12u1 (DLA-4927-1); trixie 6.12.117-1 and 6.12.118-1; forky and sid 7.3.6-1 |
| Ubuntu 22.04, 24.04, 26.04 and newer | Needed on jammy and noble; pending on resolute and stonking | resolute 7.0.0-45.45 and stonking 7.3.0-12.13 pending; no fixed kernel listed for jammy or noble as of 30 November; upstream fix noted as 7.4-rc1 / 7.3.2 |
| RHEL, Rocky, Alma, CentOS Stream | Fixed on RHEL 8 and 10; Affected on RHEL 7 and 9 | RHEL 8 kernel-4.18.0-553.190.1.el8_10 (RHSA-2026:103817, 26 Nov) and kernel-rt (RHSA-2026:103838); RHEL 8.6 4.18.0-372.230.1.el8_6 (RHSA-2026:104030); RHEL 10.0 6.12.0-55.121.1.el10_0 (RHSA-2026:104032) and 10.2 6.12.0-211.78.1.el10_2 (RHSA-2026:104044), 27 Nov; RHEL 9 and 7 no erratum yet. Rated Critical (9.4) |
| SUSE, openSUSE Leap | Pending, rated critical (9.8) | SUSE Liberty Linux 8 fixed via the RHEL 8 kernel; other products In progress or Affected. SUSE’s note: only exploitable by whoever can reach the NFSv4 service |
| Alpine, Fedora, Arch | Not consulted | trackers not read for this page; Fedora and Arch track upstream stable closely, so the upstream row applies |
| Any self-built or vendor kernel | Affected unless it carries the fix | stable 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2 or mainline 7.4-rc1 |
How to check
Three questions, in order: is the running kernel older than the fix, is the kernel NFS server running with version 4.1 or 4.2 on, and who can reach port 2049. The second command decides most machines: no nfsd, no exposure.
# 1. which kernel is running, and is it one of the fixed stable releases?
uname -r
# fixed: 5.10.275 / 5.15.226 / 6.1.193 / 6.6.163 / 6.12.117 / 6.18.61 / 7.3.2 / 7.4-rc1 (RHEL 8: 4.18.0-553.190.1; RHEL 10: 6.12.0-55.121.1 / 6.12.0-211.78.1)
# Distribution kernels carry their own version strings: compare with the
# distribution table above, or ask the package manager directly
dpkg -l 'linux-image-*' 2>/dev/null | grep '^ii' # Debian / Ubuntu
rpm -q kernel 2>/dev/null # RHEL family
rpm -q kernel-default 2>/dev/null # SUSE
# 2. is the kernel NFS server running, and which versions does it speak?
systemctl is-active nfs-server 2>/dev/null
ss -ltnp | grep -E ':2049\b' # nfsd listening (TCP)
cat /proc/fs/nfsd/versions 2>/dev/null # +4.1 +4.2 means sessions are on
exportfs -v 2>/dev/null | head
# 3. who can reach port 2049?
nft list ruleset 2>/dev/null | grep -E '2049|nfs' ; iptables -S 2>/dev/null | grep -E '2049|nfs'
firewall-cmd --list-services 2>/dev/null | tr ' ' '\n' | grep -E '^nfs'If step 1 shows a fixed kernel or step 2 shows no server, you are done. A running server whose /proc/fs/nfsd/versions shows +4.1 or +4.2 is exposed to anyone step 3 lets in, and the bug needs no export to be mounted and no credential, so a “but my exports are restricted” argument does not apply. Serving only NFSv3 or 4.0 avoids the session code and this bug, at the cost of everything 4.1 brought.
There is no record of exploitation yet, but the bug is pre-authentication on a well-known port, so look back on any server that has crashed or logged slab corruption since the CVE was published, and at who has been talking to 2049.
journalctl -k --since '2026-11-19' | grep -E 'nfsd|slab-out-of-bounds|read_bytes_from_xdr_buf|nfsd4_sequence|BUG:' | head
# connections to nfsd from addresses that are not your NFS clients
ss -tn state established '( sport = :2049 )' | awk 'NR>1 {print $5}' | cut -d: -f1 | sort | uniq -c | sort -rn | headA KASAN or slab report naming read_bytes_from_xdr_buf or nfsd4_sequence_done is this bug being triggered. A kernel panic on an NFS server with no such line is not proof, but on a server that any stranger can reach it is reason enough to patch today and to treat the host with suspicion until it has been rebuilt from a known state.
How to fix it
Upgrade the kernel and reboot. Red Hat has errata for RHEL 8 and 10, Debian for bookworm and trixie; Ubuntu and RHEL 9 users have to wait for the package or take the mitigation below. The NFS server lives in the kernel, so no service restart substitutes for the reboot.
# Debian
apt update && apt install --only-upgrade linux-image-amd64 # or linux-image-arm64
# Ubuntu (the generic metapackage pulls the fixed kernel once it is released)
apt update && apt full-upgrade
# RHEL, Rocky, Alma, CentOS Stream
dnf update kernel
# SUSE / openSUSE
zypper patch
# then reboot into the new kernel and confirm
reboot
uname -rUntil the reboot, do one of the two things Red Hat lists: stop the server if nothing needs it, or allow port 2049 only from the clients that do. The second is the normal state of a well-run file server anyway.
# a) nothing needs it: stop and disable the server
systemctl disable --now nfs-server
# b) restrict 2049 to known clients (firewalld example; adjust the source range)
firewall-cmd --permanent --remove-service=nfs
firewall-cmd --permanent --add-rich-rule='rule family=ipv4 source address=10.0.0.0/24 service name=nfs accept'
firewall-cmd --reload
# nftables equivalent: accept tcp dport 2049 only from the client set, then drop
# c) last resort where 4.1 and 4.2 are not needed: serve only 4.0 and 3 until patched
# (set vers4.1=n and vers4.2=n under [nfsd] in /etc/nfs.conf, then restart nfs-server)Do not rely on export lists, Kerberos or /etc/exports restrictions: the overflow happens in session setup, before the server looks at any export or credential. Do not assume a NAT or “it is on the LAN” makes it safe; every host on that LAN is a potential attacker, and a compromised laptop is the usual starting point. Patch, and keep 2049 closed to everyone who is not a client.
Sources
- CVE-2026-99362 at CVE.org — the kernel CNA record with the commit message, the affected ranges, the touched files and the stable-branch fixes
- NVD entry — status Received; the only score is the CNA’s
- Mainline fix commit 35ff1a7a7e38 — the commit the record and Debian cite (git.kernel.org refuses automated readers, so this page describes the fix from the CNA’s copy of the commit message, not from the diff)
- oss-security, 28 November 2026 — a forwarded summary of a third-party advisory naming the bug “NFS2ROOT” and claiming a root-shell chain; no proof of concept is attached and this page does not repeat its unverified claims
- RHSA-2026:103817 — the RHEL 8 kernel update, 26 November 2026, and RHSA-2026:104032 for RHEL 10.0
- DLA-4942-1 and DLA-4927-1 — the Debian bookworm kernel updates (the debian-lts-announce page itself sits behind an anti-bot check and was not read)
- Distribution trackers: Debian · Ubuntu · Red Hat · SUSE
- EPSS score for this CVE, 29 November 2026
Related reading
- CVE-2026-99366: Linux kernel NFS server lets replayed requests corrupt a session slot — the second NFS server session bug in the same release, a use-after-free on replayed requests (forthcoming if the link is not yet live)
- CVE-2026-99310: Linux kernel NFS server frees an open owner while another request reads it — the third, an open-owner use-after-free reachable through EXCHANGE_ID (forthcoming if the link is not yet live)
- CVE-2026-99679: Linux kernel XFS shuts down or leaks stale data on a pNFS LAYOUTCOMMIT of a hole — the XFS pNFS bug that an authenticated NFS client can use to shut a server down (forthcoming if the link is not yet live)
- CVE-2025-39682: Linux kernel TLS receive path mishandles a zero-length record — the last kernel network bug this site rated this seriously, and how its distribution scores differed
- Hardening a Public-Facing Service Beyond the Basics — allowing a port only from the hosts that need it, which is the whole mitigation here
- The Half of Patching That Happens After the Patch is Installed — a kernel update is not installed until you have rebooted into it
This advisory page was assembled from the primary sources listed above on 30 November 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.

