CVE-2025-23160
media: mediatek: vcodec: Fix a resource leak related to the scp device in FW initialization
Mitigation
- No fix listed yet: follow the vendor advisory.
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
Vulnerability facts
- Affected
- 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
- Fixed in
- Linux 2540a81d5532829150b2e7cca977313b524066a9, Linux 69dd5bbdd79c65445bb17c3c53510783bc1d756c, Linux 9f009fa823c54ca0857c81f7525ea5a5d32de29c, Linux 4936cd5817af35d23e4d283f48fa59a18ef481e4, Linux 6.1.153
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- CWE
- CWE-401
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| 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 |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Patches
- 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
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.