CVE-2025-68351
exfat: fix refcount leak in exfat_find
Summary
exfat: fix refcount leak in exfat_find
Original description
The description as published by the source.
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 packages
Linux
Kernel
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.12.68"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.2"}]}]
Fix status by distribution
Fixed packages published by each distribution for this CVE
- BellSoft Alpaquita BELL-CVE-2025-68351 linux-lts Fixed in: 6.12.73-r0
- Debian DEBIAN-CVE-2025-68351 linux Fixed in: 6.12.69-1
- Ubuntu UBUNTU-CVE-2025-68351 linux-hwe-edge
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org