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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2025-12-24T10:32:42.683Z
- Modified: 2026-10-19T21:10:00.160Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 92075758782c5edb4c67d0da9e47586a624c22f7 before fc9ce762525e73438d31b613f18bca92a4d3d578; from 13940cef95491472760ca261b6713692ece9b946 before d009ff8959d28d2a33aeb96a5f7e7161c421d78f; from 13940cef95491472760ca261b6713692ece9b946 before 9aee8de970f18c2aaaa348e3de86c38e2d956c1d; 0c8a1d2afd0dce0ea9257ab8c2271d8db6cb575d; 6c627bcc1896ba62ec793d0c00da74f3c93ce3ad; from 6.12.23 before 6.12.68; from 6.13.11 before 6.14; 6.14 (not affected: before 6.14; from 6.12.68 up to 6.12.*; from 6.18.2 up to 6.18.*; from 6.19 up to *)
- linux linux_kernel: from 6.12.23 before 6.12.68; from 6.12.59 before 6.13; from 6.13.11 before 6.14; from 6.14.1 before 6.18.2; 6.14

## References

- <https://git.kernel.org/stable/c/fc9ce762525e73438d31b613f18bca92a4d3d578> (patch)
- <https://git.kernel.org/stable/c/d009ff8959d28d2a33aeb96a5f7e7161c421d78f> (patch)
- <https://git.kernel.org/stable/c/9aee8de970f18c2aaaa348e3de86c38e2d956c1d> (patch)

## Sources

- CVE List: [CVE-2025-68351](https://www.cve.org/CVERecord?id=CVE-2025-68351), CVE Terms of Use, modified 2026-05-27
- NVD: [CVE-2025-68351](https://nvd.nist.gov/vuln/detail/CVE-2025-68351), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-68351 · Whole record: https://cve.day/CVE-2025-68351.json · Rebuilt by cve.day 2026-11-25T22:59:09.863Z
