FlawAtlas
Search the atlas
CVE-2025-38015 Not scored

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

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.

Exploit probability 0.2%
Published June 18, 2025
Required by Not available
Last source change July 15, 2026

02 / AFFECTED SOFTWARE

Affected packages

Linux Kernel
Unknown Unknown

752 explicit affected versions

03 / CONNECTIONS

Connected vulnerabilities

related SUSE-SU-2025:02249-1
related SUSE-SU-2025:02254-1
related SUSE-SU-2025:02307-1
related SUSE-SU-2025:02333-1
related SUSE-SU-2025:02335-1
related SUSE-SU-2025:02538-1
related SUSE-SU-2025:02923-1
related SUSE-SU-2025:20475-1
related SUSE-SU-2025:20483-1
related SUSE-SU-2025:20493-1
related SUSE-SU-2025:20498-1

04 / EVIDENCE

Source records

Open Source Vulnerabilities CVE-2025-38015

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.

View original source

05 / REFERENCES

Further evidence