# CVE-2025-23160: media: mediatek: vcodec: Fix a resource leak related to the scp device in FW initialization

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-05-01T12:55:45.405Z
- Modified: 2026-08-23T13:16:25.807Z
- Weaknesses: CWE-401
- 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.

(As written by CVE List.)

## Affected

- 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; 3a693c7e243b932faee5c1fb728efa73f0abc39b; from 6.1.130 before 6.1.153; from 6.6.36 before 6.6.88; from 6.9.7 before 6.10; and 1 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.*; from 6.15 up to *)
- 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
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/beaefe8dbb261f36376bb533a89ed69ab38e6747>
- <https://git.kernel.org/stable/c/2540a81d5532829150b2e7cca977313b524066a9>
- <https://git.kernel.org/stable/c/69dd5bbdd79c65445bb17c3c53510783bc1d756c> (patch)
- <https://git.kernel.org/stable/c/fd7bb97ede487b9f075707b7408a9073e0d474b1> (patch)
- <https://git.kernel.org/stable/c/9f009fa823c54ca0857c81f7525ea5a5d32de29c> (patch)
- <https://git.kernel.org/stable/c/d6cb086aa52bd51378a4c9e2b25d2def97770205> (patch)
- <https://git.kernel.org/stable/c/ac94e1db4b2053059779472eb58a64d504964240> (patch)
- <https://git.kernel.org/stable/c/4936cd5817af35d23e4d283f48fa59a18ef481e4> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-032379.html>

## Sources

- CVE List: [CVE-2025-23160](https://www.cve.org/CVERecord?id=CVE-2025-23160), CVE Terms of Use, modified 2026-08-23
- NVD: [CVE-2025-23160](https://nvd.nist.gov/vuln/detail/CVE-2025-23160), Public domain, modified 2026-08-23

---

Page: https://cve.day/CVE-2025-23160 · Whole record: https://cve.day/CVE-2025-23160.json · Rebuilt by cve.day 2026-11-25T22:58:57.274Z
