NFS2ROOT Linux NFS vulnerability allows remote root access

This message is intended for U-M IT staff responsible for Linux NFS servers.

Summary

NFS2ROOT (CVE-2026-99362) is a reported critical vulnerability in the Linux kernel NFS server that can allow unauthenticated remote attackers to gain root privileges. Administrators of affected NFS servers should promptly apply kernel security updates and reboot.

Until patched, restrict TCP port 2049 to trusted clients or networks.

Threats

Successful exploitation can give an unauthenticated remote attacker root control without user interaction. There is no known exploitation in the wild at publication.

Affected Systems

Linux hosts running a vulnerable kernel with nfsd serving NFSv4.1 or NFSv4.2 and TCP port 2049 reachable by an attacker. Potentially affected roles include file servers, Linux-based NAS appliances, build farms, and Kubernetes storage nodes.

OpenSec lists fixes by branch: 

  • 6.12 LTS—6.12.117 
  • 6.18—6.18.61; 7.3—7.3.2 
  • mainline—7.4-rc1 

These are branch-specific versions, not a single universal version cutoff. For distribution kernels and appliances, confirm affected and fixed packages with the vendor.

Action Items

MiServer customers:
MiServer Linux systems will be patched and restarted by ITS as vendor-supplied updates become available.


Owners of Linux systems and Linux-based appliances:

  1. Identify Linux NFS servers using NFSv4.1 or NFSv4.2 and assess who can reach TCP port 2049. Prioritize servers reachable from untrusted networks.
  2. Apply the distribution vendor’s kernel security update addressing CVE-2026-99362 promptly, reboot, and verify the patched kernel is running. 
  3. Until patched, restrict TCP port 2049 to trusted clients or networks. If NFS sharing is unnecessary, stop and disable the NFS server service. Coordinate changes to avoid disrupting dependent services.
  4. OpenSec also describes disabling NFSv4.1 and NFSv4.2 and restarting nfs-server as a temporary option; this disables pNFS and some NFSv4.2 features. Evaluate compatibility before applying it.

Technical Details

OpenSec describes a pre-authentication heap overflow in the nfsd reply-cache path. Crafted requests can be chained to leak kernel memory, bypass Kernel Address Space Layout Randomization (KASLR), and execute commands as root. The flaw has existed since kernel 3.16. 

How We Protect U-M

ITS provides CrowdStrike Falcon to units, which should be installed on all U-M owned systems (Windows, macOS, and Linux operating systems, whether workstations or servers). Falcon administrators in ITS and in U-M units use the Falcon console to investigate and remediate issues.

Questions, Concerns, Reports

Please contact ITS Information Assurance through the ITS Service Center.