CVE-2025-38015

Source
https://nvd.nist.gov/vuln/detail/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
2025-11-27T02:34:03.370027Z
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/blob/cc431b3424123d84bcd7afd4de150b33f117a8ef/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
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a8563a33a5e26064061f2fb34215c97f0e2995f4
Fixed
6e94a2c3e4c166cd2736ac225fba5889fb1e8ac0
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a8563a33a5e26064061f2fb34215c97f0e2995f4
Fixed
868dbce755ec92855362d213f47e045a8388361a
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a8563a33a5e26064061f2fb34215c97f0e2995f4
Fixed
4f005eb68890698e5abc6a3af04dab76f175c50c
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a8563a33a5e26064061f2fb34215c97f0e2995f4
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

Linux / Kernel

Package

Name
Kernel

Affected ranges

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