← CVE Intelligence

CVE-2025-68351

exfat: fix refcount leak in exfat_find PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: exfat: fix refcount leak in exfat_find Fix refcount leaks in `exfat_find` related to `exfat_get_dentry_set`. Function `exfat_get_dentry_set` would increase the reference counter of `es->bh` on success. Therefore, `exfat_put_dentry_set` must be called after `exfat_get_dentry_set` to ensure refcount consistency. This patch relocate two checks to avoid possible leaks.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 92075758782c5edb4c67d0da9e47586a624c22f7 before fc9ce762525e73438d31b613f18bca92a4d3d578; affected 13940cef95491472760ca261b6713692ece9b946 before d009ff8959d28d2a33aeb96a5f7e7161c421d78f; affected 13940cef95491472760ca261b6713692ece9b946 before 9aee8de970f18c2aaaa348e3de86c38e2d956c1d; affected 0c8a1d2afd0dce0ea9257ab8c2271d8db6cb575d; affected 6c627bcc1896ba62ec793d0c00da74f3c93ce3ad; affected 6.12.23 before 6.12.68; affected 6.13.11 before 6.14
Linux / Linuxaffected 6.14; unaffected 0 before 6.14; unaffected 6.12.68 through 6.12.*; unaffected 6.18.2 through 6.18.*; unaffected 6.19 through *

CWE

No CWE identifiers supplied.

References