Threat Advisory

Linux Kernel NFS Server Out-Of-Bounds Write Can Lead to Remote Code Execution

Threat: Vulnerability
Targeted Region: Global
Targeted Sector: Technology & IT
Criticality: Critical
[subscribe_to_unlock_form]

EXECUTIVE SUMMARY:

CVE-2026-99362 with a CVSS score of 9.8 is a critical heap overflow in the Linux kernel’s NFS server component, nfsd, when NFSv4.1 or NFSv4.2 is enabled and the service is reachable on TCP port 2049, with affected code dating back to Linux 3.16. The flaw occurs in the session reply-cache logic that determines whether a reply fits in a cached buffer. An affected server can treat an incomplete reply as a success and attempt to store it in a buffer that is too small, causing a write beyond the allocated space and corrupting nearby kernel data. A remote attacker who can reach the NFS server does not need to log in or have local access; by sending crafted NFSv4.1 or NFSv4.2 traffic, the attacker can trigger the overflow and execute commands with root privileges, potentially taking full control of the server. The business impact is severe because compromised NFS servers can expose file shares, network-attached storage, build servers, and storage nodes used by Kubernetes workloads, allowing unauthorized data access, tampering, lateral movement, and disruption of dependent services.

RECOMMENDATION:

We recommend you to update Linux kernel to version 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, or 7.4-rc1 depending on your installed branch.[/subscribe_to_unlock_form]

EXECUTIVE SUMMARY:

CVE-2026-99362 with a CVSS score of 9.8 is a critical heap overflow in the Linux kernel’s NFS server component, nfsd, when NFSv4.1 or NFSv4.2 is enabled and the service is reachable on TCP port 2049, with affected code dating back to Linux 3.16. The flaw occurs in the session reply-cache logic that determines whether a reply fits in a cached buffer. An affected server can treat an incomplete reply as a success and attempt to store it in a buffer that is too small, causing a write beyond the allocated space and corrupting nearby kernel data. A remote attacker who can reach the NFS server does not need to log in or have local access; by sending crafted NFSv4.1 or NFSv4.2 traffic, the attacker can trigger the overflow and execute commands with root privileges, potentially taking full control of the server. The business impact is severe because compromised NFS servers can expose file shares, network-attached storage, build servers, and storage nodes used by Kubernetes workloads, allowing unauthorized data access, tampering, lateral movement, and disruption of dependent services.

RECOMMENDATION:

We recommend you to update Linux kernel to version 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, or 7.4-rc1 depending on your installed branch.[emaillocker id="1283"]

REFERENCES:

The following reports contain further technical details:

[/emaillocker]
crossmenu