5.5medium
media: mediatek: vcodec: Fix a resource leak related to the scp device in FW initialization
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: media: mediatek: vcodec: Fix a resource leak related to the scp device in FW initialization On Mediatek devices with a system companion processor (SCP) the mtk_scp structure has to be removed explicitly to avoid a resource leak. Free the structure in case the allocation of the firmware structure fails during the firmware initialization.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from ac79a923365ae1e524398087cf16313cdbd7a144 before beaefe8dbb261f36376bb533a89ed69ab38e6747, from 19ef02106c990bf4235365a08b9d8d2fee37272a before 2540a81d5532829150b2e7cca977313b524066a9, from eeb62bb4ca22db17f7dfe8fb8472e0442df3d92f before 69dd5bbdd79c65445bb17c3c53510783bc1d756c, from f066882293b5ad359e44c4ed24ab1811ffb0b354 before fd7bb97ede487b9f075707b7408a9073e0d474b1, from 53dbe08504442dc7ba4865c09b3bbf5fe849681b before 9f009fa823c54ca0857c81f7525ea5a5d32de29c, from 53dbe08504442dc7ba4865c09b3bbf5fe849681b before d6cb086aa52bd51378a4c9e2b25d2def97770205, from 53dbe08504442dc7ba4865c09b3bbf5fe849681b before ac94e1db4b2053059779472eb58a64d504964240, from 53dbe08504442dc7ba4865c09b3bbf5fe849681b before 4936cd5817af35d23e4d283f48fa59a18ef481e4 and 5 more Not affected: before 6.10, from 6.1.153 up to 6.1.*, from 6.6.88 up to 6.6.*, from 6.12.24 up to 6.12.*, from 6.13.12 up to 6.13.*, from 6.14.3 up to 6.14.* | CVE List |
| linux linux_kernel | from 6.1.130 before 6.1.153, from 6.6.36 before 6.6.88, from 6.9.7 before 6.12.24, from 6.13 before 6.13.12, from 6.14 before 6.14.3 | NVD |
| debian debian_linux | 11.0 | NVD |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: media: mediatek: vcodec: Fix a resource leak related to the scp device in FW initialization On Mediatek devices with a system companion processor (SCP) the mtk_scp structure has to be removed explicitly to avoid a resource leak. Free the structure in case the allocation of the firmware structure fails during the firmware initialization.
NVD (es)
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-23160 changed 2026-08-23 | CVE Terms of Use |
| NVD | CVE-2025-23160 changed 2026-08-23 | Public domain |