Unauthorized NFS file truncation via incomplete permission mask
Published Jul 25, 2026 · Updated Jul 25, 2026
Improper authorization in Linux Kernel NFSv4 allows local users to truncate protected files through O_RDONLY|O_TRUNC opens. nfs_open_permission_mask() derives access solely from O_ACCMODE, omits MAY_WRITE for O_TRUNC, and lets a cached write delegation issue SETATTR(size=0). Ordinary local access plus read and path-search permission is sufficient; successful exploitation destroys the target file's contents and can interrupt dependent services.
Summary
What happened
Improper authorization in Linux Kernel NFSv4 allows local users to truncate protected files through O_RDONLY|O_TRUNC opens. nfs_open_permission_mask() derives access solely from O_ACCMODE, omits MAY_WRITE for O_TRUNC, and lets a cached write delegation issue SETATTR(size=0). Ordinary local access plus read and path-search permission is sufficient; successful exploitation destroys the target file's contents and can interrupt dependent services.
The record
- CVE
- CVE-2026-64298
- Published
- Jul 25, 2026
- Updated
- Jul 25, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- T1485
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 25, 2026CVE publishedPublication date reported by the CVE source.
- Jul 25, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.6.24
- Affected versionversion=af22f94ae02ab9dd4fd7fe628c8434a59cc293be <22c1fd1355ad4ca27aa7f0fa02719122dd92d9de
- Affected versionversion=af22f94ae02ab9dd4fd7fe628c8434a59cc293be <30fdf4df6c3c00efec947e4ddf97f0fdd4473628
- Affected versionversion=af22f94ae02ab9dd4fd7fe628c8434a59cc293be <4817c8974315b666e895b7d1bb83cd3664c323b1
- Affected versionversion=af22f94ae02ab9dd4fd7fe628c8434a59cc293be <5140f099ecd8a2f2808b7f7b720ee1bad8468974
- Affected versionversion=af22f94ae02ab9dd4fd7fe628c8434a59cc293be <6bd7d0a06b53c4e797e1a9cea0d2d41aa1b26230
- Affected versionversion=af22f94ae02ab9dd4fd7fe628c8434a59cc293be <a937e92c1d00534b5c2e3e9f4381b7e988180797
- Affected versionversion=af22f94ae02ab9dd4fd7fe628c8434a59cc293be <cb148a2762d644bff1894728e8835a9a4b84f9ea
- Affected versionversion=af22f94ae02ab9dd4fd7fe628c8434a59cc293be <e36501b7d4abdcd6d69a7cb901b2f286b7a3d041
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo