media: mediatek: vcodec: Fix a resource leak related to the scp device in FW initialization
cve-program · CVE-2025-23160
PublishedIn 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2025-23160 · CVE overview and exploitation status
cve-program · CVE-2025-23160
- https://git.kernel.org/stable/c/beaefe8dbb261f36376bb533a89ed69ab38e6747
- https://git.kernel.org/stable/c/2540a81d5532829150b2e7cca977313b524066a9
- https://git.kernel.org/stable/c/69dd5bbdd79c65445bb17c3c53510783bc1d756c
- https://git.kernel.org/stable/c/fd7bb97ede487b9f075707b7408a9073e0d474b1
- https://git.kernel.org/stable/c/9f009fa823c54ca0857c81f7525ea5a5d32de29c
- https://git.kernel.org/stable/c/d6cb086aa52bd51378a4c9e2b25d2def97770205
- https://git.kernel.org/stable/c/ac94e1db4b2053059779472eb58a64d504964240
- https://git.kernel.org/stable/c/4936cd5817af35d23e4d283f48fa59a18ef481e4
Related changes
Linked by CVE identifierNo related changes are available here.