<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/flaw-in-linux-nfs-file-sharing-exposes-servers-to-remote-takeover-l51kshqta" -->

---
title: Flaw in Linux NFS file sharing exposes servers to remote...
description: A critical heap overflow in the Linux kernel's NFS server lets unauthenticated attackers get a root shell. Tracked as CVE-2026-99362 and dubbed NFS2ROOT, it is...
canonical: https://daily.dev/posts/flaw-in-linux-nfs-file-sharing-exposes-servers-to-remote-takeover-l51kshqta
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Flaw in Linux NFS file sharing exposes servers to remote takeover | daily.dev
og:description: A critical heap overflow in the Linux kernel's NFS server lets unauthenticated attackers get a root shell. Tracked as CVE-2026-99362 and dubbed NFS2ROOT, it is...
og:url: https://daily.dev/posts/flaw-in-linux-nfs-file-sharing-exposes-servers-to-remote-takeover-l51kshqta
og:image: https://api.daily.dev/og/posts/l51KSHQtA.png
og:image:alt: Flaw in Linux NFS file sharing exposes servers to remote takeover
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Flaw in Linux NFS file sharing exposes servers to remote takeover

**[CSO Online](https://daily.dev/sources/csoonline)** · 2 min read · 1 upvotes · 0 comments

## Summary

A critical heap overflow in the Linux kernel's NFS server lets unauthenticated attackers get a root shell. Tracked as CVE-2026-99362 and dubbed NFS2ROOT, it is rated 9.8 and affects NFSv4.1 and NFSv4.2. Anyone who can reach port 2049 can corrupt memory in the nfsd process. The bug was introduced in Linux 3.16 in 2014 and is patched in eight stable branches, including 6.12.117 and 7.3.2. If you can't patch, block port 2049 from untrusted systems or disable NFSv4.1 and 4.2, which turns off pNFS.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.csoonline.com/article/4254114/flaw-in-linux-nfs-file-sharing-exposes-servers-to-remote-takeover.html>

## Questions this post answers

### Which Linux kernel versions patch the NFS2ROOT vulnerability CVE-2026-99362?

The flaw is patched in eight stable kernel branches: 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1. It was introduced in Linux 3.16 in 2014 and affects the NFSv4.1 and NFSv4.2 server, rated 9.8 in severity. Embedded and NAS devices on older kernels may only get fixes through firmware updates.

_Developers running Linux servers track kernel CVEs like this on daily.dev._

### How can I mitigate CVE-2026-99362 on a Linux NFS server I can't patch yet?

Use firewall rules to block access to port 2049 from untrusted systems. Alternatively, disable NFSv4.1 and NFSv4.2 in the nfsd configuration and restart the service. The second option turns off pNFS and some other features, so it has a functional cost. The flaw allows unauthenticated attackers to reach root through memory corruption in nfsd.

_Admins who can't patch immediately keep up with workarounds like these on daily.dev._

## Similar posts on daily.dev

- [High-severity vulnerability in Linux caused by a single errant character](https://daily.dev/posts/high-severity-vulnerability-in-linux-caused-by-a-single-errant-character-vneclplh7) · Ars Technica · 7 upvotes · 0 comments
- [Claude Code Found a Linux Vulnerability Hidden for 23 Years](https://daily.dev/posts/claude-code-found-a-linux-vulnerability-hidden-for-23-years-ty1tp2xrp) · Michael Lynch · 14 upvotes · 1 comments

---

Tags: [#security](https://daily.dev/tags/security), [#linux](https://daily.dev/tags/linux), [#kubernetes](https://daily.dev/tags/kubernetes)

[View this post on daily.dev](https://daily.dev/posts/flaw-in-linux-nfs-file-sharing-exposes-servers-to-remote-takeover-l51kshqta)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Flaw in Linux NFS file sharing exposes servers to remote takeover","url":"https://daily.dev/posts/flaw-in-linux-nfs-file-sharing-exposes-servers-to-remote-takeover-l51kshqta","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/flaw-in-linux-nfs-file-sharing-exposes-servers-to-remote-takeover-l51kshqta"},"datePublished":"2026-11-27T20:44:14.560Z","dateModified":"2026-11-28T06:10:04.447Z","description":"A critical heap overflow in the Linux kernel's NFS server lets unauthenticated attackers get a root shell. Tracked as CVE-2026-99362 and dubbed NFS2ROOT, it is...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/152950d5ed9a550230d11f35cb785b28?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/152950d5ed9a550230d11f35cb785b28?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"CSO Online","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"CSO Online","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/98667e4b5cac46cf9c470819c6cf71cd","url":"https://daily.dev/sources/csoonline"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/flaw-in-linux-nfs-file-sharing-exposes-servers-to-remote-takeover-l51kshqta","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,linux,kubernetes","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"CSO Online","item":"https://daily.dev/sources/csoonline"},{"@type":"ListItem","position":3,"name":"Flaw in Linux NFS file sharing exposes servers to remote takeover"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/flaw-in-linux-nfs-file-sharing-exposes-servers-to-remote-takeover-l51kshqta#faq","mainEntity":[{"@type":"Question","name":"Which Linux kernel versions patch the NFS2ROOT vulnerability CVE-2026-99362?","acceptedAnswer":{"@type":"Answer","text":"The flaw is patched in eight stable kernel branches: 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1. It was introduced in Linux 3.16 in 2014 and affects the NFSv4.1 and NFSv4.2 server, rated 9.8 in severity. Embedded and NAS devices on older kernels may only get fixes through firmware updates. Developers running Linux servers track kernel CVEs like this on daily.dev."}},{"@type":"Question","name":"How can I mitigate CVE-2026-99362 on a Linux NFS server I can't patch yet?","acceptedAnswer":{"@type":"Answer","text":"Use firewall rules to block access to port 2049 from untrusted systems. Alternatively, disable NFSv4.1 and NFSv4.2 in the nfsd configuration and restart the service. The second option turns off pNFS and some other features, so it has a functional cost. The flaw allows unauthenticated attackers to reach root through memory corruption in nfsd. Admins who can't patch immediately keep up with workarounds like these on daily.dev."}}]}
```

