مركز جمع المعلومات

معلومات التهديدات

NFS2ROOT: a 12-year-old Linux NFS flaw gives remote root.

CVE-2026-99362 is a heap overflow in the Linux kernel NFS server, present since kernel 3.16. A remote, unauthenticated attacker can reach root. No exploitation reported yet, but a full exploit exists.

هذا التقرير متاح بالإنجليزية فقط.

A heap buffer overflow in the Linux kernel NFS server lets a remote, unauthenticated attacker run commands as root. It is tracked as CVE-2026-99362 and nicknamed NFS2ROOT. BleepingComputer reported it on November 27, 2026.


The bug sits in nfsd, the in-kernel NFS server. It has been present since Linux kernel 3.16, released in March 2014. The article does not state a CVSS score. It reports no exploitation in the wild so far.


Jérémy Jean of ANSSI found the flaw and submitted a fix in August. Security firm OpenSec, which named the bug, shared a full remote-root exploit and a patch with the NFSD maintainers in late September.


Exposure is narrow but serious. Hosts are affected only if nfsd (NFS v4.1 or 4.2) is loaded and running, and TCP port 2049 is reachable from the Internet. Affected kernels are older than 6.12.117, 6.18.61, 7.3.2 or 7.4-rc1.


According to the report, crafted requests make the NFS server write past an allocated buffer. The attacker then reads kernel memory and bypasses KASLR. A callback that executes a command is placed in a released memory area. When the attacker closes the NFS connection, the kernel runs the embedded command as root. No user interaction is needed.


Detection is hard. OpenSec says the attack leaves no network signatures. Its suggested indicators: kernel warnings from nfsd4_check_resp_size, shells spawned by kernel workers on a file server, bursts of short NFSv4.1 sessions from a single source, and kernel oopses with nfsd4_*, svc_* or call_usermodehelper* frames.


Mitigation. Apply the latest kernel update from your distribution and reboot. If patching has to wait, restrict TCP port 2049 to trusted clients or networks. If NFS is not needed, stop and disable the nfs-server service. OpenSec's guidance is blunt: kernel hardening does not remove the overflow, so patch every host.


Blue teams should also inventory any file server exposing 2049 outside the internal network. Red teams can add NFS reachability to external attack-surface checks.

يتطلب صلاحية دخول.

سجل الأحداث المشفّر الكامل وإجراءات المعالجة متاحة بعد تسجيل الدخول.