{"id":"CVE-2022-50524","summary":"iommu/mediatek: Check return value after calling platform_get_resource()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/mediatek: Check return value after calling platform_get_resource()\n\nplatform_get_resource() may return NULL pointer, we need check its\nreturn value to avoid null-ptr-deref in resource_size().","modified":"2026-04-02T08:28:35.337712Z","published":"2025-10-07T15:19:17.251Z","related":["SUSE-SU-2025:4149-1","SUSE-SU-2025:4320-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50524.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/73b6924cdebc899de9b719e1319aa86c6bed4acf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bfebf05883cdcf9ac983033987fae869bd59ca53"},{"type":"WEB","url":"https://git.kernel.org/stable/c/feca904412483b2e0a903dd1f2e2843afd445f8c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50524.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50524"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"42d57fc58aebc5801804424082028f43bad1b73c"},{"fixed":"bfebf05883cdcf9ac983033987fae869bd59ca53"},{"fixed":"feca904412483b2e0a903dd1f2e2843afd445f8c"},{"fixed":"73b6924cdebc899de9b719e1319aa86c6bed4acf"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50524.json"}}],"schema_version":"1.7.5"}