New NFS2ROOT Linux flaw can let attackers gain root privileges
- About
- Linux
- Detected
A 12-year-old critical vulnerability in the Linux kernel's Network File System (NFS) server, tracked as CVE-2026-99362, allows remote attackers to gain root privileges. [...]
Details
Source publication: BleepingComputer
Feed URL: https://www.bleepingcomputer.com/feed/
Link: https://www.bleepingcomputer.com/news/security/new-nfs2root-linux-flaw-can-let-attackers-gain-root-privileges/
Published: 2026-11-27T08:06:58+00:00
Software flaws named here
- CVE-2026-99362: Linux LinuxSeverity 9.8, critical<1% chance of attack in 30 days
nfsd: preflight SEQUENCE replies before accepting a slot
In the Linux kernel, the following vulnerability has been resolved: nfsd: preflight SEQUENCE replies before accepting a slot nfsd4_sequence() narrows the reply buffer to the session's cached reply limit before it accepts the slot seqid. A client may negotiate ca_maxresponsesize_cached down to NFSD_MIN_HDR_SEQ_SZ, and nfsd4_alloc_slot() then gives every slot a zero-length sl_data[]. A COMPOUND tag can fill that narrowed buffer until it holds the SEQUENCE opcode but not the status word that follows. nfsd4_encode_operation() returns without running nfsd4_encode_sequence(), so cstate.data_offset stays zero. It leaves op->status at nfs_ok as well, so the COMPOUND is treated as having succeeded. nfsd4_store_cache_entry() declines to cache a lone SEQUENCE that returned an error. That test reads the status the operation reported, so it passes here. The copy starts at offset zero and takes the whole reply, RPC and COMPOUND headers included, into the zero-length sl_data[]. The COMPOUND tag is copied along with it, so the client picks most of the bytes written past the end of the slot: BUG: KASAN: slab-out-of-bounds in read_bytes_from_xdr_buf+0x1bc/0x390 Write of size 80 at addr ffff888003a549cd by task kunit_try_catch/24 __asan_memcpy+0x38/0x60 read_bytes_from_xdr_buf+0x1bc/0x390 nfsd4_sequence_done+0x5b0/0x810 nfs4svc_encode_compoundres+0x1bf/0x240 Check that the fixed-size SEQUENCE result, plus room for a following operation's error status, fits the negotiated limit before narrowing the buffer and consuming the slot seqid. The slot and its reply cache are left unchanged, as RFC 8881 Section 2.10.6.1.2 requires of an error returned from SEQUENCE.
What to do about it
- Find out whether you run the affected product. Check the product names and versions above against what your business uses, including firewalls, routers, plugins and servers your provider manages for you.
- Apply the vendor’s fix, or the workaround. Install the update from the product’s maker. If none exists yet, follow their temporary workaround or take the affected system off the public internet.
- Check for signs it was already used. Look for new admin accounts, unexpected files and unusual outgoing traffic. If the flaw is on the CISA exploited list, assume attackers have already tried it on exposed systems.
Related on Securlabs
Where this came from and what it does not tell you
- Source type
- News feed excerpt. The headline and opening summary from the publisher’s own feed. We do not copy the article.
- First seen by Securlabs
- ; last updated
- Limits
- Our summary is only what the publisher put in its feed. The full story, with quotes and later corrections, is at the source.
View the raw record (JSON)
{
"id": "news_0f84e2352a98ac6f",
"title": "New NFS2ROOT Linux flaw can let attackers gain root privileges",
"category": "cve",
"severity": "critical",
"status": "active",
"entity": "Linux",
"country_code": "GLOBAL",
"summary": "A 12-year-old critical vulnerability in the Linux kernel's Network File System (NFS) server, tracked as CVE-2026-99362, allows remote attackers to gain root privileges. [...]",
"technical_details": "Source publication: BleepingComputer\nFeed URL: https://www.bleepingcomputer.com/feed/\nLink: https://www.bleepingcomputer.com/news/security/new-nfs2root-linux-flaw-can-let-attackers-gain-root-privileges/\nPublished: 2026-11-27T08:06:58+00:00",
"source_name": "BleepingComputer",
"source_url": "https://www.bleepingcomputer.com/news/security/new-nfs2root-linux-flaw-can-let-attackers-gain-root-privileges/",
"raw_data": "{\"tags\": [\"Security\"], \"author\": \"Sergiu Gatlan\", \"guid\": \"https://www.bleepingcomputer.com/news/security/new-nfs2root-linux-flaw-can-let-attackers-gain-root-privileges/\"}",
"detected_at": "2026-11-27T08:06:58+00:00",
"resolved_at": null,
"updated_at": "2026-11-27T08:09:47.512644+00:00",
"image_url": "https://www.bleepstatic.com/content/hl-images/2026/10/29/Linux_tux.jpg"
}