VDB

CVE-2025-38015

CVE-2025-38015 PUBLISHED

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.

PackageEcosystemFixed in
linux_kernellinux6.14.8, 6.12.30, 6.6.92, 6.1.140
LinuxLinux6.1

Affected products

VendorProductVersions
LinuxLinuxa8563a33a5e26064061f2fb34215c97f0e2995f4, a8563a33a5e26064061f2fb34215c97f0e2995f4, a8563a33a5e26064061f2fb34215c97f0e2995f4
LinuxLinux6.1, 0, 6.1.140
LinuxLinux6.15, 6.1, 0
linuxlinux_kernel6.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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›