Critical Vulnerability in Linux Kernel: CAMSS Power Domain Configuration Error
Summary
DEBIAN-CVE-2024-56580: In the Linux kernel, the following vulnerability has been resolved: media: qcom: camss: fix error path on configuration of power domains There is a chance to meet runtime issues during configuration of CAMSS power domain... Affects linux versions < 6.12.5-1. Fixed in 6.12.5-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 hardware resources and providing essential services to applications. It is widely used across various platforms, including servers, desktops, and embedded systems. The kernel's stability and security are paramount, as vulnerabilities can lead to system crashes, data loss, or unauthorized access. This specific vulnerability affects the configuration of power domains in the Qualcomm Camera Subsystem (CAMSS), which can lead to runtime issues if not addressed.
Vulnerability Detail
In the Linux kernel, a vulnerability has been identified in the CAMSS driver related to the configuration of power domains. The issue arises when the function dev_pm_domain_detach() is called with a NULL or erroneous pointer during the error handling process. This can lead to kernel NULL pointer dereference errors, potentially causing system instability or crashes. The vulnerability can be triggered by probing the CAMSS driver before the associated power domains are registered, particularly if the platform CAMCC driver is not built. The warning backtrace indicates a failure in handling the NULL pointer, which can disrupt the normal operation of the kernel.
How To Fix
Minimum fixed version
6.12.5-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
As a temporary workaround, avoid probing the CAMSS driver before the registration of CAMSS power domains. This can be achieved by ensuring that the platform CAMCC driver is built and loaded correctly before attempting to use the CAMSS driver.
Conclusion
The vulnerability in the Linux kernel related to the CAMSS power domain configuration poses significant risks to system stability. Users are strongly advised to update to the patched version 6.12.5-1 to mitigate these risks. Understanding and addressing such vulnerabilities is crucial for maintaining the security and reliability of Linux systems.
See every vulnerability recorded for linux →
FAQ
The vulnerability can lead to kernel crashes or instability due to NULL pointer dereference errors during the configuration of CAMSS power domains.
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, a patch is available in version 6.12.5-1 of the Linux kernel. Users should update to this version or later.
If an immediate update is not possible, ensure that the CAMSS driver is not probed before the power domains are registered as a temporary workaround.
Detailed information can be found in the Debian CVE database at https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-56580.json.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.