exfat: fix refcount leak in exfat_find (Linux Linux)

CVE-2025-68351
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.17 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 92075758782c5edb4c67d0da9e47586a624c22f7 < fc9ce762525e73438d31b613f18bca92a4d3d578 ; affected 13940cef95491472760ca261b6713692ece9b946 < d009ff8959d28d2a33aeb96a5f7e7161c421d78f ; affected 13940cef95491472760ca261b6713692ece9b946 < 9aee8de970f18c2aaaa348e3de86c38e2d956c1d ; affected 0c8a1d2afd0dce0ea9257ab8c2271d8db6cb575d ; affected 6c627bcc1896ba62ec793d0c00da74f3c93ce3ad ; affected 6.12.23 < 6.12.68
Linux · Linuxaffected 6.14 ; unaffected 0 < 6.14 ; unaffected 6.12.68 ≤ 6.12.* ; unaffected 6.18.2 ≤ 6.18.* ; unaffected 6.19 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD