CVE-2024-53147

7.1 HIGH

📋 TL;DR

This CVE-2024-53147 is an out-of-bounds memory access vulnerability in the Linux kernel's exFAT filesystem driver. It allows attackers with local access to trigger file system corruption when accessing specially crafted directories on exFAT partitions. All Linux systems using the affected kernel versions with exFAT support are potentially vulnerable.

💻 Affected Systems

Products:
  • Linux kernel
Versions: Kernel versions before the fix commits (specific versions depend on distribution backports)
Operating Systems: Linux distributions with exFAT support
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects systems with exFAT filesystem support enabled/loaded. Requires access to mount or access exFAT partitions.

📦 What is this software?

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete file system corruption leading to data loss, system instability, or potential privilege escalation if combined with other vulnerabilities.

🟠

Likely Case

File system corruption causing data loss or system crashes when accessing corrupted exFAT directories.

🟢

If Mitigated

Limited impact with proper access controls preventing unauthorized users from mounting exFAT partitions.

🌐 Internet-Facing: LOW - Requires local access to mount or access exFAT partitions.
🏢 Internal Only: MEDIUM - Internal users with access to mount exFAT devices could trigger the vulnerability.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Requires local access and ability to mount/create corrupted exFAT directories. No public exploit available at this time.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Kernel versions containing commits 184fa506e392, 3ddd1cb2b458, or a0120d646336

Vendor Advisory: https://git.kernel.org/stable/c/184fa506e392eb78364d9283c961217ff2c0617b

Restart Required: Yes

Instructions:

1. Update Linux kernel to patched version from your distribution. 2. Reboot system to load new kernel. 3. Verify kernel version after reboot.

🔧 Temporary Workarounds

Disable exFAT module

linux

Prevent loading of exFAT filesystem driver

echo 'blacklist exfat' > /etc/modprobe.d/blacklist-exfat.conf
rmmod exfat

Restrict exFAT mounting

linux

Prevent unauthorized users from mounting exFAT partitions

chmod 700 /bin/mount
setfacl -m u:root:rwx /bin/mount

🧯 If You Can't Patch

  • Restrict physical and remote access to systems with exFAT support
  • Implement strict access controls on exFAT partition mounting capabilities

🔍 How to Verify

Check if Vulnerable:

Check kernel version and if exFAT module is loaded: uname -r && lsmod | grep exfat

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version is patched and exFAT module loads without errors

📡 Detection & Monitoring

Log Indicators:

  • Kernel panic messages
  • Filesystem corruption errors in dmesg
  • exFAT driver crash logs

Network Indicators:

  • None - local vulnerability only

SIEM Query:

source="kernel" AND ("exfat" OR "filesystem corruption" OR "out of bounds")

🔗 References

📤 Share & Export