CVE-2025-38015
dmaengine: idxd: fix memory leak in error handling path of idxd_alloc
Check your servers for CVE-2025-38015
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38015 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.2% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from a8563a33a5e26064061f2fb34215c97f0e2995f4, before 64afd9a1f644b27661420257dcc007d5009c99dd affected from a8563a33a5e26064061f2fb34215c97f0e2995f4, before 6e94a2c3e4c166cd2736ac225fba5889fb1e8ac0 affected from a8563a33a5e26064061f2fb34215c97f0e2995f4, before 868dbce755ec92855362d213f47e045a8388361a affected from a8563a33a5e26064061f2fb34215c97f0e2995f4, before 4f005eb68890698e5abc6a3af04dab76f175c50c affected from a8563a33a5e26064061f2fb34215c97f0e2995f4, before 46a5cca76c76c86063000a12936f8e7875295838 affected 9526f051bedde01baa50081afe143a8bc5b8e6be affected from 6.0.9, before 6.1
Other versions: unaffected
|
| Linux |
affected 6.1 unaffected before 6.1 unaffected from 6.1.140 up to and including 6.1.* unaffected from 6.6.92 up to and including 6.6.* unaffected from 6.12.30 up to and including 6.12.* unaffected from 6.14.8 up to and including 6.14.* unaffected 6.15 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38015 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38015
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-38015
trivy image --scanners vuln IMAGE | grep CVE-2025-38015
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/64afd9a1f644b27661420257dcc007d5009c99dd git.kernel.org
- https://git.kernel.org/stable/c/6e94a2c3e4c166cd2736ac225fba5889fb1e8ac0 git.kernel.org
- https://git.kernel.org/stable/c/868dbce755ec92855362d213f47e045a8388361a git.kernel.org
- https://git.kernel.org/stable/c/4f005eb68890698e5abc6a3af04dab76f175c50c git.kernel.org
- https://git.kernel.org/stable/c/46a5cca76c76c86063000a12936f8e7875295838 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html lists.debian.org
Source: the record CVE-2025-38015 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse