Critical Vulnerability in Linux Kernel: DRM Device Unplugging Issue
Summary
DEBIAN-CVE-2024-56538: In the Linux kernel, the following vulnerability has been resolved: drm: zynqmp_kms: Unplug DRM device before removal Prevent userspace accesses to the DRM device from causing use-after-frees by unplugging the device bef... Affects linux versions < 6.12.3-1. Fixed in 6.12.3-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 a core component of the operating system that manages hardware and system resources. It provides essential services for all other parts of the system, including device drivers, system calls, and process management. The kernel is crucial for system stability and security. The vulnerability in question affects the Direct Rendering Manager (DRM) subsystem, specifically related to the Zynq UltraScale+ MPSoC, which can lead to serious security issues if not addressed.
Vulnerability Detail
In the Linux kernel, a vulnerability has been identified in the DRM subsystem where the ZynqMP KMS driver fails to properly handle the unplugging of a DRM device before its removal. This oversight can lead to use-after-free conditions, allowing userspace accesses to potentially exploit the driver’s internals, resulting in system instability or unauthorized access to system resources. The vulnerability is tracked as DEBIAN-CVE-2024-56538.
How To Fix
Minimum fixed version
6.12.3-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. It is strongly recommended to apply the patch as soon as it is available to mitigate any potential risks.
Conclusion
The vulnerability identified in the Linux kernel's DRM subsystem poses significant risks to system security and stability. It is crucial for users to update to the patched version (6.12.3-1) to mitigate these risks effectively. Monitoring tools like Vulert can assist in identifying vulnerabilities in real-time.
See every vulnerability recorded for linux →
FAQ
The vulnerability involves improper handling of DRM device unplugging, leading to potential use-after-free scenarios.
The vulnerability affects Debian versions 13 and 14 of the Linux kernel prior to version 6.12.3-1.
You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without any signup.
Failure to address this vulnerability may lead to system instability, unauthorized access, or exploitation of system resources by malicious users.
While there are no specific workarounds available, it is advisable to limit access to the affected systems until the patch is applied.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.