Standard

NFS v4.1

IETF RFC 5661 — a stateful evolution of NFS that introduces sessions, parallel NFS (pNFS), and close-to-open consistency semantics. In the 2026 S3 ecosystem, it's the mount protocol sitting underneath Amazon S3 Files, letting ordinary POSIX clients treat an S3 bucket as a mutable file system.

3 connections2 resources2 posts

Summary

What it is

IETF RFC 5661 — a stateful evolution of NFS that introduces sessions, parallel NFS (pNFS), and close-to-open consistency semantics. In the 2026 S3 ecosystem, it's the mount protocol sitting underneath Amazon S3 Files, letting ordinary POSIX clients treat an S3 bucket as a mutable file system.

Where it fits

NFS v4.1 is the path the industry took to reconcile object storage's atomic-PUT model with file-system mutability — not by inventing a new protocol, but by leaning on a familiar, widely implemented one. Its file-lock semantics, compound RPCs, and delegated caching map cleanly onto the EFS-backed translation layer S3 Files uses, giving agent and legacy workloads the file API they expect without changes on the client side.

Misconceptions / Traps
  • Close-to-open consistency is weaker than atomic-PUT — writes are visible on the same client immediately but only propagate to other clients after close.
  • NFS v4.1 is not the same as NFSv3. The stateful session model means misbehaving clients can hold locks that linger until session timeout.
  • The protocol is not the guarantee. Behavior under S3 Files depends on the EFS cache flush interval and the S3-wins conflict policy layered on top.
Key Connections
  • enables Amazon S3 Files — the mount protocol exposed by S3 Files
  • scoped_to Object Storage — bridge between file and object worlds

Definition

What it is

The IETF-standardized Network File System protocol (RFC 5661), a stateful evolution of NFS introducing sessions, parallel NFS (pNFS), and explicit close-to-open consistency semantics. The mount protocol underneath **Amazon S3 Files**, exposing general-purpose S3 buckets as POSIX file systems.

Why it exists

Object storage and file storage operate on fundamentally different consistency and lifecycle models. NFS v4.1 is the path the industry took to bridge that gap without inventing a new protocol — its file-lock semantics, compound RPCs, and delegated caching map cleanly onto the EFS-backed translation layer that S3 Files uses to present atomic-PUT objects as mutable files.

Primary use cases

POSIX mount of S3 buckets via S3 Files, shared workspace file systems for agentic AI pipelines, legacy file-oriented ML tooling that cannot be rewritten to the REST API.

Recent developments

Latest signals
  • CVE-2026-3864: CSI Driver for NFS path traversal via subDir may delete unintended directories on the NFS server. A vulnerability was discovered in the Kubernetes CSI Driver for NFS where the subDir parameter in volume identifiers was insufficiently validated. CVSS: 6.5 (Medium). Per GitHub (kubernetes/kubernetes) (2026-03-16).

  • CVE-2026-31402: unauthenticated remote heap overflow in the Linux NFSv4.0 LOCK replay cache. A 112-byte inline buffer proved too small for LOCK-denied responses carrying large owner strings (up to 1024 bytes), producing a slab-out-of-bounds write of up to 944 bytes — triggerable by two cooperating NFSv4.0 clients with no authentication. Per CVE-2026-31402 (NVD).

  • CVE-2026-23053: NFSv4.1 state-recovery deadlock. A circular dependency between kernel memory reclamation (kthreadd) and NFSv4.1 state recovery in nfs_release_folio() lets a local attacker trigger a denial of service under memory pressure. Published February 2026; fixed by moving writeback/commit to an asynchronous path. Per CVE-2026-23053 (SentinelOne).

  • IETF is still actively revising the core NFSv4.1 spec. draft-ietf-nfsv4-rfc8881bis, the successor to RFC 5661/8881, tightens session-security requirements — SECINFO/SECINFO_NO_NAME handling, backchannel RPC security, and the SSV (Secret State Verifier) GSS mechanism for state protection — with a revision dated as recently as May 2026. Per draft-ietf-nfsv4-rfc8881bis (IETF Datatracker). Sources: GitHub (kubernetes/kubernetes)

Connections3

Outbound2
Inbound1
implements1

Resources2

Featured in