CVE-2024-53147·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.12.2
- Published
- 2024-12-24
Affected versions
From: 6.12
Until: 6.12.2
Fixed in: 6.12.2
How to fix this CVE
Update your Linux kernel to version 6.12.2 or later to patch an out-of-bounds memory access vulnerability in the exFAT filesystem driver. This vulnerability could allow local attackers with filesystem access to trigger kernel memory corruption through a malformed exFAT partition. Apply the kernel update and reboot your system to ensure the fix is active.
sudo dnf update kernel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your kernel version with `uname -r` and compare against 6.12.2. Versions 6.12.0, 6.12.1, or 6.12.2 are affected if below 6.12.2.
- Step 2: Verify if exFAT filesystems are mounted on your system by running `mount | grep exfat` or `lsblk -f | grep exfat`.
- Step 3: Search kernel logs for exFAT-related errors using `dmesg | grep -i exfat` or `journalctl -u kernel | grep -i exfat` to identify potential exploitation attempts.
- Step 4: After patching, confirm the kernel update with `uname -r` shows version 6.12.2 or higher, and verify with `dmesg | head -20` that the system booted the new kernel.
FAQ
What is CVE-2024-53147?
CVE-2024-53147 is a memory safety vulnerability in the Linux kernel's exFAT filesystem driver where corrupted filesystem metadata can cause the driver to access memory locations outside the bounds of a directory entry, potentially corrupting kernel memory and leading to system instability or privilege escalation.
Is CVE-2024-53147 being actively exploited?
No, CVE-2024-53147 is not listed as actively exploited by CISA and no public exploits are currently available. However, the vulnerability is locally exploitable and should still be patched promptly.
What versions of Kernel are affected by CVE-2024-53147?
Linux kernel versions 6.12.0, 6.12.1, and 6.12.2 (up to but not including the fixed 6.12.2) are affected. The vulnerability was introduced in the 6.12 series.
How do I check if my server is vulnerable to CVE-2024-53147?
Run `uname -r` to check your kernel version. If it shows 6.12.0 or 6.12.1, your system is vulnerable. Additionally, verify if exFAT partitions are mounted with `mount | grep exfat` to determine exposure.
Does Defensia detect CVE-2024-53147?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-53147 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-53147. Free for 1 server.
Get started free