# CVE-2025-71186: dmaengine: stm32: dmamux: fix device leak on route allocation

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-01-31T11:41:57.921Z
- Modified: 2026-11-10T13:18:08.030Z
- Weaknesses: CWE-401
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from df7e762db5f6c8dbd9e480f1c9ef9851de346657 before 3b42020e6790a5e19b36c187ed5b488a5716f97f; from df7e762db5f6c8dbd9e480f1c9ef9851de346657 before 6393da54dcb3488c080a183c4182ddec71ba8d7f; from df7e762db5f6c8dbd9e480f1c9ef9851de346657 before 1dda2a32303df0091896b01a9d09070d61fa344c; from df7e762db5f6c8dbd9e480f1c9ef9851de346657 before 1a179ac01ff3993ab97e33cc77c316ed7415cda1; from df7e762db5f6c8dbd9e480f1c9ef9851de346657 before 2fb10259d4efb4367787b5ae9c94192e8a91c648; from df7e762db5f6c8dbd9e480f1c9ef9851de346657 before 3ef52d31cce8ba816739085a61efe07b63c6cf27; from df7e762db5f6c8dbd9e480f1c9ef9851de346657 before dd6e4943889fb354efa3f700e42739da9bddb6ef; 4.15 (not affected: before 4.15; from 5.10.249 up to 5.10.*; from 5.15.199 up to 5.15.*; from 6.1.162 up to 6.1.*; from 6.6.122 up to 6.6.*; from 6.12.67 up to 6.12.*; from 6.18.7 up to 6.18.*; from 6.19 up to *)
- linux linux_kernel: from 4.15.1 before 5.10.249; from 5.11 before 5.15.199; from 5.16 before 6.1.162; from 6.2 before 6.6.122; from 6.7 before 6.12.67; from 6.13 before 6.18.7; 4.15; 6.19

## References

- <https://git.kernel.org/stable/c/3b42020e6790a5e19b36c187ed5b488a5716f97f> (patch)
- <https://git.kernel.org/stable/c/6393da54dcb3488c080a183c4182ddec71ba8d7f> (patch)
- <https://git.kernel.org/stable/c/1dda2a32303df0091896b01a9d09070d61fa344c> (patch)
- <https://git.kernel.org/stable/c/1a179ac01ff3993ab97e33cc77c316ed7415cda1> (patch)
- <https://git.kernel.org/stable/c/2fb10259d4efb4367787b5ae9c94192e8a91c648> (patch)
- <https://git.kernel.org/stable/c/3ef52d31cce8ba816739085a61efe07b63c6cf27> (patch)
- <https://git.kernel.org/stable/c/dd6e4943889fb354efa3f700e42739da9bddb6ef> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-253495.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Sources

- CVE List: [CVE-2025-71186](https://www.cve.org/CVERecord?id=CVE-2025-71186), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2025-71186](https://nvd.nist.gov/vuln/detail/CVE-2025-71186), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2025-71186 · Whole record: https://cve.day/CVE-2025-71186.json · Rebuilt by cve.day 2026-11-25T22:59:10.967Z
