Lucene search
K

CVE-2023-54147 media: platform: mtk-mdp3: Add missing check and free for ida_alloc

🗓️ 24 Dec 2025 13:06:59Reported by LinuxType 
cvelist
 cvelist
🔗 www.cve.org👁 24 Views

Fix CVE-2023-54147 in media mtk-mdp3 by checking ida_alloc and freeing ctx->id if mdp_open fails.

Related
Affected
Refs
[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/media/platform/mediatek/mdp3/mtk-mdp3-m2m.c"
    ],
    "versions": [
      {
        "version": "61890ccaefaff89f5babd2c8412fd222c3f5fe38",
        "lessThan": "51fc1880e47421ee7b192372e8e86b7bbba40776",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "61890ccaefaff89f5babd2c8412fd222c3f5fe38",
        "lessThan": "4c173a65a2b1cc0556c3f6f0bab82e4fdb449522",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "61890ccaefaff89f5babd2c8412fd222c3f5fe38",
        "lessThan": "22b72cad501fb75500cc60af4d92de3066fb6fc2",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "61890ccaefaff89f5babd2c8412fd222c3f5fe38",
        "lessThan": "d00f592250782538cda87745607695b0fe27dcd4",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/media/platform/mediatek/mdp3/mtk-mdp3-m2m.c"
    ],
    "versions": [
      {
        "version": "6.1",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.1",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.1.28",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.2.15",
        "lessThanOrEqual": "6.2.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.3.2",
        "lessThanOrEqual": "6.3.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.4",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation