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.
https://git.kernel.org/stable/c/d009ff8959d28d2a33aeb96a5f7e7161c421d78f
https://git.kernel.org/stable/c/9aee8de970f18c2aaaa348e3de86c38e2d956c1d