exfat: fix refcount leak in exfat_find
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s exFAT code can leak a reference in exfat_find after a successful exfat_get_dentry_set call. The input does not describe an attacker action, its impact, or the access and interaction needed to trigger it.
Engineers running Linux kernels with exFAT support should check their versions; affected versions are not specified.