---
id: CVE-2025-71186
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  dmaengine: stm32: dmamux: fix device leak on route allocation

  Make sure to drop the reference taken when looking up the DMA mux
  platform device during route allocation…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  dmaengine: stm32: dmamux: fix device leak on route allocation

  Make sure to drop the reference taken when looking up the DMA mux
  platform device during route allocation…
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 >= 4.15.1, < 5.10.249'
  - 'linux_kernel >= 5.11, < 5.15.199'
  - 'linux_kernel >= 5.16, < 6.1.162'
  - 'linux_kernel >= 6.2, < 6.6.122'
  - 'linux_kernel >= 6.7, < 6.12.67'
  - 'linux_kernel >= 6.13, < 6.18.7'
  - linux_kernel = 4.15
  - linux_kernel = 6.19
patched:
  - linux_kernel 6.18.7
published: '2026-01-31'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T02:18:24.327'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-71186'
references:
  - url: 'https://git.kernel.org/stable/c/1a179ac01ff3993ab97e33cc77c316ed7415cda1'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/1dda2a32303df0091896b01a9d09070d61fa344c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/2fb10259d4efb4367787b5ae9c94192e8a91c648'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/3b42020e6790a5e19b36c187ed5b488a5716f97f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/3ef52d31cce8ba816739085a61efe07b63c6cf27'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/6393da54dcb3488c080a183c4182ddec71ba8d7f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/dd6e4943889fb354efa3f700e42739da9bddb6ef'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-019113.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-253495.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-457936.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00215
epssPercentile: 0.11858
ingestedAt: '2026-09-08T15:33:26.994Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

dmaengine: stm32: dmamux: fix device leak on route allocation

Make sure to drop the reference taken when looking up the DMA mux
platform device during route allocation.

Note that holding a reference to a device does not prevent its driver
data from going away so there is no point in keeping the reference.

## Affected

- `linux_kernel >= 4.15.1, < 5.10.249`
- `linux_kernel >= 5.11, < 5.15.199`
- `linux_kernel >= 5.16, < 6.1.162`
- `linux_kernel >= 6.2, < 6.6.122`
- `linux_kernel >= 6.7, < 6.12.67`
- `linux_kernel >= 6.13, < 6.18.7`
- `linux_kernel = 4.15`
- `linux_kernel = 6.19`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.18.7`
