VYPR
Unrated severityNVD Advisory· Published Dec 30, 2025· Updated Apr 15, 2026

CVE-2022-50888

CVE-2022-50888

Description

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Null pointer dereference in Linux kernel's q6v5_wcss_init_mmio() due to unchecked platform_get_resource_byname() return value.

Root

Cause In the Linux kernel's q6v5_wcss_init_mmio() function, platform_get_resource_byname() can return NULL if the requested resource is not found. The return value is not checked before being passed to devm_ioremap(), leading to a potential null-pointer dereference when accessing res->start. [1]

Exploitation

An attacker with local access or the ability to trigger the remoteproc probe path could exploit this by causing platform_get_resource_byname() to fail, e.g., by manipulating device tree or system resources. No authentication is needed beyond local access, but the attack surface is limited to systems using the affected Qualcomm remoteproc driver.

Impact

A successful exploit results in a kernel NULL pointer dereference, causing a system crash (denial of service). No privilege escalation or data corruption is expected from this bug.

Mitigation

The vulnerability is fixed in the Linux kernel by adding a return value check for platform_get_resource_byname() and returning an error if it fails. Users should apply the patch available through the stable kernel repository. [1]

AI Insight generated on May 19, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

1

Patches

4

Vulnerability mechanics

Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

4

News mentions

0

No linked articles in our index yet.