CVE-2024-35952
📋 TL;DR
A race condition in the Linux kernel's AST DRM driver causes a soft lockup when the driver waits indefinitely for a BMC microcontroller to update scratch registers. This affects systems using AST graphics hardware with BMC management controllers, potentially causing system hangs.
💻 Affected Systems
- Linux kernel with AST DRM driver
📦 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 →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 →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 system lockup requiring hard reboot, leading to denial of service and potential data loss or corruption.
Likely Case
Temporary system hangs or performance degradation during display operations, particularly when using DP (DisplayPort) connections.
If Mitigated
Minor performance impact during display initialization with proper kernel patches applied.
🎯 Exploit Status
Exploitation requires triggering the race condition through display operations. No known public exploits exist.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Linux kernel with commits 35768baf0fdfc47ede42d899506bad78450e9294 and related fixes
Vendor Advisory: https://git.kernel.org/stable/c/35768baf0fdfc47ede42d899506bad78450e9294
Restart Required: Yes
Instructions:
1. Update Linux kernel to version containing the fix commits. 2. For distributions: Use package manager (apt/yum/dnf) to update kernel. 3. Reboot system to load new kernel.
🔧 Temporary Workarounds
Disable AST graphics if not needed
linuxBlacklist AST DRM module to prevent loading
echo 'blacklist ast' >> /etc/modprobe.d/blacklist.conf
update-initramfs -u
reboot
🧯 If You Can't Patch
- Avoid using DisplayPort connections on affected AST hardware
- Monitor system for soft lockups and implement automated recovery procedures
🔍 How to Verify
Check if Vulnerable:
Check kernel version and if AST module is loaded: lsmod | grep ast && uname -r
Check Version:
uname -r
Verify Fix Applied:
Verify kernel version includes fix commits or is newer than vulnerable versions
📡 Detection & Monitoring
Log Indicators:
- Kernel soft lockup messages in dmesg
- 'BUG: soft lockup' in system logs
- High CPU usage by kernel threads
Network Indicators:
- None - local vulnerability only
SIEM Query:
source="kernel" AND "soft lockup" AND "CPU"
🔗 References
- https://git.kernel.org/stable/c/35768baf0fdfc47ede42d899506bad78450e9294
- https://git.kernel.org/stable/c/8a6fea3fcb577a543ef67683ca7105bde49a38fb
- https://git.kernel.org/stable/c/a81b2acd43e24e419f65df97348c76a5a1496066
- https://git.kernel.org/stable/c/bc004f5038220b1891ef4107134ccae44be55109
- https://git.kernel.org/stable/c/35768baf0fdfc47ede42d899506bad78450e9294
- https://git.kernel.org/stable/c/8a6fea3fcb577a543ef67683ca7105bde49a38fb
- https://git.kernel.org/stable/c/a81b2acd43e24e419f65df97348c76a5a1496066
- https://git.kernel.org/stable/c/bc004f5038220b1891ef4107134ccae44be55109