CVE-2022-50524 Details
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().
A vulnerability in the Linux kernel's IOMMU/MediaTek implementation could lead to a null pointer dereference. The issue arises because the platform_get_resource() function may return a NULL pointer, which, if not properly checked, can cause a dereference error when resource_size() is called. This vulnerability has been addressed by adding a check for the return value of platform_get_resource() before using it.
Users can upgrade to the patched version of the Linux kernel where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/73b6924cdebc899de9b719e1319aa86c6bed4acf | kernel.org | Patch |
| https://git.kernel.org/stable/c/bfebf05883cdcf9ac983033987fae869bd59ca53 | kernel.org | Patch |
| https://git.kernel.org/stable/c/feca904412483b2e0a903dd1f2e2843afd445f8c | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.19, < 6.0.16 >= 6.1, < 6.1.2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Mar 17, 2026 | Modified Analysis | [email protected] |
| Feb 4, 2026 | Initial Analysis | [email protected] |
| Oct 7, 2025 | New CVE Received | kernel.org |