UnratedFix available
media: platform: mtk-mdp3: Add missing check and free for ida_alloc
Type: advisorySources: OSV
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.28, 6.2.15, 6.3.2
- CVEs
- CVE-2023-54147
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 10:36 UTC · Revision 1
Source evidence
media: platform: mtk-mdp3: Add missing check and free for ida_alloc
core-osv · Original sourcePublished 24 Dec 2025, 13:06 UTC
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.
osv:CVE-2023-54147
Kernel
Fixed versions: 6.1.28, 6.2.15, 6.3.2
Complete source record
{
"id": "cf5e96b6fd41d084c843daf9953eeb8a7304aa3f5f6a28425951bfa53bb3d9c7",
"url": "https://osv.dev/vulnerability/CVE-2023-54147",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "media: platform: mtk-mdp3: Add missing check and free for ida_alloc",
"summary": "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.",
"evidence": "osv:CVE-2023-54147",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.28",
"evidence": "/affected/1/ranges"
},
{
"value": "6.2.15",
"evidence": "/affected/1/ranges"
},
{
"value": "6.3.2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2023-54147",
"aliases": [
"CVE-2023-54147"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "61890ccaefaff89f5babd2c8412fd222c3f5fe38"
},
{
"fixed": "51fc1880e47421ee7b192372e8e86b7bbba40776"
},
{
"fixed": "4c173a65a2b1cc0556c3f6f0bab82e4fdb449522"
},
{
"fixed": "22b72cad501fb75500cc60af4d92de3066fb6fc2"
},
{
"fixed": "d00f592250782538cda87745607695b0fe27dcd4"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54147.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.1.0"
},
{
"fixed": "6.1.28"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.2.15"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.3.0"
},
{
"fixed": "6.3.2"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54147.json"
}
}
],
"modified": "2026-10-28T02:30:50.416611713Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/22b72cad501fb75500cc60af4d92de3066fb6fc2",
"https://git.kernel.org/stable/c/4c173a65a2b1cc0556c3f6f0bab82e4fdb449522",
"https://git.kernel.org/stable/c/51fc1880e47421ee7b192372e8e86b7bbba40776",
"https://git.kernel.org/stable/c/d00f592250782538cda87745607695b0fe27dcd4",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54147.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-54147",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54147.json"
}
},
"related_cves": [
{
"value": "CVE-2023-54147",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 519020,
"published_at": "2025-12-24T13:06:59.566+00:00"
}