remoteproc: qcom: q6v5: Fix potential null-ptr-deref in q6v5_wcss_init_mmio()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
remoteproc: qcom: q6v5: Fix potential null-ptr-deref in q6v5_wcss_init_mmio()
q6v5_wcss_init_mmio() will call platform_get_resource_byname() that may fail and return NULL. devm_ioremap() will use res->start as input, which may causes null-ptr-deref. Check the ret value of platform_get_resource_byname() to avoid the null-ptr-deref.
From the CVE record · Linux
In the Linux kernel's Qualcomm remoteproc code, platform_get_resource_byname() can return NULL, which q6v5_wcss_init_mmio() may then dereference during initialization. The input does not specify whether an attacker can trigger this condition, or any network, authentication, or user-interaction requirements.
Engineers running Linux kernels with the affected Qualcomm remoteproc code should check their versions against the vendor advisory; affected versions are not specified.