What’s Vulnerable › Vulnerabilities

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

How to fix

Upgrade to a fixed version: Linux kernel 6.1.140, 6.12.30, 6.14.8, 6.6.92. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-38015 or the next vulnerability affects your stack