CVE-2025-23160

media: mediatek: vcodec: Fix a resource leak related to the scp device in FW initialization

MEDIUM
5.5
CVSS Score
Published: May 1, 2025 at 12:55 PM UTC
Updated: August 23, 2026 at 01:26 PM UTC
3 products affected across 3 vendorsLinux KernelDebian LinuxSIMATIC CN 4100

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 6.9.76.1.130 ≤ v < 6.1.1536.10 ≤ v < 6.12.246.10 ≤ v < 6.13.126.10 ≤ v < 6.14.36.10 ≤ v < 6.156.13 ≤ v < 6.13.126.14 ≤ v < 6.14.36.6.36 ≤ v < 6.6.886.9.7 ≤ v < 6.106.9.7 ≤ v < 6.12.2419ef02106c990bf4235365a08b9d8d2fee37272a3a693c7e243b932faee5c1fb728efa73f0abc39b53dbe08504442dc7ba4865c09b3bbf5fe849681b6.1.1306.106.6.366.9.7ac79a923365ae1e524398087cf16313cdbd7a144eeb62bb4ca22db17f7dfe8fb8472e0442df3d92ff066882293b5ad359e44c4ed24ab1811ffb0b354
Vendor states this is fixed in 2540a81d5532829150b2e7cca977313b524066a9 (fixed)
Vendor states this is fixed in 4936cd5817af35d23e4d283f48fa59a18ef481e4 (fixed)
Vendor states this is fixed in 69dd5bbdd79c65445bb17c3c53510783bc1d756c (fixed)
Vendor states this is fixed in 9f009fa823c54ca0857c81f7525ea5a5d32de29c (fixed)
Vendor states this is fixed in ac94e1db4b2053059779472eb58a64d504964240 (fixed)
Vendor states this is fixed in beaefe8dbb261f36376bb533a89ed69ab38e6747 (fixed)
Vendor states this is fixed in d6cb086aa52bd51378a4c9e2b25d2def97770205 (fixed)
Vendor states this is fixed in fd7bb97ede487b9f075707b7408a9073e0d474b1 (fixed)
Vendor states this is fixed in 6.1.153 (unaffected)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.12.24 (unaffected)
Vendor states this is fixed in 6.13.12 (unaffected)
Vendor states this is fixed in 6.14.3 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.88 (unaffected)
v < V5.0
Affected range stops below V5.0, so it looks safe — our inference, not a vendor statement

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card