CVE-2022-50524

iommu/mediatek: Check return value after calling platform_get_resource()

State
Published
Severity
Not scored
Published
Oct 7, 2025
Updated
May 11, 2026
Reserved
Oct 7, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

iommu/mediatek: Check return value after calling platform_get_resource()

platform_get_resource() may return NULL pointer, we need check its return value to avoid null-ptr-deref in resource_size().

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 42d57fc58aebc5801804424082028f43bad1b73c to before bfebf05883cdcf9ac983033987fae869bd59ca53Affected
  • 42d57fc58aebc5801804424082028f43bad1b73c to before feca904412483b2e0a903dd1f2e2843afd445f8cAffected
  • 42d57fc58aebc5801804424082028f43bad1b73c to before 73b6924cdebc899de9b719e1319aa86c6bed4acfAffected
LinuxLinux
  • 5.19Affected
  • before 5.19Not 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.