CVE-2024-47732
📋 TL;DR
This CVE describes a use-after-free vulnerability in the Linux kernel's IAA crypto driver. The vulnerability exists in dead code that would only trigger if a specific compression mode's free function were implemented, making current exploitation unlikely. Systems running affected Linux kernel versions with IAA crypto driver enabled are potentially affected.
💻 Affected Systems
- Linux kernel
📦 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
Kernel crash leading to denial of service, or potential privilege escalation if an attacker can trigger the use-after-free in a controlled manner.
Likely Case
No immediate impact since the vulnerable code path is currently dead/unimplemented, but could become exploitable if future kernel changes implement the missing function.
If Mitigated
Minimal to no impact if the vulnerable code path remains unimplemented or if the system doesn't use IAA crypto features.
🎯 Exploit Status
Exploitation requires: 1) Local access, 2) IAA driver enabled, 3) The currently unimplemented free function to be implemented, 4) Ability to trigger the specific code path.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Patches available in stable kernel trees (b5d534b473e2c8d3e4560be2dd6c12a8eb9d61e9, c66f0be993ba52410edab06124c54ecf143b05c1, e0d3b845a1b10b7b5abdad7ecc69d45b2aab3209)
Vendor Advisory: https://git.kernel.org/stable/c/b5d534b473e2c8d3e4560be2dd6c12a8eb9d61e9
Restart Required: Yes
Instructions:
1. Update to a patched kernel version from your distribution's repositories. 2. Reboot the system to load the new kernel. 3. Verify the kernel version after reboot.
🔧 Temporary Workarounds
Disable IAA crypto driver
linuxRemove or disable the IAA crypto driver module if not needed
modprobe -r iaa_crypto
echo 'blacklist iaa_crypto' >> /etc/modprobe.d/blacklist.conf
🧯 If You Can't Patch
- Ensure IAA crypto driver is not loaded or compiled into the kernel
- Implement strict access controls to limit local user privileges
🔍 How to Verify
Check if Vulnerable:
Check if IAA crypto driver is loaded: lsmod | grep iaa_crypto
Check Version:
uname -r
Verify Fix Applied:
Check kernel version after update and verify IAA driver is either not loaded or from patched kernel
📡 Detection & Monitoring
Log Indicators:
- Kernel oops or crash logs related to crypto/iaa module
- System crashes or instability when using IAA crypto features
Network Indicators:
- None - this is a local vulnerability
SIEM Query:
Search for kernel panic logs containing 'iaa' or 'crypto' module references