CVE-2026-64298
published high CVSS 3.1 · 7.1NFSv4: include MAY_WRITE in open permission mask for O_TRUNC
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxaf22f94ae02ab9dd4fd7fe628c8434a59cc293be to < 4817c8974315b666e895b7d1bb83cd3664c323b1 · af22f94ae02ab9dd4fd7fe628c8434a59cc293be to < cb148a2762d644bff1894728e8835a9a4b84f9ea · af22f94ae02ab9dd4fd7fe628c8434a59cc293be to < 30fdf4df6c3c00efec947e4ddf97f0fdd4473628 · af22f94ae02ab9dd4fd7fe628c8434a59cc293be to < 22c1fd1355ad4ca27aa7f0fa02719122dd92d9de · af22f94ae02ab9dd4fd7fe628c8434a59cc293be to < 6bd7d0a06b53c4e797e1a9cea0d2d41aa1b26230 · af22f94ae02ab9dd4fd7fe628c8434a59cc293be to < a937e92c1d00534b5c2e3e9f4381b7e988180797 · af22f94ae02ab9dd4fd7fe628c8434a59cc293be to < e36501b7d4abdcd6d69a7cb901b2f286b7a3d041 · af22f94ae02ab9dd4fd7fe628c8434a59cc293be to < 5140f099ecd8a2f2808b7f7b720ee1bad8468974 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.24 (affected) · 0 to < 2.6.24 (unaffected · semver) · 5.10.261 through 5.10.* (unaffected · semver) · 5.15.212 through 5.15.* (unaffected · semver) · 6.1.178 through 6.1.* (unaffected · semver) · 6.6.145 through 6.6.* (unaffected · semver) · 6.12.96 through 6.12.* (unaffected · semver) · 6.18.39 through 6.18.* (unaffected · semver) · 7.1.4 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2026-129 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2026-113 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2045 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-211.50.1.el10_2 | ALSA-2026:61887 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-211.50.1.el10_2 | ALSA-2026:61887 |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2057 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2058 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.159.1.rt7.500.el8_10 | ALSA-2026:63013 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.159.1.rt7.500.el8_10 | ALSA-2026:63013 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.159.1.rt7.500.el8_10 | ALSA-2026:63013 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.159.1.rt7.500.el8_10 | ALSA-2026:63013 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.159.1.rt7.500.el8_10 | ALSA-2026:63013 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.159.1.rt7.500.el8_10 | ALSA-2026:63013 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.159.1.rt7.500.el8_10 | ALSA-2026:63013 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.159.1.rt7.500.el8_10 | ALSA-2026:63013 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.159.1.rt7.500.el8_10 | ALSA-2026:63013 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.159.1.rt7.500.el8_10 | ALSA-2026:63013 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- Scenarios
- en: AV:L - An unprivileged local process triggers the flaw through open/openat with O_RDONLY|O_TRUNC on an accessible NFSv4-mounted file. The resulting NFS RPC is outbound and does not make the attack remotely reachable. AC:L - Once the client holds a standard cached write delegation, a single deterministic open triggers the unauthorized truncation without a race or timing requirement. Delegations persist and the attacker can repeatedly target files actively written through the same client. PR:L - The attacker needs only ordinary local access and read/search permission for the target path; no capability or administrative privilege is required. User namespaces are unnecessary. UI:N - The attacker invokes open directly and no contemporaneous action by another user is required. S:U - The faulty client-side permission check and modification of the delegated NFS file remain within the NFS filesystem access-control authority. C:N - The flaw discloses no kernel or file data beyond content the caller was already authorized to read, and it involves no memory corruption. I:H - The attacker can irreversibly truncate the complete contents of a file for which write access was denied, causing total integrity loss of that resource. A:H - Truncating critical NFS-hosted executables, configuration, databases, or operational data can completely disable dependent systems or services, and the attack can be repeated against additional delegated files.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | af22f94ae02ab9dd4fd7fe628c8434a59cc293be to < 4817c8974315b666e895b7d1bb83cd3664c323b1 (affected · git)af22f94ae02ab9dd4fd7fe628c8434a59cc293be to < cb148a2762d644bff1894728e8835a9a4b84f9ea (affected · git)af22f94ae02ab9dd4fd7fe628c8434a59cc293be to < 30fdf4df6c3c00efec947e4ddf97f0fdd4473628 (affected · git)af22f94ae02ab9dd4fd7fe628c8434a59cc293be to < 22c1fd1355ad4ca27aa7f0fa02719122dd92d9de (affected · git)af22f94ae02ab9dd4fd7fe628c8434a59cc293be to < 6bd7d0a06b53c4e797e1a9cea0d2d41aa1b26230 (affected · git)af22f94ae02ab9dd4fd7fe628c8434a59cc293be to < a937e92c1d00534b5c2e3e9f4381b7e988180797 (affected · git)af22f94ae02ab9dd4fd7fe628c8434a59cc293be to < e36501b7d4abdcd6d69a7cb901b2f286b7a3d041 (affected · git)af22f94ae02ab9dd4fd7fe628c8434a59cc293be to < 5140f099ecd8a2f2808b7f7b720ee1bad8468974 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.24 (affected)0 to < 2.6.24 (unaffected · semver)5.10.261 through 5.10.* (unaffected · semver)5.15.212 through 5.15.* (unaffected · semver)6.1.178 through 6.1.* (unaffected · semver)6.6.145 through 6.6.* (unaffected · semver)6.12.96 through 6.12.* (unaffected · semver)6.18.39 through 6.18.* (unaffected · semver)7.1.4 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-862 CWE-862 Missing Authorization
References
8- https://git.kernel.org/stable/c/22c1fd1355ad4ca27aa7f0fa02719122dd92d9de
- https://git.kernel.org/stable/c/30fdf4df6c3c00efec947e4ddf97f0fdd4473628
- https://git.kernel.org/stable/c/4817c8974315b666e895b7d1bb83cd3664c323b1
- https://git.kernel.org/stable/c/5140f099ecd8a2f2808b7f7b720ee1bad8468974
- https://git.kernel.org/stable/c/6bd7d0a06b53c4e797e1a9cea0d2d41aa1b26230
- https://git.kernel.org/stable/c/a937e92c1d00534b5c2e3e9f4381b7e988180797
- https://git.kernel.org/stable/c/cb148a2762d644bff1894728e8835a9a4b84f9ea
- https://git.kernel.org/stable/c/e36501b7d4abdcd6d69a7cb901b2f286b7a3d041
Provider assertions
2Linux · cna
NFSv4: include MAY_WRITE in open permission mask for O_TRUNC
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f5b158366f55315556db899be93496a84399d0f3ceb2ba3681830b97d9995da9
- Ingested
- 19 Oct 2026, 20:44:08 UTC
- Source record
- Official CVE record