All reports
Medium

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-89687

Probability of exploitation in the next 30 days: 0.49%

FIRST EPSS · 2026-11-19

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.

A flaw was found in the Linux kernel's Network File System Daemon (nfsd). The nfsd_file_do_acquire() function might attempt to use a file that has not been fully opened, as the ->atomic_open operation could return success prematurely. While this scenario is considered highly improbable, it could lead to incorrect file operations and potential system instability or denial of service under specific, rare conditions.