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.
https://git.kernel.org/stable/c/fd7bb97ede487b9f075707b7408a9073e0d474b1
https://git.kernel.org/stable/c/d6cb086aa52bd51378a4c9e2b25d2def97770205
https://git.kernel.org/stable/c/ac94e1db4b2053059779472eb58a64d504964240
https://git.kernel.org/stable/c/9f009fa823c54ca0857c81f7525ea5a5d32de29c
https://git.kernel.org/stable/c/4936cd5817af35d23e4d283f48fa59a18ef481e4