# CVE-2025-38692: exfat: add cluster chain loop check for dir

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **CWE:** CWE-835
- **Published:** 2025-09-04T15:32:46.004Z
- **Modified:** 2026-11-05T22:17:25.080Z

## Who should check

- Anyone running Linux \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< 1715f0996f7baf817c73613aeda500c4f73a6bd6; \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< 868f23286c1a13162330fa6c614fe350f78e3f82; \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< aa8fe7b7b73d4c9a41bb96cb3fb3092f794ecb33; \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< e2066ca3ef49a30920d8536fa366b2a183a808ee; \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< 4c3cda20c4cf1871e27868d08fda06b79bc7d568; \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< 99f9a97dce39ad413c39b92c90393bbd6778f3fd
- Anyone running Linux 5.7

## Description

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

exfat: add cluster chain loop check for dir

An infinite loop may occur if the following conditions occur due to
file system corruption.

(1) Condition for exfat\_count\_dir\_entries() to loop infinitely.
    - The cluster chain includes a loop.
    - There is no UNUSED entry in the cluster chain.

(2) Condition for exfat\_create\_upcase\_table() to loop infinitely.
    - The cluster chain of the root directory includes a loop.
    - There are no UNUSED entry and up-case table entry in the cluster
      chain of the root directory.

(3) Condition for exfat\_load\_bitmap() to loop infinitely.
    - The cluster chain of the root directory includes a loop.
    - There are no UNUSED entry and bitmap entry in the cluster chain
      of the root directory.

(4) Condition for exfat\_find\_dir\_entry() to loop infinitely.
    - The cluster chain includes a loop.
    - The unused directory entries were exhausted by some operation.

(5) Condition for exfat\_check\_dir\_empty() to loop infinitely.
    - The cluster chain includes a loop.
    - The unused directory entries were exhausted by some operation.
    - All files and sub-directories under the directory are deleted.

This commit adds checks to break the above infinite loop.

## Affected and fixed versions

- Linux: \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< 1715f0996f7baf817c73613aeda500c4f73a6bd6; \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< 868f23286c1a13162330fa6c614fe350f78e3f82; \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< aa8fe7b7b73d4c9a41bb96cb3fb3092f794ecb33; \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< e2066ca3ef49a30920d8536fa366b2a183a808ee; \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< 4c3cda20c4cf1871e27868d08fda06b79bc7d568; \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< 99f9a97dce39ad413c39b92c90393bbd6778f3fd (cvelist)
- Linux: 5.7 (cvelist)

## Mitigation

- Upgrade Linux to 99f9a97dce39ad413c39b92c90393bbd6778f3fd or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38692. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38692.md
Affected: Linux >= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, < 1715f0996f7baf817c73613aeda500c4f73a6bd6; >= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, < 868f23286c1a13162330fa6c614fe350f78e3f82; >= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, < aa8fe7b7b73d4c9a41bb96cb3fb3092f794ecb33; >= 1acf1a564b6034b5af1e7fb…
Fixed in: Linux 1715f0996f7baf817c73613aeda500c4f73a6bd6, Linux 868f23286c1a13162330fa6c614fe350f78e3f82, Linux 4c3cda20c4cf1871e27868d08fda06b79bc7d568, Linux 99f9a97dce39ad413c39b92c90393bbd6778f3fd

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38692 being exploited?

There is no confirmed exploitation: CVE-2025-38692 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38692?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38692?

Linux \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< 1715f0996f7baf817c73613aeda500c4f73a6bd6; \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< 868f23286c1a13162330fa6c614fe350f78e3f82; \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< aa8fe7b7b73d4c9a41bb96cb3fb3092f794ecb33; \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< e2066ca3ef49a30920d8536fa366b2a183a808ee; \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< 4c3cda20c4cf1871e27868d08fda06b79bc7d568; \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< 99f9a97dce39ad413c39b92c90393bbd6778f3fd; Linux 5.7.

### Is there a fix for CVE-2025-38692?

Yes. Fixed in Linux 1715f0996f7baf817c73613aeda500c4f73a6bd6, Linux 868f23286c1a13162330fa6c614fe350f78e3f82, Linux 4c3cda20c4cf1871e27868d08fda06b79bc7d568, Linux 99f9a97dce39ad413c39b92c90393bbd6778f3fd. Upgrade Linux to 99f9a97dce39ad413c39b92c90393bbd6778f3fd or later.

### How do I check if I'm affected by CVE-2025-38692?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/868f23286c1a13162330fa6c614fe350f78e3f82>
- patch: <https://git.kernel.org/stable/c/aa8fe7b7b73d4c9a41bb96cb3fb3092f794ecb33>
- patch: <https://git.kernel.org/stable/c/e2066ca3ef49a30920d8536fa366b2a183a808ee>
- patch: <https://git.kernel.org/stable/c/4c3cda20c4cf1871e27868d08fda06b79bc7d568>
- patch: <https://git.kernel.org/stable/c/99f9a97dce39ad413c39b92c90393bbd6778f3fd>
- other: <https://git.kernel.org/stable/c/1715f0996f7baf817c73613aeda500c4f73a6bd6>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38692>

HTML: <https://flawdb.com/CVE-2025-38692> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38692>
