CVE-2025-38015
Summary
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.
Impact & exploitability
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected products we track (2)
Recommendation
Apply the vendor fix in your normal patch cycle. Open any affected product above for its exact safe version.
Official patch: https://git.kernel.org/stable/c/46a5cca76c76c86063000a12936f8e7875295838 ↗
Additional information
- NVD record
- https://git.kernel.org/stable/c/46a5cca76c76c86063000a12936f8e7875295838Patch
- https://git.kernel.org/stable/c/4f005eb68890698e5abc6a3af04dab76f175c50cPatch
- https://git.kernel.org/stable/c/64afd9a1f644b27661420257dcc007d5009c99ddPatch
- https://git.kernel.org/stable/c/6e94a2c3e4c166cd2736ac225fba5889fb1e8ac0Patch
- https://git.kernel.org/stable/c/868dbce755ec92855362d213f47e045a8388361aPatch
- https://lists.debian.org/debian-lts-announce/2025/08/msg00010.htmlAdvisory