Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

In the Linux kernel, the following vulnerability has been resolved: NFSv4: include MAY_WRITE in open permission mask for O_TRUNC POSIX requires… (CVE-2026-64298)

0
Medium
Published: 07/25/2026 (07/25/2026, 12:31:30 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's NFSv4 implementation allowed an open() call with O_TRUNC flag to bypass proper write permission checks. This occurs because the local permission mask did not include write permission when truncation was requested, contrary to POSIX requirements. The issue has been resolved by including write permission in the mask when O_TRUNC is set, ensuring the open fails with EACCES if write access is not authorized.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/25/2026, 23:36:34 UTC

Technical Analysis

The Linux kernel's NFSv4 client incorrectly authorized open() calls with the O_TRUNC flag without requiring write permission, due to the local permission mask being derived solely from O_ACCMODE. This allowed a client to locally satisfy an open(O_RDONLY | O_TRUNC) call and issue a truncation request to the server, which accepted it under write delegation semantics. POSIX requires that truncation operations require write permission and that such opens fail with EACCES if write access is not granted. The fix includes adding MAY_WRITE to the open permission mask when O_TRUNC is specified, aligning local checks with server enforcement.

Potential Impact

This vulnerability could allow a client to truncate a file without proper write authorization, violating POSIX access control expectations. This could lead to unauthorized data modification or loss on NFSv4-mounted filesystems if exploited. No known exploits are reported in the wild.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to include write permission in the open permission mask when O_TRUNC is used. Users should apply the official kernel updates that contain this fix. Since this is a kernel-level issue, updating to a patched kernel version is the recommended remediation. Patch status is not explicitly confirmed here; users should consult the Linux kernel vendor advisory for the specific fixed versions and update accordingly.

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-mj8v-3x8m-9rx7
Osv Schema Version
1.4.0
Aliases
["CVE-2026-64298"]
Ecosystems
[]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a65420d9c2644c7f8085cfe

Added to database: 07/25/2026, 23:09:01 UTC

Last enriched: 07/25/2026, 23:36:34 UTC

Last updated: 07/26/2026, 03:58:56 UTC

Views: 5

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