Medium · published December 24, 2025
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.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 6.12.23, < 6.12.68 | 6.12.68 |
| linux/linux_kernel | ≥ 6.12.59, < 6.13 | 6.13 |
| linux/linux_kernel | ≥ 6.13.11, < 6.14 | 6.14 |
| linux/linux_kernel | ≥ 6.14.1, < 6.18.2 | 6.18.2 |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |