CVE-2025-38015Published Jun 18, 2025 · Jun 18Updated 2d ago
dmaengine: idxd: fix memory leak in error handling path of idxd_alloc
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
9526f051bedde01baa50081afe143a8bc5b8e6be| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's idxd_alloc() function leaks allocated memory when an error occurs. The input does not establish how an attacker could trigger the error or specify access, authentication, or user-interaction requirements.
Engineers running the Linux kernel should check whether their version includes the idxd_alloc() fix; affected versions are not specified.