CVE-2022-50524
5.5medium
iommu/mediatek: Check return value after calling platform_get_resource()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.16% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 42d57fc58aebc5801804424082028f43bad1b73c before bfebf05883cdcf9ac983033987fae869bd59ca53, from 42d57fc58aebc5801804424082028f43bad1b73c before feca904412483b2e0a903dd1f2e2843afd445f8c, from 42d57fc58aebc5801804424082028f43bad1b73c before 73b6924cdebc899de9b719e1319aa86c6bed4acf, 5.19 Not affected: before 5.19, from 6.0.16 up to 6.0.*, from 6.1.2 up to 6.1.*, from 6.2 up to * | CVE List |
| linux linux_kernel | from 5.19 before 6.0.16, from 6.1 before 6.1.2 | NVD |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-50524 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2022-50524 changed 2026-06-17 | Public domain |