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.
Affected products and versions
Linux Linux3a2141b2f1c34fda9a4e5af6df519656b5c47013 – < f8a6e94fe95c6037c6fcd9ccf93358c81eb81cf3 · 3a2141b2f1c34fda9a4e5af6df519656b5c47013 – < 86ba91170c03e02eee767d82a9a7f2048e51a5e4Fixed in: f8a6e94fe95c6037c6fcd9ccf93358c81eb81cf3 · 86ba91170c03e02eee767d82a9a7f2048e51a5e4
Linux Linux7.1Fixed in: 7.3.6 · 7.4-rc1
References
- git.kernel.org/stable/c/f8a6e94fe95c6037c6fcd9ccf93358c81eb81cf3
- git.kernel.org/stable/c/86ba91170c03e02eee767d82a9a7f2048e51a5e4
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.