CVE-2026-64298: NFSv4: include MAY_WRITE in open permission mask for O_TRUNC
Vulnerability summary
CVE-2026-64298 is a high (CVSS 7.1) Missing Authorization vulnerability in linux. EPSS estimates a 0.15% chance of exploitation in the next 30 days, higher than 3.9% of scored vulnerabilities.
Not severe (CVSS 7.1, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 37 · Related 34Timeline
- 25-07-2026PublishedVulnerability first disclosed.
- 19-10-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- NVDNIST7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
EPSS trend
Probability
0.15%
Chance of exploitation in the next 30 days
Percentile
4%
Versus all other CVEs
30-day change
Decrease -0.02 pp
From 0.16% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu169 products
- linuxAll versions (No fix recorded) | < 5.15.0-198.208 | < 6.8.0-147.147 | < 7.0.0-31.31
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1117.124 | < 6.8.0-1067.70 | < 7.0.0-1012.12
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Chainguard2 products
- linux-gcp-6.18< 6.18.44-r0
- linux-gcp-6.18-bootc< 6.18.44-r0
Debian2 products
- linux< 6.1.180-1 | < 6.12.96-1 | < 7.1.4-1
- linux-6.12< 6.12.100-1~deb12u1
Linux2 products
- linux≥ af22f94ae02ab9dd4fd7fe628c8434a59cc293be, < 4817c8974315b666e895b7d1bb83cd3664c323b1 | ≥ af22f94ae02ab9dd4fd7fe628c8434a59cc293be, < cb148a2762d644bff1894728e8835a9a4b84f9ea | ≥ af22f94ae02ab9dd4fd7fe628c8434a59cc293be, < 30fdf4df6c3c00efec947e4ddf97f0fdd4473628 | ≥ af22f94ae02ab9dd4fd7fe628c8434a59cc293be, < 22c1fd1355ad4ca27aa7f0fa02719122dd92d9de | ≥ af22f94ae02ab9dd4fd7fe628c8434a59cc293be, < 6bd7d0a06b53c4e797e1a9cea0d2d41aa1b26230 | ≥ af22f94ae02ab9dd4fd7fe628c8434a59cc293be, < a937e92c1d00534b5c2e3e9f4381b7e988180797 | ≥ af22f94ae02ab9dd4fd7fe628c8434a59cc293be, < e36501b7d4abdcd6d69a7cb901b2f286b7a3d041 | ≥ af22f94ae02ab9dd4fd7fe628c8434a59cc293be, < 5140f099ecd8a2f2808b7f7b720ee1bad8468974 | 2.6.24
- linux_kernel≥ 2.6.24, < 5.10.261 | ≥ 5.11, < 5.15.212 | ≥ 5.16, < 6.1.178 | ≥ 6.2, < 6.6.145 | ≥ 6.7, < 6.12.96 | ≥ 6.13, < 6.18.39 | ≥ 6.19, < 7.1.4 | 7.2:rc1 | 7.2:rc2
4 vendors · 175 products