In the Linux kernel, the following vulnerability has been resolved: nfsd: sample writeback error cursor before async COPY loop… (CVE-2026-89704)
A vulnerability in the Linux kernel's NFS server (nfsd) related to writeback error handling during asynchronous file copy operations has been resolved. The issue involves incorrect sampling of writeback error cursors leading to silent data loss when the client incorrectly treats copied data as durable despite writeback failures. This occurs due to concurrency in updating error cursors and reuse of file structures across requests. The fix ensures accurate detection of writeback errors during copy operations.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel's nfsd component involves the function _nfsd_copy_file_range() which samples the destination file's writeback error cursor after the copy loop to detect errors. Because the nfsd_file cache reuses a single struct file across requests for the same inode, concurrent COMMIT or stable WRITE operations can advance the writeback error cursor between the error appearing and the sampling by the copy worker. This causes errseq_check() to incorrectly return zero, setting NFSD4_COPY_F_COMMITTED and encoding wr_stable_how = FILE_SYNC4, leading the client to treat the copied data as durable even though writeback failed, resulting in silent data loss. The resolution involves sampling the writeback error cursor once at the start of the function to correctly detect errors occurring during the copy regardless of thread timing, aligning with patterns used in other nfsd write operations.
Potential Impact
The vulnerability can cause silent data loss where the NFS client believes data has been durably written when in fact writeback errors occurred and the data was not properly persisted. This undermines data integrity guarantees in NFS file copy operations, potentially leading to corrupted or lost data without immediate detection.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this issue by adjusting when the writeback error cursor is sampled to ensure accurate error detection. Users should apply the official kernel update that includes this fix. Patch status is not explicitly stated in the provided data; therefore, verify the vendor advisory or Linux kernel release notes for the specific patch version and apply it accordingly.
In the Linux kernel, the following vulnerability has been resolved: nfsd: sample writeback error cursor before async COPY loop… (CVE-2026-89704)
Description
A vulnerability in the Linux kernel's NFS server (nfsd) related to writeback error handling during asynchronous file copy operations has been resolved. The issue involves incorrect sampling of writeback error cursors leading to silent data loss when the client incorrectly treats copied data as durable despite writeback failures. This occurs due to concurrency in updating error cursors and reuse of file structures across requests. The fix ensures accurate detection of writeback errors during copy operations.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's nfsd component involves the function _nfsd_copy_file_range() which samples the destination file's writeback error cursor after the copy loop to detect errors. Because the nfsd_file cache reuses a single struct file across requests for the same inode, concurrent COMMIT or stable WRITE operations can advance the writeback error cursor between the error appearing and the sampling by the copy worker. This causes errseq_check() to incorrectly return zero, setting NFSD4_COPY_F_COMMITTED and encoding wr_stable_how = FILE_SYNC4, leading the client to treat the copied data as durable even though writeback failed, resulting in silent data loss. The resolution involves sampling the writeback error cursor once at the start of the function to correctly detect errors occurring during the copy regardless of thread timing, aligning with patterns used in other nfsd write operations.
Potential Impact
The vulnerability can cause silent data loss where the NFS client believes data has been durably written when in fact writeback errors occurred and the data was not properly persisted. This undermines data integrity guarantees in NFS file copy operations, potentially leading to corrupted or lost data without immediate detection.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this issue by adjusting when the writeback error cursor is sampled to ensure accurate error detection. Users should apply the official kernel update that includes this fix. Patch status is not explicitly stated in the provided data; therefore, verify the vendor advisory or Linux kernel release notes for the specific patch version and apply it accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-f634-v549-95r8
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89704"]
Threat ID: 6aa49ffd55bf5e2cf5a865ef
Added to database: 09/12/2026, 00:42:37 UTC
Last enriched: 09/12/2026, 00:52:51 UTC
Last updated: 09/12/2026, 00:52:51 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.