CVE-2025-68351
JSON

5.5medium

exfat: fix refcount leak in exfat_find

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.18% (higher than 8% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 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.14NVD

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad:\n\nexfat: corregir fuga de contador de referencias en exfat_find\n\nCorregir fugas de contador de referencias en 'exfat_find' relacionadas con 'exfat_get_dentry_set'.\n\nLa función 'exfat_get_dentry_set' incrementaría el contador de referencias de\n'es -> bh' al tener éxito. Por lo tanto, 'exfat_put_dentry_set' debe llamarse\ndespués de 'exfat_get_dentry_set' para garantizar la consistencia del contador de referencias. Este parche\nreubica dos verificaciones para evitar posibles fugas.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-68351 changed 2026-05-27CVE Terms of Use
NVDCVE-2025-68351 changed 2026-10-19Public domain