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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2025-05-01T12:55:45.405Z
- **Modified:** 2026-08-23T13:16:25.807Z

## Who should check

- Anyone running Linux \>= ac79a923365ae1e524398087cf16313cdbd7a144, \< beaefe8dbb261f36376bb533a89ed69ab38e6747; \>= 19ef02106c990bf4235365a08b9d8d2fee37272a, \< 2540a81d5532829150b2e7cca977313b524066a9; \>= eeb62bb4ca22db17f7dfe8fb8472e0442df3d92f, \< 69dd5bbdd79c65445bb17c3c53510783bc1d756c; \>= f066882293b5ad359e44c4ed24ab1811ffb0b354, \< fd7bb97ede487b9f075707b7408a9073e0d474b1; \>= 53dbe08504442dc7ba4865c09b3bbf5fe849681b, \< 9f009fa823c54ca0857c81f7525ea5a5d32de29c; \>= 53dbe08504442dc7ba4865c09b3bbf5fe849681b, \< d6cb086aa52bd51378a4c9e2b25d2def97770205; \>= 53dbe08504442dc7ba4865c09b3bbf5fe849681b, \< ac94e1db4b2053059779472eb58a64d504964240; \>= 53dbe08504442dc7ba4865c09b3bbf5fe849681b, \< 4936cd5817af35d23e4d283f48fa59a18ef481e4; 3a693c7e243b932faee5c1fb728efa73f0abc39b; \>= 6.1.130, \< 6.1.153; …
- Anyone running 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.

## Affected and fixed versions

- Linux: \>= ac79a923365ae1e524398087cf16313cdbd7a144, \< beaefe8dbb261f36376bb533a89ed69ab38e6747; \>= 19ef02106c990bf4235365a08b9d8d2fee37272a, \< 2540a81d5532829150b2e7cca977313b524066a9; \>= eeb62bb4ca22db17f7dfe8fb8472e0442df3d92f, \< 69dd5bbdd79c65445bb17c3c53510783bc1d756c; \>= f066882293b5ad359e44c4ed24ab1811ffb0b354, \< fd7bb97ede487b9f075707b7408a9073e0d474b1; \>= 53dbe08504442dc7ba4865c09b3bbf5fe849681b, \< 9f009fa823c54ca0857c81f7525ea5a5d32de29c; \>= 53dbe08504442dc7ba4865c09b3bbf5fe849681b, \< d6cb086aa52bd51378a4c9e2b25d2def97770205; \>= 53dbe08504442dc7ba4865c09b3bbf5fe849681b, \< ac94e1db4b2053059779472eb58a64d504964240; \>= 53dbe08504442dc7ba4865c09b3bbf5fe849681b, \< 4936cd5817af35d23e4d283f48fa59a18ef481e4; 3a693c7e243b932faee5c1fb728efa73f0abc39b; \>= 6.1.130, \< 6.1.153; … (cvelist)
- Linux: 6.10 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-23160. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-23160.md
Affected: Linux >= ac79a923365ae1e524398087cf16313cdbd7a144, < beaefe8dbb261f36376bb533a89ed69ab38e6747; >= 19ef02106c990bf4235365a08b9d8d2fee37272a, < 2540a81d5532829150b2e7cca977313b524066a9; >= eeb62bb4ca22db17f7dfe8fb8472e0442df3d92f, < 69dd5bbdd79c65445bb17c3c53510783bc1d756c; >= f066882293b5ad359e44c4e…
Fixed in: Linux 2540a81d5532829150b2e7cca977313b524066a9, Linux 69dd5bbdd79c65445bb17c3c53510783bc1d756c, Linux 9f009fa823c54ca0857c81f7525ea5a5d32de29c, Linux 4936cd5817af35d23e4d283f48fa59a18ef481e4, Linux 6.1.153

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-23160 being exploited?

There is no confirmed exploitation: CVE-2025-23160 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-23160?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-23160?

Linux \>= ac79a923365ae1e524398087cf16313cdbd7a144, \< beaefe8dbb261f36376bb533a89ed69ab38e6747; \>= 19ef02106c990bf4235365a08b9d8d2fee37272a, \< 2540a81d5532829150b2e7cca977313b524066a9; \>= eeb62bb4ca22db17f7dfe8fb8472e0442df3d92f, \< 69dd5bbdd79c65445bb17c3c53510783bc1d756c; \>= f066882293b5ad359e44c4ed24ab1811ffb0b354, \< fd7bb97ede487b9f075707b7408a9073e0d474b1; \>= 53dbe08504442dc7ba4865c09b3bbf5fe849681b, \< 9f009fa823c54ca0857c81f7525ea5a5d32de29c; \>= 53dbe08504442dc7ba4865c09b3bbf5fe849681b, \< d6cb086aa52bd51378a4c9e2b25d2def97770205; \>= 53dbe08504442dc7ba4865c09b3bbf5fe849681b, \< ac94e1db4b2053059779472eb58a64d504964240; \>= 53dbe08504442dc7ba4865c09b3bbf5fe849681b, \< 4936cd5817af35d23e4d283f48fa59a18ef481e4; 3a693c7e243b932faee5c1fb728efa73f0abc39b; \>= 6.1.130, \< 6.1.153; …; Linux 6.10.

### Is there a fix for CVE-2025-23160?

Yes. Fixed in Linux 2540a81d5532829150b2e7cca977313b524066a9, Linux 69dd5bbdd79c65445bb17c3c53510783bc1d756c, Linux 9f009fa823c54ca0857c81f7525ea5a5d32de29c, Linux 4936cd5817af35d23e4d283f48fa59a18ef481e4, Linux 6.1.153. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-23160?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://git.kernel.org/stable/c/beaefe8dbb261f36376bb533a89ed69ab38e6747>
- other: <https://git.kernel.org/stable/c/2540a81d5532829150b2e7cca977313b524066a9>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-032379.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-23160>

HTML: <https://flawdb.com/CVE-2025-23160> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-23160>
