Use-After-Free Vulnerability in Linux Kernel: KVM Component Affected
Summary
DEBIAN-CVE-2024-50114: In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Unregister redistributor for failed vCPU creation Alex reports that syzkaller has managed to trigger a use-after-free when tearing down a VM... Affects linux versions < 6.11.6-1. Fixed in 6.11.6-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, providing essential services for hardware and software interactions. It is known for its stability, performance, and flexibility, supporting a wide range of devices and architectures. The kernel's KVM (Kernel-based Virtual Machine) component allows users to run virtual machines efficiently. However, a recent vulnerability has been identified that affects the KVM functionality, specifically related to the handling of virtual CPUs (vCPUs).
Vulnerability Detail
In the Linux kernel, a use-after-free vulnerability has been discovered in the KVM component, which can be triggered during the teardown of a virtual machine (VM). This issue arises when a vCPU fails to be created, leading to improper handling of memory management and potential exploitation. The vulnerability is characterized by a read of freed memory, which can result in system instability or unauthorized access to sensitive data. The root cause is linked to the failure to unregister the redistributor for a vCPU that could not be created, leading to a use-after-free condition.
How To Fix
Minimum fixed version
6.11.6-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 becomes available.
Conclusion
The identified use-after-free vulnerability in the Linux kernel's KVM component poses significant risks to system stability and security. Users are strongly encouraged to update their kernel to the patched version 6.11.6-1 to mitigate these risks. Regular monitoring and prompt updates are essential for maintaining system integrity.
See every vulnerability recorded for linux →
FAQ
A use-after-free vulnerability occurs when a program continues to use a memory reference after it has been freed, potentially leading to unexpected behavior or security issues.
You can use Vulert, which monitors open-source vulnerabilities in your software. By uploading your manifest file, such as package-lock.json, you can check for vulnerabilities in real-time.
The vulnerability can lead to system crashes, unauthorized access, or exploitation of sensitive data, depending on how it is leveraged by an attacker.
Yes, the vulnerability affects versions prior to 6.11.6-1. Users should ensure they are running this version or later to mitigate the risk.
While there are no specific workarounds, it is advisable to monitor your system closely for any unusual behavior and plan to apply the update as soon as possible.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.