---
id: CVE-2025-23160
title: >-
  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

  str…
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

  str…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-401
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 6.1.130, < 6.1.153'
  - 'linux_kernel >= 6.6.36, < 6.6.88'
  - 'linux_kernel >= 6.9.7, < 6.12.24'
  - 'linux_kernel >= 6.13, < 6.13.12'
  - 'linux_kernel >= 6.14, < 6.14.3'
  - debian_linux = 11.0
patched:
  - linux_kernel 6.14.3
published: '2025-05-01'
updated: '2026-08-23'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-23160'
references:
  - url: 'https://git.kernel.org/stable/c/2540a81d5532829150b2e7cca977313b524066a9'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/4936cd5817af35d23e4d283f48fa59a18ef481e4'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/69dd5bbdd79c65445bb17c3c53510783bc1d756c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9f009fa823c54ca0857c81f7525ea5a5d32de29c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ac94e1db4b2053059779472eb58a64d504964240'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/beaefe8dbb261f36376bb533a89ed69ab38e6747'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d6cb086aa52bd51378a4c9e2b25d2def97770205'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/fd7bb97ede487b9f075707b7408a9073e0d474b1'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-032379.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
epss: 0.00204
epssPercentile: 0.09185
ingestedAt: '2026-08-23T13:48:04.485Z'
---

## Overview

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

- `linux_kernel >= 6.1.130, < 6.1.153`
- `linux_kernel >= 6.6.36, < 6.6.88`
- `linux_kernel >= 6.9.7, < 6.12.24`
- `linux_kernel >= 6.13, < 6.13.12`
- `linux_kernel >= 6.14, < 6.14.3`
- `debian_linux = 11.0`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.14.3`
