Linux kernel developers have fixed CVE-2026-99362, a vulnerability in nfsd, the NFS server built into the Linux kernel. The CVE record was published on November 19, 2026 (UTC) and rates the flaw 9.8 (Critical) as a CVSS 3.1 base score. The bug affects kernels from Linux 3.16 onward, and fixes are included in stable releases from the 5.10 series through the 7.3 series, as well as in the 7.4-rc1 development release.

NFSv4.1 Session Handling Writes Past the End of a Buffer

The problem lies in the nfsd4_sequence() function in fs/nfsd/nfs4state.c. Starting with NFSv4.1, clients and servers establish a "session," and the server caches the most recent reply for each unit called a "slot" so it can handle retransmissions.

According to the description in the CVE record, nfsd4sequence() narrowed the reply buffer to the session's negotiated cached-reply limit before accepting the slot's sequence ID (seqid). A client can negotiate that limit (camaxresponsesize_cached) down to the minimum, in which case the reply cache area for every slot becomes zero bytes long.

If a crafted COMPOUND request is then sent, nfsd4storecache_entry() copies the entire reply, including the RPC and COMPOUND headers, into that zero-length area. The result is a write beyond the bounds of a kernel heap (slab) object. The CVE record also includes output from KASAN, the kernel's memory error detector.

Root Cause Dates to 2014; the Fix Checks Reply Size First

The fix commit, "nfsd: preflight SEQUENCE replies before accepting a slot," uses a Fixes tag to name the commit "nfsd4: adjust buflen to session channel limit" as the origin of the bug. The CVE record treats Linux 3.16, where that change landed, as the start of the affected range, meaning the problem persisted for about 12 years.

The fix first checks whether the SEQUENCE result, plus room for a following operation to return an error status, fits within the negotiated limit. If it does not, processing stops before the buffer is narrowed and the seqid is consumed. The change touches a single file, nfs4state.c, adding 18 lines and removing one.

The commit was written by Jérémy Jean and merged by nfsd maintainer Chuck Lever. Its tested-by line names a member of OpenSec Intelligence, and the commit also notes that it was created with assistance from the AI coding tool Codex.

CVSS 9.8 Reflects Unauthenticated Network Attack

The CVSS 3.1 vector assigned by the Linux kernel CNA (the CVE Numbering Authority that issued the ID) is AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. That rating means the flaw can be reached over the network with low attack complexity, needs no privileges or user interaction, and could have a high impact on confidentiality, integrity, and availability.

The CVE record does not say whether the flaw has been exploited in the wild or whether exploit code has been released.

Updating to a Fixed Kernel Is Required

The fixed versions listed in the CVE record are shown in the table below. In each series, releases earlier than the listed version are affected.

SeriesFixed version
5.105.10.275
5.155.15.226
6.16.1.193
6.66.6.163
6.126.12.117
6.186.18.61
7.37.3.2
Development7.4-rc1

The vulnerable code runs when nfsd handles NFSv4.1 or later sessions, so servers that share files using nfsd are the ones affected. Distribution kernels, however, often backport fixes on their own, so the version number alone is not enough to tell. Administrators will need to check each distribution's security information for its status as of now.

Sources: Linux kernel fix commit (GitHub mirror) / CVE record for CVE-2026-99362

Our Take

The fix itself is small, under 20 lines, and it has already been backported widely to stable branches as far back as 5.10, which is reassuring. That said, NFS often runs for years on company file servers, lab computing systems, and NAS devices, where kernel updates and reboots tend to be postponed. If the CVSS rating holds, servers whose TCP port 2049, the standard NFS port, is reachable from outside should be patched first.

Still, some environments cannot be rebooted right away. In those cases, common stopgaps such as limiting connections to port 2049 to trusted clients, or disabling NFSv4.1 and later on the server if they are not needed, are a realistic way to buy time until the update.

Summary

A memory out-of-bounds write in nfsd, the Linux kernel's NFS server, that had existed since 3.16 has been fixed. It concerns administrators of servers that share files with nfsd, and its CVSS score is a high 9.8. Applying a fixed kernel or the distribution's update and then rebooting is recommended.