What’s Vulnerable › Vulnerabilities

CVE-2025-68351: exfat: fix refcount leak in exfat_find

Description

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 products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.68, 6.13, 6.14, 6.18.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-68351 or the next vulnerability affects your stack