CVE-2026-89697 · CRITICAL (CVSS 9.1)
Summary: nfsd: add fh_want_write() for early-verified SETATTR in nfsd_proc_setattr()
Details
In the Linux kernel, the following vulnerability has been resolved:
nfsd: add fh_want_write() for early-verified SETATTR in nfsd_proc_setattr()
The BOTH_TIME_SET branch calls fh_verify() early so setattr_prepare()
can inspect the dentry. This causes nfsd_setattr() to skip
fh_want_write(), so notify_change() runs without a mount write
reference.
Add the missing fh_want_write() call after the early fh_verify().
Severity
CRITICAL (CVSS 9.1) — vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Affected packages
- GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [cc265089ce1b176dde963c74b53593446ee7f99a – 3eec9d791968c177a4a8cda9af5c04f79dae09cb] [3.18.46 – 3.19] [1cb57d81cf20fe24b9e2e1daf57bfbdc24b77cd8 – ?]
- Linux Kernel [4.2.0 – 5.10.270] [5.11.0 – 5.15.221] [5.16.0 – 6.1.188] [6.2.0 – 6.6.157] [6.7.0 – 6.12.109] [6.13.0 – 6.18.50] [6.19.0 – 7.2.4]
References
- https://git.kernel.org/stable/c/15ca3b64a69caa6194bed8f98a20ed90a11c11dd
- https://git.kernel.org/stable/c/2150305134889fb2fc25228d35353bd2f6f29500
- https://git.kernel.org/stable/c/3eec9d791968c177a4a8cda9af5c04f79dae09cb
- https://git.kernel.org/stable/c/4e475be769aa9f7a2c1ce55a2b8592cfccacddcc
- https://git.kernel.org/stable/c/533964d420d385e11b08dd4c56c66ef5dcccaf08
- https://git.kernel.org/stable/c/9229d824b938f4fb0ea7a5dddade51735e6fe6f9
- https://git.kernel.org/stable/c/c4a409b86a92815181a8e9395c6bf1696ad19175
- https://git.kernel.org/stable/c/d823bf9285cdf4514873b85ab5a888878dd4e8f4
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89697.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-89697
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git