fs/ntfs3: fix ntfs_fnd leak when compare function is missing

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

Description

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

fs/ntfs3: fix ntfs_fnd leak when compare function is missing

indx_insert_entry(), indx_delete_entry() and indx_update_dup() take a finder via fnd_get() before calling get_cmp_func(). If no compare function is available they return -EINVAL and never release the finder.

Jump to the existing out path so fnd_put() still runs.

ProductVersions
Linux Linux3a2141b2f1c34fda9a4e5af6df519656b5c47013 to before f8a6e94fe95c6037c6fcd9ccf93358c81eb81cf3 Affected3a2141b2f1c34fda9a4e5af6df519656b5c47013 to before 86ba91170c03e02eee767d82a9a7f2048e51a5e4 Affected
Linux Linux7.1 Affectedbefore 7.1 Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.