[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025122454-CVE-2025-68351-bafe@gregkh>
Date: Wed, 24 Dec 2025 11:34:56 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-68351: exfat: fix refcount leak in exfat_find
From: Greg Kroah-Hartman <gregkh@...nel.org>
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.
The Linux kernel CVE team has assigned CVE-2025-68351 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.14 with commit 13940cef95491472760ca261b6713692ece9b946 and fixed in 6.18.2 with commit d009ff8959d28d2a33aeb96a5f7e7161c421d78f
Issue introduced in 6.14 with commit 13940cef95491472760ca261b6713692ece9b946 and fixed in 6.19-rc1 with commit 9aee8de970f18c2aaaa348e3de86c38e2d956c1d
Issue introduced in 6.12.23 with commit 92075758782c5edb4c67d0da9e47586a624c22f7
Issue introduced in 6.13.11 with commit 0c8a1d2afd0dce0ea9257ab8c2271d8db6cb575d
Issue introduced in 6.12.59 with commit 6c627bcc1896ba62ec793d0c00da74f3c93ce3ad
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2025-68351
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
fs/exfat/namei.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/d009ff8959d28d2a33aeb96a5f7e7161c421d78f
https://git.kernel.org/stable/c/9aee8de970f18c2aaaa348e3de86c38e2d956c1d
Powered by blists - more mailing lists