Critical 9.8
Linux · Linux kernel NFS server (nfsd) · CVE-2026-99362
NFS2ROOT: Linux servers that share files over NFS could be taken over without a login
The Linux kernel's built-in NFS file sharing server (nfsd) has a memory flaw in how it handles NFS version 4.1 sessions, nicknamed NFS2ROOT. A remote client that can reach the server, with no account, can write past the end of a block of kernel memory, and the kernel's CVE record rates it 9.8 out of 10. It has been in the kernel since version 3.16, released in 2014. No attacks had been reported as of 26 November, but it has drawn wide attention because NFS is a common way for servers and storage boxes to share files.
- Affected
- Linux machines that act as an NFS server using the kernel's own nfsd, on kernel 3.16 or later, until updated to a fixed release for their branch. Machines that only connect to NFS shares as a client are not the ones at risk. Many servers do not run an NFS server at all.
- What to do
- Install your Linux distribution's kernel security update and reboot. The fixed upstream kernels are 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61 and 7.3.2. Debian has fixed packages for Debian 12 (6.1.192-3) and Debian 13 (6.12.117-1); for other distributions and for NAS appliances, check the supplier's own advisory. Until you can update, limit the NFS port (2049) to the machines that need it and never leave it open to the internet. watchTowr also suggests switching off NFS versions 4.1 and 4.2 on the server if you can do without them.General information summarised from the vendor's advisory at the time of writing, not professional advice. Check the vendor's current advisory before acting.
- Why it’s here
- Rated 9.8, needs no login and sits in the Linux kernel itself, so it reaches a very large number of file servers; widely covered.
