Security · November 29, 2026

Critical Vulnerability in Linux NFS Server

Welcome to pinterest login page with email and password fields
Zulfugar Karimov / Unsplash

The built-in NFS server in Linux kernel is affected by a serious vulnerability. Attackers can overwrite kernel memory and ultimately gain root access. Affected users should apply patches if available, and until then, either shut down the NFS server or only allow it to communicate with trusted clients.

The flaw has existed in the code since Linux 3.16. Malicious clients can negotiate that the server has insufficient space to cache its responses to the client. They can then prompt the server to provide a response that does not fit in the cache, resulting in 61 bytes being written beyond the cache. The content of 40 of these bytes can be determined by the client. Additionally, from the server's response, the client can infer its kernel address space layout randomization (KASLR) to target function pointers for further requests, ultimately gaining root rights on the server.

NFS users should ensure they are using at least one of the following kernel versions: Those using older distribution kernels should check that their release notes indicate the vulnerability CVE-2026-99362 has been fixed. Currently, the issue has not been widely patched on distributions like Red Hat, Ubuntu, or SUSE. Until patches can be applied, a temporary solution is to disable NFS in versions 4.1 and 4.2 or block access to the NFS port 2049 on the server for all untrusted clients.

The problem was first discovered in August by a staff member of the French cybersecurity agency ANSSI. Independently, the IT security company OpenSec discovered the vulnerability in September using an AI system. OpenSec also demonstrated the escalation to root rights and named the vulnerability NFS2ROOT. On November 19, CVE-2026-99362 was published and assigned a CVSS-3 score of 9.8; all Longterm kernels have been patched since November 23.