CVE-2025-38015
dmaengine: idxd: fix memory leak in error handling path of idxd_alloc
Reported by linux · Published June 18, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.14.8, 6.12.30, 6.6.92, 6.1.140 |
| Linux | Linux | 6.1 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | a8563a33a5e26064061f2fb34215c97f0e2995f4, a8563a33a5e26064061f2fb34215c97f0e2995f4, a8563a33a5e26064061f2fb34215c97f0e2995f4 |
| Linux | Linux | 6.1, 0, 6.1.140 |
| Linux | Linux | 6.15, 6.1, 0 |
| linux | linux_kernel | 6.1, 6.1, 6.1 |
Timeline
- Jun 17, 2025 CVE Published
- Jun 18, 2025 EPSS Score (30 in total, the first dated here)
- Oct 12, 2025 PoC Published (5 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (270 in total, the first dated here)
- Mar 29, 2026 Security Advisory (281 in total, the first dated here)
- Jun 9, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-38015
vulnetix vdb fixes CVE-2025-38015
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38015/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart