Description
CVE-2026-99362 is an out-of-bounds write vulnerability affecting the Linux kernel's NFS server implementation.
Network File System (NFS) allows systems to share files and directories across networks. It is widely used in enterprise environments, Linux infrastructure, NAS devices, storage platforms, and virtualized environments.
The Linux kernel implements server-side NFS functionality through the nfsd subsystem.
During NFSv4.1 communication, clients and servers establish sessions and negotiate parameters governing how requests and responses are processed.
One of these parameters controls the maximum cached response size.
The vulnerability occurs when an NFS client negotiates the cached response size down to the minimum permitted value and sends a specially constructed COMPOUND request containing a SEQUENCE operation.
Under these conditions, the server may incorrectly process the response and copy data into a reply-cache buffer that has no allocated storage capacity.
This results in a write operation extending beyond the allocated memory boundary.
The issue demonstrates how improper validation of protocol-level buffer constraints can introduce serious memory-safety weaknesses within kernel networking components.
Technical Description
Understanding the Linux NFS Server
The Linux Network File System daemon, commonly known as nfsd, provides server-side NFS functionality.
It allows remote clients to access shared files and directories hosted on Linux systems.
NFSv4.1 introduces session-based communication mechanisms that improve request management and reliability.
Within these sessions, SEQUENCE operations help maintain session state and coordinate request processing.
The server also maintains cached responses using session slots, allowing clients to recover from certain communication failures without unnecessarily repeating operations.
The size of cached responses is negotiated between the client and server.
CVE-2026-99362 affects how the Linux kernel handles this negotiated response limit.
Root Cause: Improper Cached Reply Buffer Handling
The vulnerability exists in the interaction between the following kernel functions:
nfsd4_sequence()nfsd4_alloc_slot()nfsd4_encode_operation()nfsd4_encode_sequence()nfsd4_store_cache_entry()
During session processing, nfsd4_sequence() reduces the response buffer according to the negotiated cached reply limit.
An attacker-controlled NFS client can negotiate this limit down to NFSD_MIN_HDR_SEQ_SZ.
Under this condition, nfsd4_alloc_slot() can allocate session slots with zero-length sl_data[] buffers.
The server then processes a crafted COMPOUND request whose tag occupies the available response space, leaving insufficient room for the SEQUENCE status word.
The SEQUENCE response is not encoded as expected, but the operation status remains nfs_ok.
Consequently, the server may treat the COMPOUND operation as successful and proceed with response-cache processing.
Out-of-Bounds Memory Write
The critical failure occurs when nfsd4_store_cache_entry() attempts to copy the response into the session slot's reply cache.
Because the allocated sl_data[] buffer has zero length, the response-copy operation writes beyond the intended memory boundary.
The copied information includes RPC and COMPOUND response headers.
The Linux Kernel CVE announcement describes an associated memory-safety report:
BUG: KASAN: slab-out-of-bounds
The report identifies an 80-byte write beyond the allocated memory region during the affected processing path.
This confirms the underlying memory-boundary violation.
Memory Corruption and Potential Exploitation
An out-of-bounds write allows a program to modify memory outside the boundaries of an allocated buffer.
In a kernel component, this can be particularly dangerous because the affected memory may contain data structures used by privileged kernel operations.
Depending on the surrounding memory layout and exploitation conditions, corruption could result in:
Kernel memory corruption.
Unexpected kernel behavior.
Kernel panic or system crash.
Denial of service.
Potential arbitrary code execution.
Red Hat identifies potential remote code execution as an impact of successful exploitation.
However, the published technical description establishes the out-of-bounds write, not a demonstrated working remote code execution exploit.
Attack Overview
The following sequence describes the vulnerability's technical trigger.
Initial Access: An attacker establishes network communication with a system operating the affected Linux NFS server.
Session Negotiation: The attacker negotiates an extremely small cached response size through an NFSv4.1 session.
Crafted Request: The attacker sends a specially constructed COMPOUND request containing a SEQUENCE operation.
Buffer Allocation: The server creates a session slot with a zero-length reply-cache buffer.
Response Processing: The response buffer does not have sufficient space to encode the expected SEQUENCE status information.
Cache Processing: The server incorrectly treats the operation as successful and attempts to store the response.
Memory Corruption: Response data is copied beyond the allocated reply-cache boundary.
Potential Impact: Kernel memory corruption, system instability, denial of service, or potentially arbitrary code execution.
This sequence represents the documented vulnerability mechanism rather than a confirmed real-world attack campaign.
Technical Analysis
NFSv4.1 SEQUENCE Operation
NFSv4.1 uses SEQUENCE operations to maintain session and request-processing state.
Each session maintains slots that track requests and their corresponding cached responses.
The negotiated cached response size determines how much response data the server can retain for a particular slot.
The vulnerability occurs when this negotiated limit is reduced to the minimum value.
Zero-Length Reply Cache Allocation
When the server processes the minimum cached response-size configuration, the slot allocation mechanism can produce a zero-length sl_data[] buffer.
The subsequent response-processing logic does not adequately account for the absence of available storage.
This creates the condition required for the out-of-bounds write.
Incorrect SEQUENCE Status Handling
The response encoder cannot fit the expected SEQUENCE status information within the narrowed response buffer.
However, the operation status remains successful.
This creates an inconsistency between the actual response-encoding result and the status used by subsequent cache-processing logic.
Response Cache Overflow
The server attempts to copy the response into the zero-length slot buffer.
The copy operation extends beyond the allocated memory boundary, resulting in the reported kernel memory corruption.
The affected implementation is located in:
fs/nfsd/nfs4state.c
Security Impact
Because the vulnerable code executes within the Linux kernel's NFS server subsystem, memory corruption can affect the stability and security of the underlying host.
Red Hat classifies the issue as Critical, citing the potential for kernel heap corruption, remote code execution, and complete denial of service.
The actual consequences depend on the affected kernel build, system configuration, and exploitation conditions.
Indicators of Compromise (IOCs)
CVE-2026-99362 is a kernel-level memory corruption vulnerability rather than a documented malware campaign.
The available advisories do not provide conventional IOCs such as malicious IP addresses, domains, file hashes, or malware signatures.
Technical Indicators
Indicator | Details |
|---|---|
CVE | CVE-2026-99362 |
Vulnerable component | Linux kernel nfsd |
Affected source file |
|
Vulnerability class | Out-of-bounds write |
CWE | CWE-787 |
Affected protocol | NFSv4.1 |
Memory-safety alert |
|
Reported write size | 80 bytes |
Investigation Indicators
Security teams should investigate:
Unexpected NFS server crashes.
Kernel panic events associated with NFS processing.
KASAN slab-out-of-bounds reports.
Abnormal NFSv4.1 session negotiation activity.
Unusual COMPOUND requests containing SEQUENCE operations.
Unexpected service interruptions affecting NFS exports.
These are investigation indicators and are not unique signatures of CVE-2026-99362 exploitation.
Potential Impact
Successful exploitation could have significant consequences for organizations operating affected Linux NFS servers.
Kernel Memory Corruption
The out-of-bounds write can modify memory beyond the allocated response-cache buffer, potentially affecting adjacent kernel data structures.
Remote Code Execution
Red Hat identifies the possibility of arbitrary code execution resulting from successful exploitation of the kernel memory corruption.
However, a publicly demonstrated working remote code execution exploit has not been established by the cited disclosures.
Denial of Service
Memory corruption may trigger a kernel panic or system crash, disrupting NFS services and making shared storage unavailable.
Enterprise Storage Disruption
Organizations relying on Linux NFS servers for shared storage, application data, and internal infrastructure could experience service interruptions.
Infrastructure Availability Risks
Compromise or instability of centralized NFS servers can affect multiple dependent applications, workloads, and systems.
Potential Confidentiality and Integrity Impact
If exploitation progresses beyond a crash, kernel memory corruption could potentially affect system integrity and confidentiality.
The CVSS assessment assigns high impact to confidentiality, integrity, and availability.
Recommendations
Immediate Actions
Identify all Linux systems operating as NFS servers.
Determine whether NFSv4.1 functionality is enabled.
Review kernel versions against the affected and fixed upstream releases.
Install the appropriate stable kernel security updates.
Reboot systems after kernel updates where required.
Review Red Hat security advisories for distribution-specific package status.
Monitor kernel logs for NFS-related crashes and memory-safety warnings.
Restrict NFS service exposure to trusted network segments.
Avoid exposing NFS services directly to untrusted networks.
Review unusual NFS session negotiation and COMPOUND request activity.
Preventive Actions
Maintain an accurate inventory of Linux kernel versions and NFS server deployments.
Apply kernel security updates through a controlled patch-management process.
Restrict NFS access using network segmentation and firewall policies.
Allow NFS traffic only from authorized clients and trusted infrastructure.
Monitor kernel logs and system stability indicators.
Conduct periodic security assessments of enterprise storage infrastructure.
Validate NFS protocol configurations against vendor recommendations.
Establish incident-response procedures for kernel memory corruption vulnerabilities.
Review NAS and storage appliances that use Linux kernel-based NFS implementations.
Continuously monitor distribution-specific security advisories for backported fixes.
Vendor and Upstream Remediation
The Linux Kernel CVE Team published fixes across multiple upstream kernel branches.
The reported fixed versions are:
Kernel Branch | Fixed Version |
|---|---|
6.12 stable | 6.12.117 |
6.18 stable | 6.18.61 |
7.3 stable | 7.3.2 |
7.4 development | 7.4-rc1 |
The corresponding upstream fixes are available through the Linux kernel stable repository.
Organizations should use the appropriate supported kernel update or distribution-provided backport rather than relying solely on upstream version comparisons.
Red Hat advisory note: Red Hat lists affected kernel packages across RHEL 7, 8, 9, and 10, as well as certain OpenShift components. Its advisory states that default RHEL configurations do not enable the in-kernel NFS server daemon. Organizations should verify their specific product and package status before determining exposure.
Conclusion
CVE-2026-99362 highlights the security implications of improper buffer management within privileged kernel networking components.
The failure to validate negotiated cached response limits before processing NFSv4.1 SEQUENCE operations creates a condition in which response data can be written beyond an allocated memory boundary.
Although the vulnerability is configuration-dependent, its Critical CVSS score and potential impact make it an important concern for organizations operating Linux-based NFS infrastructure.
The possibility of kernel memory corruption, system crashes, and potentially arbitrary code execution reinforces the importance of maintaining secure protocol implementations and applying kernel updates promptly.
Organizations should prioritize identifying exposed NFS servers, reviewing kernel package status, restricting network access, and deploying the appropriate security updates.
The key security lesson is that even a small protocol-handling error can create a serious vulnerability when it occurs inside a privileged operating system component.
Follow ThreatBeaconX
Stay informed about the latest cybersecurity threats, critical vulnerabilities, threat intelligence, security advisories, and actionable detection insights.
Follow ThreatBeaconX across our social media channels for regular updates and cybersecurity awareness.
X (Twitter): https://x.com/ThreatBeaconX
WhatsApp Channel: https://whatsapp.com/channel/0029VbDDBQkADTOA2umx8L0O
ILLUMINATE • DETECT • DEFEND
