# CVE-2026-89687: nfsd: ensure nfsd_file_do_acquire() does not use a non-opened file

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2026-09-11T19:46:08.630Z
- Modified: 2026-10-19T09:18:07.157Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

nfsd: ensure nfsd_file_do_acquire() does not use a non-opened file

->atomic_open is permitted to return success without actually opening
the file.  It indicates this by calling finish_no_open().
This means dentry_create() can return a file which hasn't been opened.
This is extremely unlikely as ->atomic_open handlers typically
use finish_no_open() only for already existing files, and dentry_create()
isn't called in that case, and the parent being locked should prevent
races.

However out of an abundance of caution it seems wise to teach nfsd to
only use the file returned by dentry_create() if FMODE_OPENED is set,
indicating that it has in fact been opened.

(As written by CVE List.)

## Affected

- Linux Linux: from 64a989dbd144e0622371396461b11335459692d2 before a95a1cffacd0203100297001719160160f443dd6; from 64a989dbd144e0622371396461b11335459692d2 before 5859cc01fee06a2cd7458905a9593082fbab06e1; 7.0 (not affected: before 7.0; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/a95a1cffacd0203100297001719160160f443dd6>
- <https://git.kernel.org/stable/c/5859cc01fee06a2cd7458905a9593082fbab06e1>

## Sources

- CVE List: [CVE-2026-89687](https://www.cve.org/CVERecord?id=CVE-2026-89687), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89687](https://nvd.nist.gov/vuln/detail/CVE-2026-89687), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89687 · Whole record: https://cve.day/CVE-2026-89687.json · Rebuilt by cve.day 2026-11-25T22:59:38.113Z
