Critical Vulnerability in Linux Kernel: Hard Interrupt Context Issue
Summary
DEBIAN-CVE-2024-53089: In the Linux kernel, the following vulnerability has been resolved: LoongArch: KVM: Mark hrtimer to expire in hard interrupt context Like commit 2c0d278f3293f ("KVM: LAPIC: Mark hrtimer to expire in hard interrupt contex... Affects linux versions < 6.11.9-1. Fixed in 6.11.9-1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Linux kernel is the core component of many operating systems, responsible for managing hardware and system resources. It provides essential services for all other parts of the operating system. The kernel is known for its stability and performance, but like any software, it can have vulnerabilities. This specific vulnerability affects the Linux kernel versions in Debian 13 and 14, particularly concerning the handling of hrtimers in PREEMPT_RT enabled kernels.
Vulnerability Detail
In the Linux kernel, a vulnerability has been identified where unmarked hrtimers are moved into soft interrupt expiry mode by default on PREEMPT_RT enabled kernels. This behavior can lead to a 'scheduling while atomic' bug, which can cause system instability and crashes. The issue arises when timers are canceled from a preempt-notifier invoked with disabled preemption, which is not permissible in PREEMPT_RT. This vulnerability could potentially allow an attacker to exploit the system, leading to unexpected behavior or crashes.
How To Fix
Minimum fixed version
6.11.9-1
This is the first release that contains the fix.
sudo apt-get install --only-upgrade linux
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the patch as soon as it is available.
Conclusion
The identified vulnerability in the Linux kernel regarding hrtimer handling in PREEMPT_RT enabled kernels poses a significant risk to system stability. Users are urged to update to the patched version to mitigate this risk. Continuous monitoring and prompt updates are essential to maintain system security.
See every vulnerability recorded for linux →
FAQ
The vulnerability can lead to system instability and crashes, particularly in environments using PREEMPT_RT enabled kernels.
You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected.
Yes, the patched version of the Linux kernel is 6.11.9-1 for both Debian 13 and 14.
While there are no specific workarounds, it is recommended to monitor your system closely and apply the patch as soon as possible.
Detailed information can be found in the official Debian CVE database and security advisories.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.