Nfs2root: A 12-year-old pre-auth remote root in the Linux kernel's NFS server
Web page · https://opensec.in/blog/nfs2root-cve-2026-99362
First seen by Oriel on .
AI summary
OpenSec describes CVE-2026-99362, a pre-authentication heap overflow in Linux nfsd that can enable remote root access through NFSv4.1 or 4.2 on reachable TCP port 2049.
- A client can set an NFS session slot’s reply cache to zero bytes, then trigger a reply copy beyond the kernel heap object.
- The reported write copies 80 bytes, including 61 bytes beyond the object and 40 bytes chosen by the client.
- OpenSec says its Antara harness chained the overflow with a heap leak, arbitrary free, and callback reclaim to obtain a root shell.
- Affected kernels include versions since Linux 3.16; fixes are listed in 6.12.117, 6.18.61, 7.3.2, and 7.4-rc1.
- The article recommends patching and rebooting, or restricting TCP 2049; disabling NFSv4.1 and 4.2 may disable pNFS and some 4.2 features.
#linux kernel #nfs #cybersecurity #vulnerability research
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Points
Score reported by the source.
- Hacker News: 215, latest observation ; +210 over observed period since
Comments
Comment count reported by the source.
- Hacker News: 95, latest observation ; +95 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| Hacker News | 50647161 | https://opensec.in/blog/nfs2root-cve-2026-99362 Read discussion |