All reports
Medium

kernel: nfsd: add fh_want_write() for early-verified SETATTR in nfsd_proc_setattr()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-89697

Probability of exploitation in the next 30 days: 0.70%

FIRST EPSS · 2026-11-18

Description

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().

A flaw was found in the Linux kernel's Network File System Daemon (nfsd). When setting file attributes using nfsd_proc_setattr(), a specific code path (BOTH_TIME_SET branch) prematurely verifies file handles. This bypasses a critical write verification step (fh_want_write()), allowing file attribute changes to proceed without a proper mount write reference. This could lead to unauthorized modification of file metadata or content, potentially impacting data integrity.