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

High 7.8 Published Updated

A local attacker can trigger an out-of-bounds access in the Linux kernel exFAT driver via a corrupted filesystem, causing system crashes or data corruption.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-53147?

CVE-2024-53147 is a high-severity memory corruption vulnerability in Linux kernel, published on 24 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-125

Which versions are affected by CVE-2024-53147?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-53147?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-53147 being exploited?

There is no known exploitation of CVE-2024-53147 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-53147, DEBIAN-CVE-2024-53147, GHSA-26x9-cxwc-jfqw, ROOT-OS-DEBIAN-11-CVE-2024-53147, ROOT-OS-DEBIAN-12-CVE-2024-53147, ROOT-OS-UBUNTU-2204-CVE-2024-53147 and 1 more.

Is CVE-2024-53147 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free