CVE-2025-38015

Source
https://cve.org/CVERecord?id=CVE-2025-38015
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38015.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38015
Downstream
Related
Published
2025-06-18T09:28:24.235Z
Modified
2026-03-11T07:54:22.098263Z
Summary
dmaengine: idxd: fix memory leak in error handling path of idxd_alloc
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38015.json"
}
References

Affected packages

Git / 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 Unknown introduced commit / All previous commits are affected
Last affected
9526f051bedde01baa50081afe143a8bc5b8e6be

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38015.json"