CVE-2026-89713
published critical CVSS 3.1 · 9.1NFSD: check truncate permission under inode lock
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux783112f7401ff449d979530209b3f6c2594fdb4e to < 0669861a2e8e2bdb9c1149417d8ad821996ae4fe · 783112f7401ff449d979530209b3f6c2594fdb4e to < 52d0c5bdfe232c9974d4b11f97078b9c7814f05d · 783112f7401ff449d979530209b3f6c2594fdb4e to < 3afa17d93ba8c925f49370c816c6dae5112d8c24 · 783112f7401ff449d979530209b3f6c2594fdb4e to < d8352da196349182e1afd5a93308256cddc0a97d · 783112f7401ff449d979530209b3f6c2594fdb4e to < 44086254479035de42ca3d286ecf25521d4e6325 · 783112f7401ff449d979530209b3f6c2594fdb4e to < b778e0e0a16759f22a70579c3cf8d254a40d4a7f · 604a3c407026d6162d15300478e63f901e435efc · cc4d5dc73841b98d33cdfb9822d70b0aac4beca5 · 3ee4f442e5b37a537297b812557b1163f96b5399 · a3c6cbc4eac4473ed5461d5faae2794d3e5c0e44 · 982898d7f97a35447403c3fcecc0d96c646ce101 · 3.2.89 to < 3.3 · 3.16.44 to < 3.17 · 4.4.53 to < 4.5 · 4.9.14 to < 4.10 · 4.10.2 to < 4.11 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.11 (affected) · 0 to < 4.11 (unaffected · semver) · 6.1.191 through 6.1.* (unaffected · semver) · 6.6.160 through 6.6.* (unaffected · semver) · 6.12.109 through 6.12.* (unaffected · semver) · 6.18.50 through 6.18.* (unaffected · semver) · 7.2.4 through 7.2.* (unaffected · semver) · 7.3 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 | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3187 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3196 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | kernel | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| Debian | bookworm | linux | Advisory build | 6.1.192-1 | DLA-4906-1 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | kernelx86_64 | Advisory build | 0:6.12.0-264.19.1.el10_3 | ELSA-2026-102168 |
| AlmaLinux | 10 | kernel-64k | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-64k-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-64k-debug | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-64k-debug-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-64k-debug-devel | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-64k-debug-devel-matched | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-64k-debug-modules | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-64k-debug-modules-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-64k-debug-modules-extra | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-64k-devel | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-64k-devel-matched | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-64k-modules | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-64k-modules-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-64k-modules-extra | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-cross-headers | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-debug | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-debug-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-debug-devel | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-debug-devel-matched | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-debug-modules | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-debug-modules-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-debug-modules-extra | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-debug-uki-virt | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-devel | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-devel-matched | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-headers | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-modules | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-modules-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-modules-extra | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-modules-extra-matched | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-64k | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-64k-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-64k-debug | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-64k-debug-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-64k-debug-devel | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-64k-debug-modules | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-64k-debug-modules-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-64k-debug-modules-extra | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-64k-devel | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-64k-modules | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-64k-modules-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-64k-modules-extra | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-debug | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-debug-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-debug-devel | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-debug-modules | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-debug-modules-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-debug-modules-extra | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-devel | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-modules | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-modules-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-modules-extra | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-tools | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-tools-libs | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-tools-libs-devel | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-uki-virt | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-uki-virt-addons | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-zfcpdump | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-zfcpdump-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-zfcpdump-devel | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-zfcpdump-devel-matched | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-zfcpdump-modules | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-zfcpdump-modules-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-zfcpdump-modules-extra | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | libperf | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | perf | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | python3-perf | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | rtla | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | rv | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.111-1~deb12u1 | DLA-4817-1 |
| Debian | trixie | linux | Advisory build | 6.12.111-1 | DSA-6528-1 |
| Oracle Linux | 10 | kernel-abi-stablelistsx86_64 | Advisory build | 0:6.12.0-264.19.1.el10_3 | ELSA-2026-102168 |
| Oracle Linux | 10 | kernel-corex86_64 | Advisory build | 0:6.12.0-264.19.1.el10_3 | ELSA-2026-102168 |
| Oracle Linux | 10 | kernel-cross-headersaarch64 | Advisory build | 0:6.12.0-264.19.1.el10_3 | ELSA-2026-102168 |
| Oracle Linux | 10 | kernel-cross-headersx86_64 | Advisory build | 0:6.12.0-264.19.1.el10_3 | ELSA-2026-102168 |
| Oracle Linux | 10 | kernel-debugx86_64 | Advisory build | 0:6.12.0-264.19.1.el10_3 | ELSA-2026-102168 |
| Oracle Linux | 10 | kernel-debug-corex86_64 | Advisory build | 0:6.12.0-264.19.1.el10_3 | ELSA-2026-102168 |
| Oracle Linux | 10 | kernel-debug-develx86_64 | Advisory build | 0:6.12.0-264.19.1.el10_3 | ELSA-2026-102168 |
| Oracle Linux | 10 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:6.12.0-264.19.1.el10_3 | ELSA-2026-102168 |
| Oracle Linux | 10 | kernel-debug-modulesx86_64 | Advisory build | 0:6.12.0-264.19.1.el10_3 | ELSA-2026-102168 |
| Oracle Linux | 10 | kernel-debug-modules-corex86_64 | Advisory build | 0:6.12.0-264.19.1.el10_3 | ELSA-2026-102168 |
| Oracle Linux | 10 | kernel-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-264.19.1.el10_3 | ELSA-2026-102168 |
| Oracle Linux | 10 | kernel-debug-uki-virtx86_64 | Advisory build | 0:6.12.0-264.19.1.el10_3 | ELSA-2026-102168 |
| Oracle Linux | 10 | kernel-develx86_64 | Advisory build | 0:6.12.0-264.19.1.el10_3 | ELSA-2026-102168 |
| Oracle Linux | 10 | kernel-devel-matchedx86_64 | Advisory build | 0:6.12.0-264.19.1.el10_3 | ELSA-2026-102168 |
| Oracle Linux | 10 | kernel-docx86_64 | Advisory build | 0:6.12.0-264.19.1.el10_3 | ELSA-2026-102168 |
| Oracle Linux | 10 | kernel-headersaarch64 | Advisory build | 0:6.12.0-264.19.1.el10_3 | ELSA-2026-102168 |
| Oracle Linux | 10 | kernel-headersx86_64 | Advisory build | 0:6.12.0-264.19.1.el10_3 | ELSA-2026-102168 |
| Oracle Linux | 10 | kernel-modulesx86_64 | Advisory build | 0:6.12.0-264.19.1.el10_3 | ELSA-2026-102168 |
| Oracle Linux | 10 | kernel-modules-corex86_64 | Advisory build | 0:6.12.0-264.19.1.el10_3 | ELSA-2026-102168 |
| Oracle Linux | 10 | kernel-modules-extrax86_64 | Advisory build | 0:6.12.0-264.19.1.el10_3 | ELSA-2026-102168 |
| Oracle Linux | 10 | kernel-modules-extra-matchedx86_64 | Advisory build | 0:6.12.0-264.19.1.el10_3 | ELSA-2026-102168 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: NFSD: check truncate permission under inode lock nfsd_setattr() checks whether a size update needs NFSD_MAY_TRUNC before it takes inode_lock(). The comparison uses the file size sampled by that unlocked read, but the actual ATTR_SIZE update is applied later under inode_lock() by notify_change(). This leaves a TOCTOU window for append-only files. If a client sends a SETATTR that does not shrink the file at the time of the unlocked sample, a concurrent append can extend the file before nfsd_setattr() takes inode_lock(). notify_change() then applies a real truncation without the NFSD_MAY_TRUNC check that rejects IS_APPEND(inode). The VFS truncate syscall paths perform their own append-only checks before calling notify_change(), so NFSD must make this decision against the locked size it is about to change. Split the write-count acquisition from the truncation permission check. Keep get_write_access() before the locked setattr work, then recheck whether the requested size is below i_size_read(inode) after inode_lock() has been acquired and before notify_change(ATTR_SIZE). This also avoids the plain unlocked inode->i_size load.
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
- 9.1 / 10
- Severity
- critical
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- Scenarios
- en: AV:N - nfsd_setattr() is reached from in-kernel nfsd NFSv2/v3 SETATTR and NFSv4 SETATTR (including ONE_STATEID) over TCP/UDP 2049, so a remote client triggers the TOCTOU without local shell access. AC:L - The attacker drives both sides of the race by issuing concurrent SETATTR size RPCs, or racing SETATTR against O_APPEND writes they perform themselves; a non-shrinking unlocked i_size sample then becomes a real truncate under inode_lock. No victim-only layout is required. PR:N - Default nfsd exports accept AUTH_SYS and AUTH_NULL with no cryptographic authentication, so the client asserts uid/gid. ATTR_SIZE uses fh_verify(NFSD_MAY_WRITE|NFSD_MAY_OWNER_OVERRIDE), which is satisfied by spoofing the file owner's uid. UI:N - The attacking NFS client sends SETATTR itself. No administrator or end-user action on the server is required beyond nfsd already serving a writable export. S:U - The skipped IS_APPEND check and the resulting notify_change(ATTR_SIZE) truncate affect only the exported filesystem in the same kernel security authority as nfsd. This is not a VM, IOMMU, or sandbox escape. C:N - The bug only omits NFSD_MAY_TRUNC for IS_APPEND before a locked size update. It does not read kernel memory, leak pointers, or disclose file contents beyond ordinary authorized NFS access. I:H - Winning the TOCTOU lets notify_change() apply ATTR_SIZE to an IS_APPEND inode, bypassing the append-only truncation ban that VFS truncate/ftruncate enforce, so a remote client can destroy data that chattr +a is meant to keep immutable, including concurrent log and audit appends. A:H - Unauthorized truncation of append-only operational logs, databases, or other files that services depend on can persistently destroy that live content and deny use of it until restored, and the attacker can repeat the race at will against further files.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 783112f7401ff449d979530209b3f6c2594fdb4e to < 0669861a2e8e2bdb9c1149417d8ad821996ae4fe (affected · git)783112f7401ff449d979530209b3f6c2594fdb4e to < 52d0c5bdfe232c9974d4b11f97078b9c7814f05d (affected · git)783112f7401ff449d979530209b3f6c2594fdb4e to < 3afa17d93ba8c925f49370c816c6dae5112d8c24 (affected · git)783112f7401ff449d979530209b3f6c2594fdb4e to < d8352da196349182e1afd5a93308256cddc0a97d (affected · git)783112f7401ff449d979530209b3f6c2594fdb4e to < 44086254479035de42ca3d286ecf25521d4e6325 (affected · git)783112f7401ff449d979530209b3f6c2594fdb4e to < b778e0e0a16759f22a70579c3cf8d254a40d4a7f (affected · git)604a3c407026d6162d15300478e63f901e435efc (affected · git)cc4d5dc73841b98d33cdfb9822d70b0aac4beca5 (affected · git)3ee4f442e5b37a537297b812557b1163f96b5399 (affected · git)a3c6cbc4eac4473ed5461d5faae2794d3e5c0e44 (affected · git)982898d7f97a35447403c3fcecc0d96c646ce101 (affected · git)3.2.89 to < 3.3 (affected · semver)3.16.44 to < 3.17 (affected · semver)4.4.53 to < 4.5 (affected · semver)4.9.14 to < 4.10 (affected · semver)4.10.2 to < 4.11 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 4.11 (affected)0 to < 4.11 (unaffected · semver)6.1.191 through 6.1.* (unaffected · semver)6.6.160 through 6.6.* (unaffected · semver)6.12.109 through 6.12.* (unaffected · semver)6.18.50 through 6.18.* (unaffected · semver)7.2.4 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/0669861a2e8e2bdb9c1149417d8ad821996ae4fe
- https://git.kernel.org/stable/c/3afa17d93ba8c925f49370c816c6dae5112d8c24
- https://git.kernel.org/stable/c/44086254479035de42ca3d286ecf25521d4e6325
- https://git.kernel.org/stable/c/52d0c5bdfe232c9974d4b11f97078b9c7814f05d
- https://git.kernel.org/stable/c/b778e0e0a16759f22a70579c3cf8d254a40d4a7f
- https://git.kernel.org/stable/c/d8352da196349182e1afd5a93308256cddc0a97d
Provider assertions
2Linux · cna
NFSD: check truncate permission under inode lock
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 465f83f7c948985e0eda4842cd530f7882276dbf57b928ac4f2441f0c9b8edcb
- Ingested
- 30 Oct 2026, 12:43:17 UTC
- Source record
- Official CVE record