# CVE-2026-89666: nfsd: reject out-of-range nseconds in NFSv3 SETATTR and create ops

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-09-11T19:45:52.864Z
- **Modified:** 2026-10-30T13:20:25.267Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< cacda0762d7af24a27f7265711bc05095ece56b9; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 98fc1d21a7b80324ba64b949ac6bcc00364dd068; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 55341d8a5a0f5853e70d46f5a55cf06007808f1d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 54e02f5e32c52fb395f2ee02986a6c6d5608d22b; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e2543852152bcf9aeb57da17d9f9219f7df8aafb; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< eb0eca7720662ba5847df1510e73801f7f473094
- Anyone running Linux 2.6.12

## Description

In the Linux kernel, the following vulnerability has been resolved:

nfsd: reject out-of-range nseconds in NFSv3 SETATTR and create ops

A client can send an NFSv3 SETATTR, CREATE, MKDIR, SYMLINK or MKNOD
carrying an atime or mtime whose nseconds field is out of range. The
value is well-formed on the wire and decodes cleanly into a valid
uint32, but it is not a valid timespec64: tv\_nsec must be less than
NSEC\_PER\_SEC.

Nothing in the setattr path clamps it. notify\_change() runs the time
through timestamp\_truncate(), which does not reduce tv\_nsec below
NSEC\_PER\_SEC when the filesystem supports nanosecond granularity
(s\_time\_gran == 1), and the inode atime/mtime setters store it verbatim
(only ctime is normalized, via inode\_set\_ctime\_to\_ts()). The
un-normalized value then corrupts on-disk metadata: ext4's
ext4\_encode\_extra\_time() shifts tv\_nsec left by EXT4\_EPOCH\_BITS, which
overflows the 32-bit extra field and clobbers the seconds-epoch bits, so
the stored seconds (and thus the year) are wrong on read-back. XFS with
bigtime mis-stores the timestamp for the same reason.

Validate the client-supplied atime/mtime in the proc handlers and return
NFS3ERR\_INVAL before anything is changed. RFC 1813 lists NFS3ERR\_INVAL
for SETATTR and describes it as the error for a value the server 'can
not store ... in its own representation'; the client maps it to EINVAL.

Checking in the proc handlers, rather than in nfsd\_setattr(), keeps the
rejection in front of object creation. The create operations create the
object before nfsd\_create\_setattr() runs, so a late failure would leave
the new object behind and turn a non-idempotent request into a namespace
change that reports failure. The check is therefore done up front, for
the create operations before the object is created.

tv\_nsec is a long, so the comparison casts it to unsigned long (the same
width) rather than to u32, matching timespec64\_valid(). A u32 cast would
truncate on 64-bit; the unsigned long cast also rejects a value that
became negative when an out-of-range u32 wire nseconds was assigned to a
32-bit long.

Only client-supplied times are checked: SET\_TO\_SERVER\_TIME requests
carry no client value. The sattrguard3 ctime is deliberately left alone:
an out-of-range guard simply never matches the object's ctime and yields
NFS3ERR\_NOT\_SYNC via the existing guardtime comparison, which is the
protocol-correct outcome rather than rejecting the request.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< cacda0762d7af24a27f7265711bc05095ece56b9; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 98fc1d21a7b80324ba64b949ac6bcc00364dd068; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 55341d8a5a0f5853e70d46f5a55cf06007808f1d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 54e02f5e32c52fb395f2ee02986a6c6d5608d22b; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e2543852152bcf9aeb57da17d9f9219f7df8aafb; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< eb0eca7720662ba5847df1510e73801f7f473094 (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89666. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89666.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < cacda0762d7af24a27f7265711bc05095ece56b9; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 98fc1d21a7b80324ba64b949ac6bcc00364dd068; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 55341d8a5a0f5853e70d46f5a55cf06007808f1d; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 98fc1d21a7b80324ba64b949ac6bcc00364dd068, Linux 55341d8a5a0f5853e70d46f5a55cf06007808f1d, Linux 54e02f5e32c52fb395f2ee02986a6c6d5608d22b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89666 being exploited?

There is no confirmed exploitation: CVE-2026-89666 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89666?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-89666?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< cacda0762d7af24a27f7265711bc05095ece56b9; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 98fc1d21a7b80324ba64b949ac6bcc00364dd068; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 55341d8a5a0f5853e70d46f5a55cf06007808f1d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 54e02f5e32c52fb395f2ee02986a6c6d5608d22b; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e2543852152bcf9aeb57da17d9f9219f7df8aafb; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< eb0eca7720662ba5847df1510e73801f7f473094; Linux 2.6.12.

### Is there a fix for CVE-2026-89666?

Yes. Fixed in Linux 98fc1d21a7b80324ba64b949ac6bcc00364dd068, Linux 55341d8a5a0f5853e70d46f5a55cf06007808f1d, Linux 54e02f5e32c52fb395f2ee02986a6c6d5608d22b. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-89666?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/cacda0762d7af24a27f7265711bc05095ece56b9>
- other: <https://git.kernel.org/stable/c/98fc1d21a7b80324ba64b949ac6bcc00364dd068>
- other: <https://git.kernel.org/stable/c/55341d8a5a0f5853e70d46f5a55cf06007808f1d>
- other: <https://git.kernel.org/stable/c/54e02f5e32c52fb395f2ee02986a6c6d5608d22b>
- other: <https://git.kernel.org/stable/c/e2543852152bcf9aeb57da17d9f9219f7df8aafb>
- other: <https://git.kernel.org/stable/c/eb0eca7720662ba5847df1510e73801f7f473094>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89666>

HTML: <https://flawdb.com/CVE-2026-89666> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89666>
