CVE-2025-38015

dmaengine: idxd: fix memory leak in error handling path of idxd_alloc

State
Published
Severity
Not scored
Published
Jun 18, 2025
Updated
May 23, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • a8563a33a5e26064061f2fb34215c97f0e2995f4 to before 64afd9a1f644b27661420257dcc007d5009c99ddAffected
  • a8563a33a5e26064061f2fb34215c97f0e2995f4 to before 6e94a2c3e4c166cd2736ac225fba5889fb1e8ac0Affected
  • a8563a33a5e26064061f2fb34215c97f0e2995f4 to before 868dbce755ec92855362d213f47e045a8388361aAffected
  • a8563a33a5e26064061f2fb34215c97f0e2995f4 to before 4f005eb68890698e5abc6a3af04dab76f175c50cAffected
  • a8563a33a5e26064061f2fb34215c97f0e2995f4 to before 46a5cca76c76c86063000a12936f8e7875295838Affected
  • 9526f051bedde01baa50081afe143a8bc5b8e6beAffected
  • 6.0.9 to before 6.1Affected
LinuxLinux
  • 6.1Affected
  • before 6.1Not affected
  • 6.1.140 through 6.1.*Not affected
  • 6.6.92 through 6.6.*Not affected
  • 6.12.30 through 6.12.*Not affected
  • 6.14.8 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.