CVE-2025-38015

published 18 Jun 2025 · updated 17 Nov 2026

dmaengine: idxd: fix memory leak in error handling path of idxd_alloc

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.1, Kernel 6.1.140, Kernel 6.14.8 and 7 more.

In the Linux kernel, the following vulnerability has been resolved: dmaengine: idxd: fix memory leak in error handling path of idxd_alloc Memory allocated for idxd is not freed if an error occurs during idxd_alloc(). To fix it, free the allocated memory in the reverse order of allocation before exiting the function in case of an error.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=6.0.9 <6.1, >=6.0.9 <6.1.140, >=6.13 <6.14.8, >=6.2 <6.6.92, >=6.7 <6.12.30, =6.15, >=a8563a33a5e26064061f2fb34215c97f0e2995f4 <868dbce755ec92855362d213f47e045a8388361a, >=a8563a33a5e26064061f2fb34215c97f0e2995f4 <6e94a2c3e4c166cd2736ac225fba5889fb1e8ac0, >=a8563a33a5e26064061f2fb34215c97f0e2995f4 <64afd9a1f644b27661420257dcc007d5009c99dd, >=a8563a33a5e26064061f2fb34215c97f0e2995f4 <4f005eb68890698e5abc6a3af04dab76f175c50c, >=a8563a33a5e26064061f2fb34215c97f0e2995f4 <46a5cca76c76c86063000a12936f8e7875295838, =6.1, =9526f051bedde01baa50081afe143a8bc5b8e6be6.1, 6.1.140, 6.14.8, 6.6.92, 6.12.30, 868dbce755ec92855362d213f47e045a8388361a, 6e94a2c3e4c166cd2736ac225fba5889fb1e8ac0, 64afd9a1f644b27661420257dcc007d5009c99dd, 4f005eb68890698e5abc6a3af04dab76f175c50c, 46a5cca76c76c86063000a12936f8e7875295838
debiandebian_linux=11.0
linux-kernel: Kernel>=6.7.0 <6.12.30, >=6.2.0 <6.6.92, >=6.13.0 <6.14.8, >=6.1.0 <6.1.140, >=6.0.9 <6.16.12.30, 6.6.92, 6.14.8, 6.1.140, 6.1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38015 severity on Zeptric[![CVE-2025-38015](https://zeptric.io/badge/cve/CVE-2025-38015.svg)](https://zeptric.io/cve/CVE-2025-38015)