Shellfeed logo Shellfeed

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