CVE-2024-35932: linux-libc-dev - Kernel Vulnerability in drm/vc4
Summary
CVE-2024-35932: In the Linux kernel, the following vulnerability has been resolved: drm/vc4: don't check if plane->state->fb == state->fb Currently, when using non-blocking commits, we can see the following kernel warning: [ 110.908514]... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. 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-libc-dev package is a component of the Linux kernel that provides the C library headers for system calls and other kernel interfaces. It is commonly used for developing applications that interact with the kernel. The vulnerability affects the drm/vc4 component of the kernel, which is responsible for managing the display hardware on certain devices. This vulnerability can lead to a use-after-free condition, potentially resulting in a system crash or other unexpected behavior.
Vulnerability Detail
The vulnerability in drm/vc4 arises from a check that compares the state of a plane's framebuffer (fb) with the state of the overall plane. Due to inconsistencies in the check, the refcount (reference count) for the framebuffer can be improperly incremented or decremented, leading to a use-after-free scenario. This can trigger a kernel warning and potentially cause instability or crashes. The vulnerability has a CVSS score of 5.5, indicating a medium severity level.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no specific workaround provided for this vulnerability. Users are advised to apply the recommended fix by updating the linux-libc-dev package.
Conclusion
The vulnerability in linux-libc-dev's drm/vc4 component can lead to a use-after-free condition, potentially causing system crashes or instability. It is crucial to update the linux-libc-dev package to version 6.1.90-1 or later to mitigate this vulnerability. For further assistance or support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for linux →
FAQ
Linux-libc-dev is a package that provides C library headers for system calls and other kernel interfaces in the Linux kernel.
Drm/vc4 is a component of the Linux kernel responsible for managing the display hardware on certain devices.
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 other unexpected behavior.
CVSS (Common Vulnerability Scoring System) is a standardized method for assessing the severity of security vulnerabilities. The score ranges from 0 to 10, with higher scores indicating greater severity.
You can use Vulert's playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and Vulert will analyze it for any open-source vulnerabilities, including this one.
Related vulnerabilities
Recent vulnerabilities recorded for linux.