CVE-2025-23160

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

No CVSS score yet EPSS 0.22%

Published 1 May 2025 Updated 23 Aug 2026 CNA: Linux

Check your servers for CVE-2025-23160

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-23160 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.3% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from ac79a923365ae1e524398087cf16313cdbd7a144, before beaefe8dbb261f36376bb533a89ed69ab38e6747
affected from 19ef02106c990bf4235365a08b9d8d2fee37272a, before 2540a81d5532829150b2e7cca977313b524066a9
affected from eeb62bb4ca22db17f7dfe8fb8472e0442df3d92f, before 69dd5bbdd79c65445bb17c3c53510783bc1d756c
affected from f066882293b5ad359e44c4ed24ab1811ffb0b354, before fd7bb97ede487b9f075707b7408a9073e0d474b1
affected from 53dbe08504442dc7ba4865c09b3bbf5fe849681b, before 9f009fa823c54ca0857c81f7525ea5a5d32de29c
affected from 53dbe08504442dc7ba4865c09b3bbf5fe849681b, before d6cb086aa52bd51378a4c9e2b25d2def97770205
affected from 53dbe08504442dc7ba4865c09b3bbf5fe849681b, before ac94e1db4b2053059779472eb58a64d504964240
affected from 53dbe08504442dc7ba4865c09b3bbf5fe849681b, before 4936cd5817af35d23e4d283f48fa59a18ef481e4
affected 3a693c7e243b932faee5c1fb728efa73f0abc39b
affected from 6.1.130, before 6.1.153
affected from 6.6.36, before 6.6.88
affected from 6.9.7, before 6.10
Other versions: unaffected
Linux
affected 6.10
unaffected before 6.10
unaffected from 6.1.153 up to and including 6.1.*
unaffected from 6.6.88 up to and including 6.6.*
unaffected from 6.12.24 up to and including 6.12.*
unaffected from 6.13.12 up to and including 6.13.*
unaffected from 6.14.3 up to and including 6.14.*
unaffected 6.15 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-23160 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-23160

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-23160
trivy image --scanners vuln IMAGE | grep CVE-2025-23160

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-23160 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.