CVE-2024-56580: media: qcom: camss: fix error path on configuration of power domains
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 domains, because on the error path devpmdomaindetach() is unexpectedly called with NULL or error pointer.
One of the simplest ways to reproduce the problem is to probe CAMSS driver before registration of CAMSS power domains, for instance if a platform CAMCC driver is simply not built.
Warning backtrace example:
Unable to handle kernel NULL pointer dereference at virtual address 00000000000001a2
<snip>
pc : devpmdomaindetach+0x8/0x48 lr : camssprobe+0x374/0x9c0
<snip>
Call trace: devpmdomaindetach+0x8/0x48 platformprobe+0x70/0xf0 reallyprobe+0xc4/0x2a8 driverprobedevice+0x80/0x140 driverprobedevice+0x48/0x170 deviceattachdriver+0xc0/0x148 busforeachdrv+0x88/0xf0 deviceattach+0xb0/0x1c0 deviceinitialprobe+0x1c/0x30 busprobedevice+0xb4/0xc0 deferredprobeworkfunc+0x90/0xd0 processonework+0x164/0x3e0 workerthread+0x310/0x420 kthread+0x120/0x130 retfromfork+0x10/0x20
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-56580?
CVE-2024-56580 has not been assigned a specific severity rating, but it involves runtime issues that could affect system stability.
How do I fix CVE-2024-56580?
To fix CVE-2024-56580, users should upgrade to the latest version of the Linux Kernel that addresses this vulnerability.
Which versions of the Linux Kernel are affected by CVE-2024-56580?
CVE-2024-56580 affects Linux Kernel versions from 6.8 to 6.12.4.
What is the nature of CVE-2024-56580?
CVE-2024-56580 is related to an error path in the configuration of CAMSS power domains that could lead to runtime issues.
Is CVE-2024-56580 a local or remote vulnerability?
CVE-2024-56580 is considered a local vulnerability as it affects the configuration of system components.