# CVE-2024-53147: exfat: fix out-of-bounds access of directory entries

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.32% (percentile 17, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2024-12-24T11:28:47.695Z
- **Modified:** 2026-10-30T13:17:43.683Z

## Who should check

- Anyone running Linux \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< 98e3572505a9ec550b5296c67c4517120356c8d6; \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< 82dc96f0f4eec8afdde8467d21d1b6b989dbb20a; \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< a0120d6463368378539ef928cf067d02372efb8c; \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< 3ddd1cb2b458ff6a193bc845f408dfff217db29e; \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< 184fa506e392eb78364d9283c961217ff2c0617b
- Anyone running Linux 5.7

## Description

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

exfat: fix out-of-bounds access of directory entries

In the case of the directory size is greater than or equal to
the cluster size, if start\_clu becomes an EOF cluster(an invalid
cluster) due to file system corruption, then the directory entry
where ei-\>hint\_femp.eidx hint is outside the directory, resulting
in an out-of-bounds access, which may cause further file system
corruption.

This commit adds a check for start\_clu, if it is an invalid cluster,
the file or directory will be treated as empty.

## Affected and fixed versions

- Linux: \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< 98e3572505a9ec550b5296c67c4517120356c8d6; \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< 82dc96f0f4eec8afdde8467d21d1b6b989dbb20a; \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< a0120d6463368378539ef928cf067d02372efb8c; \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< 3ddd1cb2b458ff6a193bc845f408dfff217db29e; \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< 184fa506e392eb78364d9283c961217ff2c0617b (cvelist)
- Linux: 5.7 (cvelist)

## Mitigation

- Upgrade Linux to 184fa506e392eb78364d9283c961217ff2c0617b or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-53147.md
Affected: Linux >= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, < 98e3572505a9ec550b5296c67c4517120356c8d6; >= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, < 82dc96f0f4eec8afdde8467d21d1b6b989dbb20a; >= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, < a0120d6463368378539ef928cf067d02372efb8c; >= 1acf1a564b6034b5af1e7fb…
Fixed in: Linux 98e3572505a9ec550b5296c67c4517120356c8d6, Linux 82dc96f0f4eec8afdde8467d21d1b6b989dbb20a, Linux 3ddd1cb2b458ff6a193bc845f408dfff217db29e, Linux 184fa506e392eb78364d9283c961217ff2c0617b

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-2024-53147 being exploited?

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

### How serious is CVE-2024-53147?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-53147?

Linux \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< 98e3572505a9ec550b5296c67c4517120356c8d6; \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< 82dc96f0f4eec8afdde8467d21d1b6b989dbb20a; \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< a0120d6463368378539ef928cf067d02372efb8c; \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< 3ddd1cb2b458ff6a193bc845f408dfff217db29e; \>= 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003, \< 184fa506e392eb78364d9283c961217ff2c0617b; Linux 5.7.

### Is there a fix for CVE-2024-53147?

Yes. Fixed in Linux 98e3572505a9ec550b5296c67c4517120356c8d6, Linux 82dc96f0f4eec8afdde8467d21d1b6b989dbb20a, Linux 3ddd1cb2b458ff6a193bc845f408dfff217db29e, Linux 184fa506e392eb78364d9283c961217ff2c0617b. Upgrade Linux to 184fa506e392eb78364d9283c961217ff2c0617b or later.

### How do I check if I'm affected by CVE-2024-53147?

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/a0120d6463368378539ef928cf067d02372efb8c>
- patch: <https://git.kernel.org/stable/c/3ddd1cb2b458ff6a193bc845f408dfff217db29e>
- patch: <https://git.kernel.org/stable/c/184fa506e392eb78364d9283c961217ff2c0617b>
- other: <https://git.kernel.org/stable/c/98e3572505a9ec550b5296c67c4517120356c8d6>
- other: <https://git.kernel.org/stable/c/82dc96f0f4eec8afdde8467d21d1b6b989dbb20a>

## 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-2024-53147>

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