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

CVE-2025-23160
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 12 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
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.

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected ac79a923365ae1e524398087cf16313cdbd7a144 < beaefe8dbb261f36376bb533a89ed69ab38e6747 ; affected 19ef02106c990bf4235365a08b9d8d2fee37272a < 2540a81d5532829150b2e7cca977313b524066a9 ; affected eeb62bb4ca22db17f7dfe8fb8472e0442df3d92f < 69dd5bbdd79c65445bb17c3c53510783bc1d756c ; affected f066882293b5ad359e44c4ed24ab1811ffb0b354 < fd7bb97ede487b9f075707b7408a9073e0d474b1 ; affected 53dbe08504442dc7ba4865c09b3bbf5fe849681b < 9f009fa823c54ca0857c81f7525ea5a5d32de29c ; affected 53dbe08504442dc7ba4865c09b3bbf5fe849681b < d6cb086aa52bd51378a4c9e2b25d2def97770205
Linux · Linuxaffected 6.10 ; unaffected 0 < 6.10 ; unaffected 6.1.153 ≤ 6.1.* ; unaffected 6.6.88 ≤ 6.6.* ; unaffected 6.12.24 ≤ 6.12.* ; unaffected 6.13.12 ≤ 6.13.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD