CVE-2025-68814 Details
Description
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.
A memory leak vulnerability has been identified in the Linux kernel's io_uring implementation, specifically within the __io_openat_prep() function. This issue arises when the function allocates a struct filename using getname(). If the file is in the fixed file table and has the O_CLOEXEC flag set, the function exits early without cleaning up the allocated memory, leading to a leak. The vulnerability affects several versions of the Linux kernel.
The vulnerability has been addressed by modifying the __io_openat_prep() function to set the REQ_F_NEED_CLEANUP flag immediately after successfully allocating the struct filename. This change ensures that the filename and other necessary resources are properly cleaned up when the request is completed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jan 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cert-portal.siemens.com/productcert/html/ssa-019113.html | siemens-SADP | |
| https://cert-portal.siemens.com/productcert/html/ssa-457936.html | siemens-SADP | |
| https://git.kernel.org/stable/c/18b99fa603d0df5e1c898699c17d3b92ddc80746 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/2420ef01b2e836fbc05a0a8c73a1016504eb0458 | kernel.org | |
| https://git.kernel.org/stable/c/7fbfb85b05bc960cc50e09d03e5e562131e48d45 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/8f44c4a550570cd5903625133f938c6b51310c9b | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/b14fad555302a2104948feaff70503b64c80ac01 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/e232269d511566b1f80872256a48593acc1becf4 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 10, 2026 | CVE Modified | siemens-SADP |
| Oct 15, 2026 | CVE Modified | siemens-SADP |
| Oct 15, 2026 | CVE Modified | kernel.org |
| Jul 14, 2026 | CVE Modified | siemens-SADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jan 19, 2026 | CVE Modified | kernel.org |
| Jan 13, 2026 | New CVE Received | kernel.org |
Volerion