# exfat: fix the infinite loop in exfat_readdir()

CVE record · `CVE-2024-57940`

- **Identifiers:** `CVE-2024-57940`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 21 Jan 2025
- **Updated:** 15 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 21 Jan 2025, 12:18 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `ca06197382bde0a3bc20215595d1c9ce20c6e341 to before d8cfbb8723bd3d3222f360227a1cc15227189ca6` (git)
  - affected: `ca06197382bde0a3bc20215595d1c9ce20c6e341 to before 28c21f0ac5293a4bf19b3e0e32005d6dd31a6c17` (git)
  - affected: `ca06197382bde0a3bc20215595d1c9ce20c6e341 to before 31beabd0f47f8c3ed9965ba861c9e5b252d4920a` (git)
  - affected: `ca06197382bde0a3bc20215595d1c9ce20c6e341 to before dc1d7afceb982e8f666e70a582e6b5aa806de063` (git)
  - affected: `ca06197382bde0a3bc20215595d1c9ce20c6e341 to before d9ea94f5cd117d56e573696d0045ab3044185a15` (git)
  - affected: `ca06197382bde0a3bc20215595d1c9ce20c6e341 to before fee873761bd978d077d8c55334b4966ac4cb7b59` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.7`
  - unaffected: `before 5.7` (semver)
  - unaffected: `5.10.234 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.177 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.125 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.72 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.10 to 6.12.*, inclusive` (semver)
  - unaffected: `6.13 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0022, the 13th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 21 Jan 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2024-57940](https://www.cve.org/CVERecord?id=CVE-2024-57940)
- [NVD: CVE-2024-57940](https://nvd.nist.gov/vuln/detail/CVE-2024-57940)

### References from the CNA

- <https://git.kernel.org/stable/c/d8cfbb8723bd3d3222f360227a1cc15227189ca6>
- <https://git.kernel.org/stable/c/28c21f0ac5293a4bf19b3e0e32005d6dd31a6c17>
- <https://git.kernel.org/stable/c/31beabd0f47f8c3ed9965ba861c9e5b252d4920a>
- <https://git.kernel.org/stable/c/dc1d7afceb982e8f666e70a582e6b5aa806de063>
- <https://git.kernel.org/stable/c/d9ea94f5cd117d56e573696d0045ab3044185a15>
- <https://git.kernel.org/stable/c/fee873761bd978d077d8c55334b4966ac4cb7b59>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-57940>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-57940/>. Everything for agents: <https://agentprime.io/llms.txt>.
