CVE-2026-89713

NFSD: check truncate permission under inode lock

9.1 critical EPSS 0.71%

Published 11 Sep 2026 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2026-89713

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-89713 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

9.1 critical CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.71%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 54.7% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 16 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 783112f7401ff449d979530209b3f6c2594fdb4e, before 0669861a2e8e2bdb9c1149417d8ad821996ae4fe
affected from 783112f7401ff449d979530209b3f6c2594fdb4e, before 52d0c5bdfe232c9974d4b11f97078b9c7814f05d
affected from 783112f7401ff449d979530209b3f6c2594fdb4e, before 3afa17d93ba8c925f49370c816c6dae5112d8c24
affected from 783112f7401ff449d979530209b3f6c2594fdb4e, before d8352da196349182e1afd5a93308256cddc0a97d
affected from 783112f7401ff449d979530209b3f6c2594fdb4e, before 44086254479035de42ca3d286ecf25521d4e6325
affected from 783112f7401ff449d979530209b3f6c2594fdb4e, before b778e0e0a16759f22a70579c3cf8d254a40d4a7f
affected 604a3c407026d6162d15300478e63f901e435efc
affected cc4d5dc73841b98d33cdfb9822d70b0aac4beca5
affected 3ee4f442e5b37a537297b812557b1163f96b5399
affected a3c6cbc4eac4473ed5461d5faae2794d3e5c0e44
affected 982898d7f97a35447403c3fcecc0d96c646ce101
affected from 3.2.89, before 3.3
affected from 3.16.44, before 3.17
affected from 4.4.53, before 4.5
affected from 4.9.14, before 4.10
affected from 4.10.2, before 4.11
Other versions: unaffected
Linux
affected 4.11
unaffected before 4.11
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.160 up to and including 6.6.*
unaffected from 6.12.109 up to and including 6.12.*
unaffected from 6.18.50 up to and including 6.18.*
unaffected from 7.2.4 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-89713 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89713

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-89713
trivy image --scanners vuln IMAGE | grep CVE-2026-89713

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-89713 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.