CVE-2023-53612
📋 TL;DR
A NULL pointer dereference vulnerability in the Linux kernel's coretemp hardware monitoring driver could cause kernel panics or system crashes when CPU hotplug operations occur with drivers_autoprobe disabled. This affects Linux systems using the coretemp driver for CPU temperature monitoring, particularly those with dynamic CPU hotplug capabilities.
💻 Affected Systems
- Linux kernel
⚠️ Risk & Real-World Impact
Worst Case
Kernel panic leading to system crash and denial of service, requiring physical or remote console access to reboot.
Likely Case
System instability or crash during CPU hotplug operations, particularly on systems with dynamic CPU management.
If Mitigated
No impact if the vulnerable code path isn't triggered or if proper kernel hardening is in place.
🎯 Exploit Status
Exploitation requires ability to trigger CPU hotplug events or manipulate platform bus configuration.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Patched in stable kernel commits referenced in CVE
Vendor Advisory: https://git.kernel.org/stable/c/4000384684f612b3645a944f6acde0e65ac370b8
Restart Required: Yes
Instructions:
1. Update Linux kernel to patched version from your distribution vendor. 2. Reboot system to load new kernel.
🔧 Temporary Workarounds
Disable coretemp module
linuxPrevent loading of vulnerable coretemp driver
echo 'blacklist coretemp' >> /etc/modprobe.d/blacklist.conf
rmmod coretemp
Disable CPU hotplug
linuxPrevent triggering of vulnerable code path
echo 0 > /sys/devices/system/cpu/cpuX/online (for each CPU)
🧯 If You Can't Patch
- Ensure drivers_autoprobe is enabled for platform bus to avoid NULL dereference
- Monitor system logs for coretemp-related crashes and have recovery procedures ready
🔍 How to Verify
Check if Vulnerable:
Check kernel version and if coretemp module is loaded: lsmod | grep coretemp && uname -r
Check Version:
uname -r
Verify Fix Applied:
Verify kernel version is updated and check dmesg for coretemp-related errors after CPU hotplug operations
📡 Detection & Monitoring
Log Indicators:
- Kernel panic messages
- NULL pointer dereference in coretemp driver
- CPU hotplug related crashes
Network Indicators:
- None - local vulnerability
SIEM Query:
source="kernel" AND ("coretemp" OR "NULL pointer dereference")
🔗 References
- https://git.kernel.org/stable/c/4000384684f612b3645a944f6acde0e65ac370b8
- https://git.kernel.org/stable/c/52ea47a0ddfbc5fe05e873d3f5a59db4ba3e03fe
- https://git.kernel.org/stable/c/5735878a7b7db7e9ce731cb36cec298a9de67549
- https://git.kernel.org/stable/c/6d03bbff456befeccdd4d663177c4d6c75d0c4ff
- https://git.kernel.org/stable/c/8fcdbc4bc01365f4b10fed7db544a3149e3054fd
- https://git.kernel.org/stable/c/c57a8d14d7880521150ee801d53a0a64fdffd9c8