Skip to content
Heist/ feed
Back to feed
UnratedFix available

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

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.153, 6.12.24, 6.13.12, 6.14.3, 6.6.88
CVEs
CVE-2025-23160
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 11:50 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 1 May 2025, 12:55 UTC

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.

osv:CVE-2025-23160

Kernel

Fixed versions: 6.1.153, 6.6.88, 6.12.24, 6.13.12, 6.14.3

Complete source record
{
  "id": "7b15468fe601b3889d9867350d4af3dd3f99c70a9dda55d17f7aeafd426b8306",
  "url": "https://osv.dev/vulnerability/CVE-2025-23160",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "media: mediatek: vcodec: Fix a resource leak related to the scp device in FW initialization",
    "summary": "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.",
    "evidence": "osv:CVE-2025-23160",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.153",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.88",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.24",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.13.12",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.14.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2025-23160",
      "aliases": [
        "CVE-2025-23160"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "ac79a923365ae1e524398087cf16313cdbd7a144"
                },
                {
                  "fixed": "beaefe8dbb261f36376bb533a89ed69ab38e6747"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "19ef02106c990bf4235365a08b9d8d2fee37272a"
                },
                {
                  "fixed": "2540a81d5532829150b2e7cca977313b524066a9"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "eeb62bb4ca22db17f7dfe8fb8472e0442df3d92f"
                },
                {
                  "fixed": "69dd5bbdd79c65445bb17c3c53510783bc1d756c"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "f066882293b5ad359e44c4ed24ab1811ffb0b354"
                },
                {
                  "fixed": "fd7bb97ede487b9f075707b7408a9073e0d474b1"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "53dbe08504442dc7ba4865c09b3bbf5fe849681b"
                },
                {
                  "fixed": "9f009fa823c54ca0857c81f7525ea5a5d32de29c"
                },
                {
                  "fixed": "d6cb086aa52bd51378a4c9e2b25d2def97770205"
                },
                {
                  "fixed": "ac94e1db4b2053059779472eb58a64d504964240"
                },
                {
                  "fixed": "4936cd5817af35d23e4d283f48fa59a18ef481e4"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6.1.130"
                },
                {
                  "fixed": "6.1.153"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6.6.36"
                },
                {
                  "fixed": "6.6.88"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6.9.7"
                },
                {
                  "fixed": "6.10"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3a693c7e243b932faee5c1fb728efa73f0abc39b"
                }
              ]
            }
          ],
          "versions": [
            "v6.1.152",
            "v6.1.151",
            "v6.1.150",
            "v6.1.149",
            "v6.1.148",
            "v6.1.147",
            "v6.1.146",
            "v6.1.145",
            "v6.1.144",
            "v6.1.143",
            "v6.1.142",
            "v6.1.141",
            "v6.1.140",
            "v6.1.139",
            "v6.1.138",
            "v6.1.137",
            "v6.1.136",
            "v6.1.135",
            "v6.1.134",
            "v6.1.133",
            "v6.1.132",
            "v6.1.131",
            "v6.1.130",
            "v6.6.87",
            "v6.6.86",
            "v6.6.85",
            "v6.6.84",
            "v6.6.83",
            "v6.6.82",
            "v6.6.81",
            "v6.6.80",
            "v6.6.79",
            "v6.6.78",
            "v6.6.77",
            "v6.6.76",
            "v6.6.75",
            "v6.6.74",
            "v6.6.73",
            "v6.6.72",
            "v6.6.71",
            "v6.6.70",
            "v6.6.69",
            "v6.6.68",
            "v6.6.67",
            "v6.6.66",
            "v6.6.65",
            "v6.6.64",
            "v6.6.63",
            "v6.6.62",
            "v6.6.61",
            "v6.6.60",
            "v6.6.59",
            "v6.6.58",
            "v6.6.57",
            "v6.6.56",
            "v6.6.55",
            "v6.6.54",
            "v6.6.53",
            "v6.6.52",
            "v6.6.51",
            "v6.6.50",
            "v6.6.49",
            "v6.6.48",
            "v6.6.47",
            "v6.6.46",
            "v6.6.45",
            "v6.6.44",
            "v6.6.43",
            "v6.6.42",
            "v6.6.41",
            "v6.6.40",
            "v6.6.39",
            "v6.6.38",
            "v6.6.37",
            "v6.6.36",
            "v6.9.12",
            "v6.9.11",
            "v6.9.10",
            "v6.9.9",
            "v6.9.8",
            "v6.9.7"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-23160.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.1.153"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.88"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.24"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.10.0"
                },
                {
                  "fixed": "6.13.12"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.14.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-23160.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:34.890920532Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-032379.html",
        "https://git.kernel.org/stable/c/2540a81d5532829150b2e7cca977313b524066a9",
        "https://git.kernel.org/stable/c/4936cd5817af35d23e4d283f48fa59a18ef481e4",
        "https://git.kernel.org/stable/c/69dd5bbdd79c65445bb17c3c53510783bc1d756c",
        "https://git.kernel.org/stable/c/9f009fa823c54ca0857c81f7525ea5a5d32de29c",
        "https://git.kernel.org/stable/c/ac94e1db4b2053059779472eb58a64d504964240",
        "https://git.kernel.org/stable/c/beaefe8dbb261f36376bb533a89ed69ab38e6747",
        "https://git.kernel.org/stable/c/d6cb086aa52bd51378a4c9e2b25d2def97770205",
        "https://git.kernel.org/stable/c/fd7bb97ede487b9f075707b7408a9073e0d474b1",
        "https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/23xxx/CVE-2025-23160.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-23160",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/23xxx/CVE-2025-23160.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-23160",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 502180,
  "published_at": "2025-05-01T12:55:45.405+00:00"
}