{"id":"CVE-2025-23160","aliases":["CVE-2025-23160"],"related":[],"kind":"vulnerability","state":"published","title":"media: mediatek: vcodec: Fix a resource leak related to the scp device in FW initialization","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: media: mediatek: vcodec: Se corrige una fuga de recursos relacionada con el dispositivo scp durante la inicialización del firmware. En dispositivos Mediatek con un procesador complementario del sistema (SCP), la estructura mtk_scp debe eliminarse explícitamente para evitar una fuga de recursos. Libere la estructura en caso de que la asignación de la estructura del firmware falle durante la inicialización.","source":"nvd"}],"published":"2025-05-01T12:55:45.405Z","modified":"2026-08-23T13:16:25.807Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"ac79a923365ae1e524398087cf16313cdbd7a144","fixed":"beaefe8dbb261f36376bb533a89ed69ab38e6747","status":"affected"},{"type":"git","introduced":"19ef02106c990bf4235365a08b9d8d2fee37272a","fixed":"2540a81d5532829150b2e7cca977313b524066a9","status":"affected"},{"type":"git","introduced":"eeb62bb4ca22db17f7dfe8fb8472e0442df3d92f","fixed":"69dd5bbdd79c65445bb17c3c53510783bc1d756c","status":"affected"},{"type":"git","introduced":"f066882293b5ad359e44c4ed24ab1811ffb0b354","fixed":"fd7bb97ede487b9f075707b7408a9073e0d474b1","status":"affected"},{"type":"git","introduced":"53dbe08504442dc7ba4865c09b3bbf5fe849681b","fixed":"9f009fa823c54ca0857c81f7525ea5a5d32de29c","status":"affected"},{"type":"git","introduced":"53dbe08504442dc7ba4865c09b3bbf5fe849681b","fixed":"d6cb086aa52bd51378a4c9e2b25d2def97770205","status":"affected"},{"type":"git","introduced":"53dbe08504442dc7ba4865c09b3bbf5fe849681b","fixed":"ac94e1db4b2053059779472eb58a64d504964240","status":"affected"},{"type":"git","introduced":"53dbe08504442dc7ba4865c09b3bbf5fe849681b","fixed":"4936cd5817af35d23e4d283f48fa59a18ef481e4","status":"affected"},{"type":"git","version":"3a693c7e243b932faee5c1fb728efa73f0abc39b","status":"affected"},{"type":"semver","introduced":"6.1.130","fixed":"6.1.153","status":"affected"},{"type":"semver","introduced":"6.6.36","fixed":"6.6.88","status":"affected"},{"type":"semver","introduced":"6.9.7","fixed":"6.10","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.10","status":"unaffected"},{"type":"semver","introduced":"6.1.153","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.88","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.24","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.12","lastAffected":"6.13.*","status":"unaffected"},{"type":"semver","introduced":"6.14.3","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.1.130","fixed":"6.1.153"},{"status":"affected","introduced":"6.6.36","fixed":"6.6.88"},{"status":"affected","introduced":"6.9.7","fixed":"6.12.24"},{"status":"affected","introduced":"6.13","fixed":"6.13.12"},{"status":"affected","introduced":"6.14","fixed":"6.14.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/beaefe8dbb261f36376bb533a89ed69ab38e6747","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2540a81d5532829150b2e7cca977313b524066a9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/69dd5bbdd79c65445bb17c3c53510783bc1d756c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fd7bb97ede487b9f075707b7408a9073e0d474b1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9f009fa823c54ca0857c81f7525ea5a5d32de29c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d6cb086aa52bd51378a4c9e2b25d2def97770205","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ac94e1db4b2053059779472eb58a64d504964240","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4936cd5817af35d23e4d283f48fa59a18ef481e4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-23160","url":"https://www.cve.org/CVERecord?id=CVE-2025-23160","licence":"CVE Terms of Use","modified":"2026-08-23T12:45:20.267Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-23160","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-23160","licence":"Public domain","modified":"2026-08-23T13:16:25.807Z"}],"updatedAt":"2026-11-25T22:58:57.274Z","epss":{"score":0.0022,"percentile":0.13371,"date":"2026-12-01T12:00:22.000Z"}}