CVE-2022-50524

Source
https://cve.org/CVERecord?id=CVE-2022-50524
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50524.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50524
Downstream
Related
Published
2025-10-07T15:19:17.251Z
Modified
2026-03-12T03:26:36.043157Z
Summary
iommu/mediatek: Check return value after calling platform_get_resource()
Details

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

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

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

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50524.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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/osv-test-cve-osv-conversion/osv-output/CVE-2022-50524.json"