# CVE-2022-50888: remoteproc: qcom: q6v5: Fix potential null-ptr-deref in q6v5_wcss_init_mmio()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-12-30T12:37:06.269Z
- Modified: 2026-06-17T05:24:21.493Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 0af65b9b915e52019aee91db3e1f8b39a7ec8d08 before 098ebb9089c4eedea09333f912d105fa63377496; from 0af65b9b915e52019aee91db3e1f8b39a7ec8d08 before 3afa88ae9911b65702a3aca9d92ea23fe496e56f; from 0af65b9b915e52019aee91db3e1f8b39a7ec8d08 before 0903a87490a9ed456ac765a84dcc484c1ee42c32; from 0af65b9b915e52019aee91db3e1f8b39a7ec8d08 before f360e2b275efbb745ba0af8b47d9ef44221be586; 5.13 (not affected: before 5.13; from 5.15.86 up to 5.15.*; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)

## References

- <https://git.kernel.org/stable/c/098ebb9089c4eedea09333f912d105fa63377496>
- <https://git.kernel.org/stable/c/3afa88ae9911b65702a3aca9d92ea23fe496e56f>
- <https://git.kernel.org/stable/c/0903a87490a9ed456ac765a84dcc484c1ee42c32>
- <https://git.kernel.org/stable/c/f360e2b275efbb745ba0af8b47d9ef44221be586>

## Sources

- CVE List: [CVE-2022-50888](https://www.cve.org/CVERecord?id=CVE-2022-50888), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50888](https://nvd.nist.gov/vuln/detail/CVE-2022-50888), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50888 · Whole record: https://cve.day/CVE-2022-50888.json · Rebuilt by cve.day 2026-11-25T22:58:21.393Z
