{"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-11-13T04:03:32.480449405Z","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://cert-portal.siemens.com/productcert/html/ssa-032379.html"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2540a81d5532829150b2e7cca977313b524066a9"},{"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/beaefe8dbb261f36376bb533a89ed69ab38e6747"},{"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":"ac79a923365ae1e524398087cf16313cdbd7a144"},{"fixed":"beaefe8dbb261f36376bb533a89ed69ab38e6747"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"19ef02106c990bf4235365a08b9d8d2fee37272a"},{"fixed":"2540a81d5532829150b2e7cca977313b524066a9"}]},{"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":"3a693c7e243b932faee5c1fb728efa73f0abc39b"}]}],"versions":["v6.1.152","v6.1.151","v6.1.150","v6.1.149","v6.1.148","v6.1.147","v6.1.146","v6.1.145","v6.1.144","v6.1.143","v6.1.142","v6.1.141","v6.1.140","v6.1.139","v6.1.138","v6.1.137","v6.1.136","v6.1.135","v6.1.134","v6.1.133","v6.1.132","v6.1.131","v6.1.130","v6.6.87","v6.6.86","v6.6.85","v6.6.84","v6.6.83","v6.6.82","v6.6.81","v6.6.80","v6.6.79","v6.6.78","v6.6.77","v6.6.76","v6.6.75","v6.6.74","v6.6.73","v6.6.72","v6.6.71","v6.6.70","v6.6.69","v6.6.68","v6.6.67","v6.6.66","v6.6.65","v6.6.64","v6.6.63","v6.6.62","v6.6.61","v6.6.60","v6.6.59","v6.6.58","v6.6.57","v6.6.56","v6.6.55","v6.6.54","v6.6.53","v6.6.52","v6.6.51","v6.6.50","v6.6.49","v6.6.48","v6.6.47","v6.6.46","v6.6.45","v6.6.44","v6.6.43","v6.6.42","v6.6.41","v6.6.40","v6.6.39","v6.6.38","v6.6.37","v6.6.36","v6.9.12","v6.9.11","v6.9.10","v6.9.9","v6.9.8","v6.9.7"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-23160.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.1.130"},{"fixed":"6.1.153"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.6.36"},{"fixed":"6.6.88"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.9.7"},{"fixed":"6.10"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.10.0"},{"fixed":"6.12.24"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.13.12"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.14.0"},{"fixed":"6.14.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-23160.json"}}],"schema_version":"1.9.2"}