CVE-2025-68351: exfat: fix refcount leak in exfat_find

Published Dec 24, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

exfat: fix refcount leak in exfatfind

Fix refcount leaks in exfatfind related to exfatgetdentryset.

Function exfatgetdentryset would increase the reference counter of es->bh on success. Therefore, exfatputdentryset must be called after exfatgetdentryset to ensure refcount consistency. This patch relocate two checks to avoid possible leaks.

Affected Software

158 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=6.12.23<6.12.68
Linux Linux kernel>=6.12.59<6.13
Linux Linux kernel>=6.13.11<6.14
Linux Linux kernel>=6.14.1<6.18.2
Linux Linux kernel=6.14
Linux Linux kernel=6.14-rc6
Linux Linux kernel=6.14-rc7
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1
ubuntu/linux-hwe-edge*
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-azure*
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-5.3*
ubuntu/linux-gke-4.15*
ubuntu/linux-gke-5.4*
ubuntu/linux-gkeop-5.4*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-oem*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-aws-5.11*
ubuntu/linux-aws-5.13*
ubuntu/linux-aws-5.8*
ubuntu/linux-azure-5.11*
ubuntu/linux-azure-5.13*
ubuntu/linux-azure-5.8*
ubuntu/linux-azure-fde*
ubuntu/linux-gcp-5.11*
ubuntu/linux-gcp-5.13*
ubuntu/linux-gcp-5.8*
ubuntu/linux-gke*
ubuntu/linux-gke-5.15*
ubuntu/linux-gkeop*
ubuntu/linux-gkeop-5.15*
ubuntu/linux-hwe-5.11*
ubuntu/linux-hwe-5.13*
ubuntu/linux-hwe-5.8*
ubuntu/linux-intel-5.13*
ubuntu/linux-oem-5.10*
ubuntu/linux-oem-5.13*
ubuntu/linux-oem-5.6*
ubuntu/linux-oracle-5.11*
ubuntu/linux-oracle-5.13*
ubuntu/linux-oracle-5.8*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.11*
ubuntu/linux-riscv-5.8*
ubuntu/linux-allwinner-5.19*
ubuntu/linux-aws-5.19*
ubuntu/linux-aws-6.2*
ubuntu/linux-aws-6.5*
ubuntu/linux-aws-6.8<6.8.0-1057.60~22.04.1
6.8.0-1057.60~22.04.1
ubuntu/linux-azure-5.19*
ubuntu/linux-azure-6.2*
ubuntu/linux-azure-6.5*
ubuntu/linux-azure-6.8<6.8.0-1059.65~22.04.1
6.8.0-1059.65~22.04.1
ubuntu/linux-azure-fde-5.19*
ubuntu/linux-azure-fde-6.2*
ubuntu/linux-azure-fde-6.8<6.8.0-1058.65~22.04.1
6.8.0-1058.65~22.04.1
ubuntu/linux-gcp-5.19*
ubuntu/linux-gcp-6.2*
ubuntu/linux-gcp-6.5*
ubuntu/linux-gcp-6.8<6.8.0-1060.63~22.04.1
6.8.0-1060.63~22.04.1
ubuntu/linux-hwe-5.19*
ubuntu/linux-hwe-6.2*
ubuntu/linux-hwe-6.5*
ubuntu/linux-hwe-6.8<6.8.0-124.124~22.04.1
6.8.0-124.124~22.04.1
ubuntu/linux-ibm-6.8<6.8.0-1055.56~22.04.1
6.8.0-1055.56~22.04.1
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-lowlatency-hwe-5.19*
ubuntu/linux-lowlatency-hwe-6.2*
ubuntu/linux-lowlatency-hwe-6.5*
ubuntu/linux-lowlatency-hwe-6.8<6.8.0-117.117.1~22.04.1
6.8.0-117.117.1~22.04.1
ubuntu/linux-nvidia-6.2*
ubuntu/linux-nvidia-6.5*
ubuntu/linux-nvidia-6.8<6.8.0-1054.57~22.04.1
6.8.0-1054.57~22.04.1
ubuntu/linux-oem-5.17*
ubuntu/linux-oem-6.0*
ubuntu/linux-oem-6.1*
ubuntu/linux-oem-6.5*
ubuntu/linux-oracle-6.5*
ubuntu/linux-oracle-6.8<6.8.0-1054.55~22.04.1
6.8.0-1054.55~22.04.1
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.19*
ubuntu/linux-riscv-6.5*
ubuntu/linux-riscv-6.8<6.8.0-117.117~22.04.1
6.8.0-117.117~22.04.1
ubuntu/linux-starfive-5.19*
ubuntu/linux-starfive-6.2*
ubuntu/linux-starfive-6.5*
ubuntu/linux-realtime-6.8<6.8.1-1051.52~22.04.1
6.8.1-1051.52~22.04.1
ubuntu/linux<6.8.0-117.117
6.8.0-117.117
ubuntu/linux-aws<6.8.0-1055.58
6.8.0-1055.58
ubuntu/linux-aws-6.14*
ubuntu/linux-aws-6.17<6.17.0-1012.12~24.04.1
6.17.0-1012.12~24.04.1
ubuntu/linux-azure<6.8.0-1056.62
6.8.0-1056.62
ubuntu/linux-azure-6.11*
ubuntu/linux-azure-6.14*
ubuntu/linux-azure-6.17<6.17.0-1013.13~24.04.1
6.17.0-1013.13~24.04.1
ubuntu/linux-azure-fde<6.8.0-1058.65
6.8.0-1058.65
ubuntu/linux-azure-fde-6.14*
ubuntu/linux-azure-nvidia*
ubuntu/linux-azure-nvidia-6.14*
ubuntu/linux-gcp<6.8.0-1058.61
6.8.0-1058.61
ubuntu/linux-gcp-6.11*
ubuntu/linux-gcp-6.14*
ubuntu/linux-gcp-6.17<6.17.0-1012.12~24.04.1
6.17.0-1012.12~24.04.1
ubuntu/linux-gke<6.8.0-1054.60
6.8.0-1054.60
ubuntu/linux-gkeop<6.8.0-1041.44
6.8.0-1041.44
ubuntu/linux-hwe-6.11*
ubuntu/linux-hwe-6.14*
ubuntu/linux-hwe-6.17<6.17.0-22.22~24.04.1
6.17.0-22.22~24.04.1
ubuntu/linux-ibm<6.8.0-1055.56
6.8.0-1055.56
ubuntu/linux-lowlatency<6.8.0-117.117.1
6.8.0-117.117.1
ubuntu/linux-lowlatency-hwe-6.11*
ubuntu/linux-nvidia<6.8.0-1054.57
6.8.0-1054.57
ubuntu/linux-nvidia-6.11*
ubuntu/linux-nvidia-6.17<6.17.0-1018.18
6.17.0-1018.18
ubuntu/linux-nvidia-lowlatency<6.8.0-1054.57.1
6.8.0-1054.57.1
ubuntu/linux-nvidia-tegra<6.8.0-1024.24
6.8.0-1024.24
ubuntu/linux-oem-6.11*
ubuntu/linux-oem-6.14*
ubuntu/linux-oem-6.17<6.17.0-1020.20
6.17.0-1020.20
ubuntu/linux-oem-6.8*
ubuntu/linux-oracle<6.8.0-1054.55
6.8.0-1054.55
ubuntu/linux-oracle-6.14*
ubuntu/linux-oracle-6.17<6.17.0-1011.11~24.04.1
6.17.0-1011.11~24.04.1
ubuntu/linux-raspi<6.8.0-1056.60
6.8.0-1056.60
ubuntu/linux-raspi-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-riscv-6.14*
ubuntu/linux-riscv-6.17<6.17.0-22.22.1~24.04.1
6.17.0-22.22.1~24.04.1
ubuntu/linux-xilinx<6.8.0-1032.33
6.8.0-1032.33
ubuntu/linux-bluefield<6.8.0-1022.26
6.8.0-1022.26
ubuntu/linux-raspi-realtime<6.8.0-2045.46
6.8.0-2045.46
ubuntu/linux-realtime<6.8.1-1051.52
6.8.1-1051.52
ubuntu/linux-realtime-6.14*
ubuntu/linux-realtime-6.17<6.17.0-1010.11~24.04.1
6.17.0-1010.11~24.04.1
ubuntu/linux-aws-fips<6.8.0-1055.58+fips1
6.8.0-1055.58+fips1
ubuntu/linux-azure-fips<6.8.0-1059.65+fips1
6.8.0-1059.65+fips1
ubuntu/linux-fips<6.8.0-116.116+fips1
6.8.0-116.116+fips1
ubuntu/linux-gcp-fips<6.8.0-1058.61+fips1
6.8.0-1058.61+fips1
ubuntu/linux<6.17.0-22.22
6.17.0-22.22
ubuntu/linux-aws<6.17.0-1012.12
6.17.0-1012.12
ubuntu/linux-azure<6.17.0-1013.13
6.17.0-1013.13
ubuntu/linux-azure-fde*
ubuntu/linux-gcp<6.17.0-1012.12
6.17.0-1012.12
ubuntu/linux-oracle<6.17.0-1011.11
6.17.0-1011.11
ubuntu/linux-raspi<6.17.0-1013.13
6.17.0-1013.13
ubuntu/linux-realtime<6.17.0-1010.11
6.17.0-1010.11
ubuntu/linux-riscv<6.17.0-22.22.1
6.17.0-22.22.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.113-1Fixed in 7.2.12-1Fixed in 7.2.13-1
  2. Compensating control

    In exfat_find, call exfat_put_dentry_set after exfat_get_dentry_set succeeds, and relocate the two checks as described to prevent refcount leaks and maintain es->bh reference-count consistency.

Event History

Dec 24, 2025
CVE Published
via MITRE·10:32 AM
Data Sourced
via MITRE·10:32 AM
Description
Data Sourced
via OSV·11:15 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·11:15 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2025-68351?

CVE-2025-68351 has been classified as a moderate severity vulnerability due to the potential for reference count leaks.

2

How do I fix CVE-2025-68351?

To fix CVE-2025-68351, users should apply the latest patches provided by their Linux distribution that address the reference count leak in the exfat module.

3

What systems are affected by CVE-2025-68351?

CVE-2025-68351 affects the Linux kernel, particularly versions where the exfat file system is used.

4

What is the nature of the vulnerability in CVE-2025-68351?

CVE-2025-68351 involves a reference count leak in the `exfat_find` function related to the `exfat_get_dentry_set` process.

5

What are the potential impacts of CVE-2025-68351?

The potential impacts of CVE-2025-68351 include increased resource consumption and possible denial of service through unbounded resource allocation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203