CVE Catalog

CVE-2025-68814

Low risk· EPSS 7%
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.17%

7th percentile - higher than 7% of all known CVEs

Summary

In the Linux kernel, a memory leak was found in the io_uring subsystem within the __io_openat_prep() function. When a struct filename is allocated via getname() and the file is installed in the fixed file table with O_CLOEXEC flag, the function returns early without setting the REQ_F_NEED_CLEANUP flag, preventing the allocated memory from being freed.

Risk Assessment

This memory leak can gradually exhaust system resources, potentially leading to a denial of service (DoS) for processes using io_uring.

Recommendation

Immediately update the Linux kernel to a version containing the fix that sets the REQ_F_NEED_CLEANUP flag right after a successful getname() call to ensure proper resource cleanup.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: io_uring: fix filename leak in __io_openat_prep() __io_openat_prep() allocates a struct filename using getname(). However, for the condition of the file being installed in the fixed file table as well as having O_CLOEXEC flag set, the function returns early. At that point, the request doesn't have REQ_F_NEED_CLEANUP flag set. Due to this, the memory for the newly allocated struct filename is not cleaned up, causing a memory leak. Fix this by setting the REQ_F_NEED_CLEANUP for the request just after the successful getname() call, so that when the request is torn down, the filename will be cleaned up, along with other resources needing cleanup.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS