{"id":"CVE-2023-54147","published":"2025-12-24T13:06:59Z","modified":"2026-05-11T19:56:23Z","title":"media: platform: mtk-mdp3: Add missing check and free for ida_alloc","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00199,"percentile":0.0966,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/51fc1880e47421ee7b192372e8e86b7bbba40776","tags":[]},{"url":"https://git.kernel.org/stable/c/4c173a65a2b1cc0556c3f6f0bab82e4fdb449522","tags":[]},{"url":"https://git.kernel.org/stable/c/22b72cad501fb75500cc60af4d92de3066fb6fc2","tags":[]},{"url":"https://git.kernel.org/stable/c/d00f592250782538cda87745607695b0fe27dcd4","tags":[]}],"priority":{"score":1.9,"factors":[{"name":"EPSS percentile","points":1.93}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 61890ccaefaff89f5babd2c8412fd222c3f5fe38, < 51fc1880e47421ee7b192372e8e86b7bbba40776",">= 61890ccaefaff89f5babd2c8412fd222c3f5fe38, < 4c173a65a2b1cc0556c3f6f0bab82e4fdb449522",">= 61890ccaefaff89f5babd2c8412fd222c3f5fe38, < 22b72cad501fb75500cc60af4d92de3066fb6fc2",">= 61890ccaefaff89f5babd2c8412fd222c3f5fe38, < d00f592250782538cda87745607695b0fe27dcd4"]},{"vendor":"Linux","product":"Linux","versions":["6.1"]}],"euvd":{"id":"EUVD-2023-60298","exploited":false,"provenance":"source"}}