In the Linux kernel, the following vulnerability has been resolved: nfsd: reject out-of-range useconds in NFSv2 SETATTR/CREATE The NFSv2 sattr… (CVE-2026-89665)
A vulnerability in the Linux kernel's NFSv2 server implementation related to handling out-of-range microseconds (useconds) values in SETATTR and CREATE operations has been resolved. The flaw allowed out-of-range useconds values to wrap during conversion to nanoseconds, causing corrupted time values to be accepted by the server. The fix involves rejecting useconds values greater than 1,000,000 while preserving the Sun convention where 1,000,000 indicates setting the time to the current server time. The patch also ensures consistent handling of atime and mtime fields to prevent malformed time arguments from reaching the filesystem.
AI Analysis
Technical Summary
The Linux kernel NFSv2 sattr decoder previously converted useconds to nanoseconds without properly guarding against out-of-range values. On 32-bit ILP32 systems, large useconds values caused integer wraparound, resulting in corrupted nanosecond timestamps that passed later range checks and were accepted by the server. Since NFSv2 does not define an NFS-level error for invalid time arguments, the check could not be deferred to later processing. The vulnerability was addressed by adding a guard in the decoder to reject useconds values greater than 1,000,000, except for the Sun convention value of exactly 1,000,000 which is used to indicate setting the time to the current server time. Additionally, the patch applies this convention symmetrically to both atime and mtime fields, clearing the appropriate attribute flags to prevent malformed values from being used.
Potential Impact
This vulnerability could allow malformed time values to be accepted by the NFSv2 server, potentially leading to corrupted file timestamps or unexpected behavior in file attribute handling. The issue arises from integer wraparound during conversion of useconds to nanoseconds on 32-bit systems. The fix prevents out-of-range values from being accepted, thus preserving correct time semantics and preventing corruption.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to reject out-of-range useconds values in NFSv2 SETATTR and CREATE operations. Users should update to a Linux kernel version that includes this patch to mitigate the vulnerability. No additional mitigation steps are indicated beyond applying the official fix.
In the Linux kernel, the following vulnerability has been resolved: nfsd: reject out-of-range useconds in NFSv2 SETATTR/CREATE The NFSv2 sattr… (CVE-2026-89665)
Description
A vulnerability in the Linux kernel's NFSv2 server implementation related to handling out-of-range microseconds (useconds) values in SETATTR and CREATE operations has been resolved. The flaw allowed out-of-range useconds values to wrap during conversion to nanoseconds, causing corrupted time values to be accepted by the server. The fix involves rejecting useconds values greater than 1,000,000 while preserving the Sun convention where 1,000,000 indicates setting the time to the current server time. The patch also ensures consistent handling of atime and mtime fields to prevent malformed time arguments from reaching the filesystem.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel NFSv2 sattr decoder previously converted useconds to nanoseconds without properly guarding against out-of-range values. On 32-bit ILP32 systems, large useconds values caused integer wraparound, resulting in corrupted nanosecond timestamps that passed later range checks and were accepted by the server. Since NFSv2 does not define an NFS-level error for invalid time arguments, the check could not be deferred to later processing. The vulnerability was addressed by adding a guard in the decoder to reject useconds values greater than 1,000,000, except for the Sun convention value of exactly 1,000,000 which is used to indicate setting the time to the current server time. Additionally, the patch applies this convention symmetrically to both atime and mtime fields, clearing the appropriate attribute flags to prevent malformed values from being used.
Potential Impact
This vulnerability could allow malformed time values to be accepted by the NFSv2 server, potentially leading to corrupted file timestamps or unexpected behavior in file attribute handling. The issue arises from integer wraparound during conversion of useconds to nanoseconds on 32-bit systems. The fix prevents out-of-range values from being accepted, thus preserving correct time semantics and preventing corruption.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to reject out-of-range useconds values in NFSv2 SETATTR and CREATE operations. Users should update to a Linux kernel version that includes this patch to mitigate the vulnerability. No additional mitigation steps are indicated beyond applying the official fix.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-2hmg-95cc-2f4j
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89665"]
Threat ID: 6aa4a00655bf5e2cf5a86643
Added to database: 09/12/2026, 00:42:46 UTC
Last enriched: 09/12/2026, 00:59:23 UTC
Last updated: 09/12/2026, 00:59:23 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.