Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-38015

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • a8563a33a5e26064061f2fb34215c97f0e2995f4 to < 64afd9a1f644b27661420257dcc007d5009c99ddaffected
  • a8563a33a5e26064061f2fb34215c97f0e2995f4 to < 6e94a2c3e4c166cd2736ac225fba5889fb1e8ac0affected
  • a8563a33a5e26064061f2fb34215c97f0e2995f4 to < 868dbce755ec92855362d213f47e045a8388361aaffected
  • a8563a33a5e26064061f2fb34215c97f0e2995f4 to < 4f005eb68890698e5abc6a3af04dab76f175c50caffected
  • a8563a33a5e26064061f2fb34215c97f0e2995f4 to < 46a5cca76c76c86063000a12936f8e7875295838affected
  • 9526f051bedde01baa50081afe143a8bc5b8e6beaffected
  • 6.0.9 to < 6.1affected

Linux Linux

Default version status: affected

  • 6.1affected
  • 0 to < 6.1unaffected
  • 6.1.140 to ≤ 6.1.*unaffected
  • 6.6.92 to ≤ 6.6.*unaffected
  • 6.12.30 to ≤ 6.12.*unaffected
  • 6.14.8 to ≤ 6.14.*unaffected
  • 6.15 to ≤ *unaffected

References