CVE-2022-50888

remoteproc: qcom: q6v5: Fix potential null-ptr-deref in q6v5_wcss_init_mmio()

State
Published
Severity
Not scored
Published
Dec 30, 2025
Updated
May 11, 2026
Reserved
Dec 30, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 0af65b9b915e52019aee91db3e1f8b39a7ec8d08 to before 098ebb9089c4eedea09333f912d105fa63377496Affected
  • 0af65b9b915e52019aee91db3e1f8b39a7ec8d08 to before 3afa88ae9911b65702a3aca9d92ea23fe496e56fAffected
  • 0af65b9b915e52019aee91db3e1f8b39a7ec8d08 to before 0903a87490a9ed456ac765a84dcc484c1ee42c32Affected
  • 0af65b9b915e52019aee91db3e1f8b39a7ec8d08 to before f360e2b275efbb745ba0af8b47d9ef44221be586Affected
LinuxLinux
  • 5.13Affected
  • before 5.13Not affected
  • 5.15.86 through 5.15.*Not affected
  • 6.0.16 through 6.0.*Not affected
  • 6.1.2 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.