Use-After-Free Vulnerability in Linux Kernel - Debian Packages Affected
Summary
DEBIAN-CVE-2024-50226: In the Linux kernel, the following vulnerability has been resolved: cxl/port: Fix use-after-free, permit out-of-order decoder shutdown In support of investigating an initialization failure report [1], cxl_test was update... Affects linux versions < 6.11.7-1. Fixed in 6.11.7-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 the Linux operating system, responsible for managing system resources and hardware communication. It provides essential services for all other parts of the operating system. This vulnerability affects the Linux kernel versions in Debian 13 and 14, specifically the 'linux' package, which is crucial for system stability and performance.
Vulnerability Detail
In the Linux kernel, a use-after-free vulnerability has been identified in the CXL (Compute Express Link) subsystem. This issue arises when the cxl_test function registers mock memory devices after the mock root-port/bus device has been registered. This sequence leads to a crash due to a use-after-free error, which can result in a general protection fault and potentially compromise system integrity. The vulnerability is triggered during the teardown process of endpoint decoders, where stale references to deleted objects can cause the kernel to crash.
How To Fix
Minimum fixed version
6.11.7-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 by updating the kernel to the fixed version.
Conclusion
The identified use-after-free vulnerability in the Linux kernel poses significant risks to system stability and security. Users of Debian 13 and 14 are strongly advised to update their kernel to the patched version 6.11.7-1 to mitigate these risks. Regular monitoring and vulnerability management practices, such as using tools like Vulert, can help maintain 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 crashes or arbitrary code execution.
You can check if your application is affected by using Vulert, which monitors and alerts for open-source vulnerabilities. Visit Vulert Scanner to check your application without requiring signup.
The risks include system crashes, data corruption, and potential exploitation by attackers to execute arbitrary code, compromising system security.
Yes, the patched version 6.11.7-1 for Debian 13 and 14 is safe and resolves the vulnerability.
If immediate updates are not possible, consider isolating affected systems from critical networks and monitoring for unusual activity until the update can be applied.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.