Skip to main content

In the Linux kernel, the following vulnerability has been resolved: NFSD: check truncate permission under inode lock nfsd_setattr() checks whether a… (CVE-2026-89713)

0
Medium
Published: 09/11/2026 (09/11/2026, 21:31:37 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's NFS server (NFSD) was resolved involving a race condition in permission checks for truncating files. The issue arises because nfsd_setattr() checks truncate permission based on an unlocked read of the file size, creating a time-of-check to time-of-use (TOCTOU) window. This allows a concurrent append to extend an append-only file before the locked permission check and truncation occur, potentially bypassing append-only restrictions. The fix ensures permission checks are done under the inode lock, preventing this race condition.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/12/2026, 00:51:22 UTC

Technical Analysis

The Linux kernel NFSD component had a TOCTOU vulnerability in nfsd_setattr() where the truncate permission check used an unlocked read of the file size before acquiring inode_lock(). This allowed a concurrent append operation to extend an append-only file between the permission check and the actual truncation, bypassing append-only restrictions. The patch splits the write-count acquisition from the truncation permission check and rechecks the file size under inode_lock() before applying the truncation, eliminating the race window.

Potential Impact

This vulnerability could allow a client to bypass append-only file restrictions by exploiting a race condition in the truncate permission check, potentially leading to unauthorized file truncation or modification. However, the impact is limited to NFS server operations involving append-only files and concurrent SETATTR requests. There are no known exploits in the wild.

Mitigation Recommendations

A fix has been applied in the Linux kernel to perform the truncate permission check under the inode lock, eliminating the TOCTOU race condition. Users should update to the patched kernel version once available. No additional mitigation is required beyond applying the official fix.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-v99p-5h33-35p9
Osv Schema Version
1.4.0
Aliases
["CVE-2026-89713"]

Threat ID: 6aa49ffc55bf5e2cf5a865df

Added to database: 09/12/2026, 00:42:36 UTC

Last enriched: 09/12/2026, 00:51:22 UTC

Last updated: 09/12/2026, 00:54:51 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses