Patch Ticker
EnglishEN
Urgent

Linux kernel NFS server pre-auth heap overflow allows root (NFS2ROOT)

CVE-2026-99362

Linux file-sharing servers can be taken over without any login!

CVE
CVE-2026-99362 (opens in a new tab)
Score
CVSS 9.8
First seen
9.8
Products

Mitigation

Update your kernel line to its fixed version and reboot. Find each line's fixed version in the list below. Until then, set vers4.1=n and vers4.2=n under [nfsd] in /etc/nfs.conf and restart nfs-server, or allow only trusted ranges to tcp/2049 through a firewall.

Fixed version by product

Linux Kernel 5.10
5.10.275 or later
Linux Kernel 5.15
5.15.226 or later
Linux Kernel 6.1
6.1.193 or later
Linux Kernel 6.6
6.6.163 or later
Linux Kernel 6.12
6.12.117 or later
Linux Kernel 6.18
6.18.61 or later
Linux Kernel 7.3
7.3.2 or later
2 moreShow less

Can't update yet?

Add this line to the config file:

vers4.1=n vers4.2=n

A wrong setting can stop the service or lock you out. Check the source links below first.

Then restart nfs-server.

Summary

A heap out-of-bounds write in the Linux kernel's NFS server (nfsd) lets an unauthenticated remote attacker overwrite kernel memory and gain root. Kernels from 3.16 up to their fixed versions are affected.

Affected when

  • In-kernel NFS server (nfsd) loaded
  • NFSv4.1 or 4.2 enabled (the default)
  • tcp/2049 reachable from addresses other than loopback
  • Kernel from 3.16 up to before its fixed version, with no distribution backport

Incidents by product: Linux

Other recent Incidents of Linux

All Incidents of 2026-11-19

Distribution packages (23) (every link below opens in a new tab)

Sources: Debian Security Tracker · Ubuntu Security Notices (Canonical) (CC BY-SA 4.0) · Red Hat Security Data (CC BY 4.0) · SUSE CSAF VEX (CC BY 4.0)

Read the write-up · opensec.in (opens in a new tab)