{"id":"CVE-2025-23160","summary":"media: mediatek: vcodec: Fix a resource leak related to the scp device in FW initialization","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: mediatek: vcodec: Fix a resource leak related to the scp device in FW initialization\n\nOn Mediatek devices with a system companion processor (SCP) the mtk_scp\nstructure has to be removed explicitly to avoid a resource leak.\nFree the structure in case the allocation of the firmware structure fails\nduring the firmware initialization.","modified":"2026-04-24T06:42:50.481441191Z","published":"2025-05-01T12:55:45.405Z","related":["SUSE-SU-2025:01919-1","SUSE-SU-2025:01951-1","SUSE-SU-2025:01964-1","SUSE-SU-2025:01965-1","SUSE-SU-2025:01967-1","SUSE-SU-2025:01972-1","SUSE-SU-2025:02000-1","SUSE-SU-2025:20408-1","SUSE-SU-2025:20413-1","SUSE-SU-2025:20419-1","SUSE-SU-2025:20421-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/23xxx/CVE-2025-23160.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4936cd5817af35d23e4d283f48fa59a18ef481e4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/69dd5bbdd79c65445bb17c3c53510783bc1d756c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9f009fa823c54ca0857c81f7525ea5a5d32de29c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ac94e1db4b2053059779472eb58a64d504964240"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d6cb086aa52bd51378a4c9e2b25d2def97770205"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fd7bb97ede487b9f075707b7408a9073e0d474b1"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/23xxx/CVE-2025-23160.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-23160"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"eeb62bb4ca22db17f7dfe8fb8472e0442df3d92f"},{"fixed":"69dd5bbdd79c65445bb17c3c53510783bc1d756c"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f066882293b5ad359e44c4ed24ab1811ffb0b354"},{"fixed":"fd7bb97ede487b9f075707b7408a9073e0d474b1"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"53dbe08504442dc7ba4865c09b3bbf5fe849681b"},{"fixed":"9f009fa823c54ca0857c81f7525ea5a5d32de29c"},{"fixed":"d6cb086aa52bd51378a4c9e2b25d2def97770205"},{"fixed":"ac94e1db4b2053059779472eb58a64d504964240"},{"fixed":"4936cd5817af35d23e4d283f48fa59a18ef481e4"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"3a693c7e243b932faee5c1fb728efa73f0abc39b"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-23160.json"}}],"schema_version":"1.7.5"}