{"id":"CVE-2025-38015","summary":"dmaengine: idxd: fix memory leak in error handling path of idxd_alloc","details":"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.","modified":"2026-04-02T12:47:44.920126Z","published":"2025-06-18T09:28:24.235Z","related":["SUSE-SU-2025:02249-1","SUSE-SU-2025:02254-1","SUSE-SU-2025:02307-1","SUSE-SU-2025:02333-1","SUSE-SU-2025:02335-1","SUSE-SU-2025:02538-1","SUSE-SU-2025:02923-1","SUSE-SU-2025:20475-1","SUSE-SU-2025:20483-1","SUSE-SU-2025:20493-1","SUSE-SU-2025:20498-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38015.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/46a5cca76c76c86063000a12936f8e7875295838"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4f005eb68890698e5abc6a3af04dab76f175c50c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/64afd9a1f644b27661420257dcc007d5009c99dd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6e94a2c3e4c166cd2736ac225fba5889fb1e8ac0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/868dbce755ec92855362d213f47e045a8388361a"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38015.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38015"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a8563a33a5e26064061f2fb34215c97f0e2995f4"},{"fixed":"64afd9a1f644b27661420257dcc007d5009c99dd"},{"fixed":"6e94a2c3e4c166cd2736ac225fba5889fb1e8ac0"},{"fixed":"868dbce755ec92855362d213f47e045a8388361a"},{"fixed":"4f005eb68890698e5abc6a3af04dab76f175c50c"},{"fixed":"46a5cca76c76c86063000a12936f8e7875295838"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"9526f051bedde01baa50081afe143a8bc5b8e6be"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38015.json"}}],"schema_version":"1.7.5"}