{"id":"CVE-2025-38015","aliases":["CVE-2025-38015"],"related":[],"kind":"vulnerability","state":"published","title":"dmaengine: idxd: fix memory leak in error handling path of idxd_alloc","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: idxd: fix memory leak in error handling path of idxd_alloc\n\nMemory allocated for idxd is not freed if an error occurs during\nidxd_alloc(). To fix it, free the allocated memory in the reverse order\nof allocation before exiting the function in case of an error.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: idxd: fix memory leak in error handling path of idxd_alloc\n\nMemory allocated for idxd is not freed if an error occurs during\nidxd_alloc(). To fix it, free the allocated memory in the reverse order\nof allocation before exiting the function in case of an error.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: dmaengine: idxd: se corrige una fuga de memoria en la ruta de gestión de errores de idxd_alloc. La memoria asignada a idxd no se libera si se produce un error durante idxd_alloc(). Para solucionarlo, libere la memoria asignada en orden inverso a la asignación antes de salir de la función en caso de error.","source":"nvd"}],"published":"2025-06-18T09:28:24.235Z","modified":"2026-11-05T21:18:04.067Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"a8563a33a5e26064061f2fb34215c97f0e2995f4","fixed":"64afd9a1f644b27661420257dcc007d5009c99dd","status":"affected"},{"type":"git","introduced":"a8563a33a5e26064061f2fb34215c97f0e2995f4","fixed":"6e94a2c3e4c166cd2736ac225fba5889fb1e8ac0","status":"affected"},{"type":"git","introduced":"a8563a33a5e26064061f2fb34215c97f0e2995f4","fixed":"868dbce755ec92855362d213f47e045a8388361a","status":"affected"},{"type":"git","introduced":"a8563a33a5e26064061f2fb34215c97f0e2995f4","fixed":"4f005eb68890698e5abc6a3af04dab76f175c50c","status":"affected"},{"type":"git","introduced":"a8563a33a5e26064061f2fb34215c97f0e2995f4","fixed":"46a5cca76c76c86063000a12936f8e7875295838","status":"affected"},{"type":"git","version":"9526f051bedde01baa50081afe143a8bc5b8e6be","status":"affected"},{"type":"semver","introduced":"6.0.9","fixed":"6.1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.1","status":"unaffected"},{"type":"semver","introduced":"6.1.140","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.92","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.30","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.14.8","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.0.9","fixed":"6.1.140"},{"status":"affected","introduced":"6.2","fixed":"6.6.92"},{"status":"affected","introduced":"6.7","fixed":"6.12.30"},{"status":"affected","introduced":"6.13","fixed":"6.14.8"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/64afd9a1f644b27661420257dcc007d5009c99dd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6e94a2c3e4c166cd2736ac225fba5889fb1e8ac0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/868dbce755ec92855362d213f47e045a8388361a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4f005eb68890698e5abc6a3af04dab76f175c50c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/46a5cca76c76c86063000a12936f8e7875295838","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:48:10.331Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38015","url":"https://www.cve.org/CVERecord?id=CVE-2025-38015","licence":"CVE Terms of Use","modified":"2026-11-05T20:52:12.376Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38015","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38015","licence":"Public domain","modified":"2026-11-05T21:18:04.067Z"}],"updatedAt":"2026-11-25T22:58:59.338Z","epss":{"score":0.00206,"percentile":0.11265,"date":"2026-12-01T12:00:22.000Z"}}