CSIRTS // UNIFIED SECURITY ADVISORY FEEDSYS ● ONLINE · POWERED BY INTELFUSIONS.COM

CVE-2026-64298

highCVSS 7.8covered by 2 sourcesfirst seen 2026-07-14
In the Linux kernel, the following vulnerability has been resolved: NFSv4: include MAY_WRITE in open permission mask for O_TRUNC POSIX requires write permission to truncate a file, so an open() that specifies O_TRUNC must be authorized for write access regardless of the O_ACCMODE access mode. nfs_open_permission_mask() builds the access mask passed to nfs_may_open(), which is the local authorization gate for OPENs the client serves itself from a cached write delegation via the can_open_delegated() path in nfs4_try_open_cached(). The mask is derived from O_ACCMODE alone, so an open(O_RDONLY | O_TRUNC) against a file the caller cannot write requests only MAY_READ and passes the local check. The OPEN is then satisfied locally and the truncation is issued to the server as a SETATTR(size=0) over the delegation stateid, which the server accepts under standard write-delegation semantics. POSIX requires that this open fail with EACCES. Include MAY_WRITE in the mask whenever O_TRUNC is set so the local check matches the access the server would have enforced.

CSIRTS triage

Other
What
This vulnerability includes MAY_WRITE in the open permission mask for NFSv4 O_TRUNC.
Who is affected
Deployments using the NFSv4 protocol.
Urgency
Remediation is necessary to ensure correct permission handling.
Action
Apply the fix for CVE-2026-64298.

AI-assisted analysis generated from the source advisory — verify against the original.

⚡ Watch CVE-2026-64298

Get an email if CVE-2026-64298 is added to CISA KEV, gains public exploit code, or a new advisory cites it — max one per day, one-click unsubscribe.

Exploitation outlook

Advisory coverage (2)

External references

NVD record for CVE-2026-64298

CVE.org record

Embed the live status

CVE-2026-64298 live status badge — this badge updates automatically when the KEV or exploit status changes. How to embed it →

[![CVE-2026-64298 status](https://www.csirts.com/badge/CVE-2026-64298)](https://www.csirts.com/cve/CVE-2026-64298)