CVE-2023-52993
📋 TL;DR
A Linux kernel vulnerability where legacy PIC interrupts aren't properly marked as level-triggered, causing the kernel to incorrectly resend timer interrupts in software. This can trigger a NULL pointer dereference during crash recovery, potentially preventing crash-kernel boot. Affects Linux systems using legacy PIC interrupts.
💻 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 →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 →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
System crash or kernel panic during crash recovery, preventing successful boot of crash-kernel for forensic analysis.
Likely Case
Intermittent system instability during crash scenarios, with crash-kernel failing to boot approximately 50% of the time as reported.
If Mitigated
Minimal impact if system doesn't experience crashes requiring crash-kernel recovery.
🎯 Exploit Status
Exploitation requires triggering a system crash first, then relying on the bug during crash-kernel boot. Not a direct remote or local privilege escalation vulnerability.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Patches available in stable kernel branches via provided git commits
Vendor Advisory: https://git.kernel.org/stable/c/0b08201158f177aab469e356b4d6af24fdd118df
Restart Required: Yes
Instructions:
1. Identify current kernel version. 2. Apply appropriate kernel patch from provided git commits. 3. Rebuild kernel if using custom kernel. 4. Reboot system with patched kernel.
🔧 Temporary Workarounds
Force APIC mode
linuxConfigure system to use APIC mode instead of legacy PIC interrupts if hardware supports it
Add 'nolapic' or 'noapic' kernel boot parameters to force APIC mode (check hardware compatibility)
🧯 If You Can't Patch
- Ensure crash-kernel functionality is not critical for your use case
- Implement robust system monitoring to detect and alert on crashes
🔍 How to Verify
Check if Vulnerable:
Check kernel version and configuration for legacy PIC usage. Examine /proc/interrupts for IRQ0 legacy timer entries.
Check Version:
uname -r
Verify Fix Applied:
Verify kernel version includes the fix commits. Test crash recovery functionality if possible.
📡 Detection & Monitoring
Log Indicators:
- Kernel panic messages during crash recovery
- NULL pointer dereference errors in kernel logs related to timer interrupts
- Failed crash-kernel boot attempts
Network Indicators:
- None - this is a local kernel issue
SIEM Query:
source="kernel" AND ("NULL pointer dereference" OR "IRQ0" OR "crash-kernel failed")
🔗 References
- https://git.kernel.org/stable/c/0b08201158f177aab469e356b4d6af24fdd118df
- https://git.kernel.org/stable/c/137f1b47da5f58805da42c1b7811e28c1e353f39
- https://git.kernel.org/stable/c/496975d1a2937f4baadf3d985991b13fc4fc4f27
- https://git.kernel.org/stable/c/5fa55950729d0762a787451dc52862c3f850f859
- https://git.kernel.org/stable/c/744fe9be9665227335539b7a77ece8d9ff62b6c0
- https://git.kernel.org/stable/c/8770cd9d7c14aa99c255a0d08186f0be953e1638
- https://git.kernel.org/stable/c/e284c273dbb4c1ed68d4204bff94d0b10e4a90f5