{"id":"CVE-2023-54147","aliases":["CVE-2023-54147"],"related":[],"kind":"vulnerability","state":"published","title":"media: platform: mtk-mdp3: Add missing check and free for ida_alloc","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: platform: mtk-mdp3: Add missing check and free for ida_alloc\n\nAdd the check for the return value of the ida_alloc in order to avoid\nNULL pointer dereference.\nMoreover, free allocated \"ctx->id\" if mdp_m2m_open fails later in order\nto avoid memory leak.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: platform: mtk-mdp3: Add missing check and free for ida_alloc\n\nAdd the check for the return value of the ida_alloc in order to avoid\nNULL pointer dereference.\nMoreover, free allocated \"ctx->id\" if mdp_m2m_open fails later in order\nto avoid memory leak.","source":"cvelist"}],"published":"2025-12-24T13:06:59.566Z","modified":"2026-06-17T06:46:53.260Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"61890ccaefaff89f5babd2c8412fd222c3f5fe38","fixed":"51fc1880e47421ee7b192372e8e86b7bbba40776","status":"affected"},{"type":"git","introduced":"61890ccaefaff89f5babd2c8412fd222c3f5fe38","fixed":"4c173a65a2b1cc0556c3f6f0bab82e4fdb449522","status":"affected"},{"type":"git","introduced":"61890ccaefaff89f5babd2c8412fd222c3f5fe38","fixed":"22b72cad501fb75500cc60af4d92de3066fb6fc2","status":"affected"},{"type":"git","introduced":"61890ccaefaff89f5babd2c8412fd222c3f5fe38","fixed":"d00f592250782538cda87745607695b0fe27dcd4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.1","status":"unaffected"},{"type":"semver","introduced":"6.1.28","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.15","lastAffected":"6.2.*","status":"unaffected"},{"type":"semver","introduced":"6.3.2","lastAffected":"6.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.4","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/51fc1880e47421ee7b192372e8e86b7bbba40776","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4c173a65a2b1cc0556c3f6f0bab82e4fdb449522","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/22b72cad501fb75500cc60af4d92de3066fb6fc2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d00f592250782538cda87745607695b0fe27dcd4","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-54147","url":"https://www.cve.org/CVERecord?id=CVE-2023-54147","licence":"CVE Terms of Use","modified":"2026-05-11T19:56:23.810Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-54147","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54147","licence":"Public domain","modified":"2026-06-17T06:46:53.260Z"}],"updatedAt":"2026-11-25T22:58:35.195Z","epss":{"score":0.00214,"percentile":0.12449,"date":"2026-12-01T12:00:22.000Z"}}