{"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-11-17T07:00:55.766466907Z","published":"2025-06-18T09:28:24.235Z","related":["ALSA-2026:18134","ALSA-2026:18587","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":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38015.json"},"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":"9526f051bedde01baa50081afe143a8bc5b8e6be"}]}],"versions":["v6.0.19","v6.0.18","v6.0.17","v6.0.16","v6.0.15","v6.0.14","v6.0.13","v6.0.12","v6.0.11","v6.0.10","v6.0.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38015.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.9"},{"fixed":"6.1"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.140"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.92"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.30"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.14.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38015.json"}}],"schema_version":"1.9.2"}