What’s Vulnerable › Vulnerabilities
CVE-2022-50524: iommu/mediatek: Check return value after calling platform_get_resource()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-10-07 · updated 2026-06-17
- Weakness: CWE-476
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().
Affected products
- Linux kernel: from 5.19 before 6.0.16; from 6.1 before 6.1.2 — fixed in 6.0.16, 6.1.2
How to fix
Upgrade to a fixed version: Linux kernel 6.0.16, 6.1.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/73b6924cdebc899de9b719e1319aa86c6bed4acf
- https://git.kernel.org/stable/c/bfebf05883cdcf9ac983033987fae869bd59ca53
- https://git.kernel.org/stable/c/feca904412483b2e0a903dd1f2e2843afd445f8c
Get alerted when CVE-2022-50524 or the next vulnerability affects your stack