CVE Catalog

CVE-2026-89687

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel's nfsd module, nfsd_file_do_acquire() could use a file returned by dentry_create() that was not actually opened, because ->atomic_open may return success via finish_no_open(). The scenario is extremely unlikely, but the fix requires nfsd to use the file only when FMODE_OPENED is set.

Risk Assessment

In rare cases, nfsd may operate on a non-opened file, potentially leading to unpredictable behavior or errors in handling NFS requests. The risk is low due to the very low likelihood of occurrence.

Recommendation

Update the Linux kernel to a version containing the fix that checks the FMODE_OPENED flag in nfsd_file_do_acquire(). No urgent action is required due to the low likelihood of exploitation.

Other vulnerabilities in Linux kernel (nfsd)

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS