CVE-2023-54147 Details
Description
In the Linux kernel, the following vulnerability has been resolved: media: platform: mtk-mdp3: Add missing check and free for ida_alloc Add the check for the return value of the ida_alloc in order to avoid NULL pointer dereference. Moreover, free allocated "ctx->id" if mdp_m2m_open fails later in order to avoid memory leak.
A vulnerability in the MediaTek MDP3 driver of the Linux kernel can lead to a NULL pointer dereference and a memory leak. This issue arises because the driver did not properly check the return value of the 'ida_alloc' function, potentially allowing a NULL pointer dereference. Additionally, if the 'mdp_m2m_open' function fails, the allocated 'ctx->id' is not freed, causing a memory leak.
Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability. The patch is included in the commit 'd00f592250782538cda87745607695b0fe27dcd4', which is part of the Linux kernel stable release.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 24, 2025References 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/22b72cad501fb75500cc60af4d92de3066fb6fc2 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/4c173a65a2b1cc0556c3f6f0bab82e4fdb449522 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/51fc1880e47421ee7b192372e8e86b7bbba40776 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/d00f592250782538cda87745607695b0fe27dcd4 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| MediaTek MDP3 | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 24, 2025 | New CVE Received | kernel.org |
Volerion