{"id":"CVE-2025-68814","title":"io_uring: fix filename leak in __io_openat_prep()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring: fix filename leak in __io_openat_prep()\n\n __io_openat_prep() allocates a struct filename using getname(). However,\nfor the condition of the file being install…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= b9445598d8c60a1379887b957024b71343965f74 < 2420ef01b2e836fbc05a0a8c73a1016504eb0458","Linux >= b9445598d8c60a1379887b957024b71343965f74 < 8f44c4a550570cd5903625133f938c6b51310c9b","Linux >= b9445598d8c60a1379887b957024b71343965f74 < 18b99fa603d0df5e1c898699c17d3b92ddc80746","Linux >= b9445598d8c60a1379887b957024b71343965f74 < e232269d511566b1f80872256a48593acc1becf4","Linux >= b9445598d8c60a1379887b957024b71343965f74 < 7fbfb85b05bc960cc50e09d03e5e562131e48d45","Linux >= b9445598d8c60a1379887b957024b71343965f74 < b14fad555302a2104948feaff70503b64c80ac01","Linux 5.15"],"published":"2026-01-13","updated":"2026-09-08","sourceUpdated":"2026-09-08T08:43:34.790Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-68814","references":[{"url":"https://git.kernel.org/stable/c/2420ef01b2e836fbc05a0a8c73a1016504eb0458"},{"url":"https://git.kernel.org/stable/c/8f44c4a550570cd5903625133f938c6b51310c9b"},{"url":"https://git.kernel.org/stable/c/18b99fa603d0df5e1c898699c17d3b92ddc80746"},{"url":"https://git.kernel.org/stable/c/e232269d511566b1f80872256a48593acc1becf4"},{"url":"https://git.kernel.org/stable/c/7fbfb85b05bc960cc50e09d03e5e562131e48d45"},{"url":"https://git.kernel.org/stable/c/b14fad555302a2104948feaff70503b64c80ac01"}],"tags":["cve.org"],"epss":0.00206,"epssPercentile":0.11048,"ingestedAt":"2026-09-08T15:33:26.995Z","slug":"CVE-2025-68814","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nio_uring: fix filename leak in __io_openat_prep()\n\n __io_openat_prep() allocates a struct filename using getname(). However,\nfor the condition of the file being installed in the fixed file table as\nwell as having O_CLOEXEC flag set, the function returns early. At that\npoint, the request doesn't have REQ_F_NEED_CLEANUP flag set. Due to this,\nthe memory for the newly allocated struct filename is not cleaned up,\ncausing a memory leak.\n\nFix this by setting the REQ_F_NEED_CLEANUP for the request just after the\nsuccessful getname() call, so that when the request is torn down, the\nfilename will be cleaned up, along with other resources needing cleanup.\n\n## Affected\n\n- `Linux >= b9445598d8c60a1379887b957024b71343965f74 < 2420ef01b2e836fbc05a0a8c73a1016504eb0458`\n- `Linux >= b9445598d8c60a1379887b957024b71343965f74 < 8f44c4a550570cd5903625133f938c6b51310c9b`\n- `Linux >= b9445598d8c60a1379887b957024b71343965f74 < 18b99fa603d0df5e1c898699c17d3b92ddc80746`\n- `Linux >= b9445598d8c60a1379887b957024b71343965f74 < e232269d511566b1f80872256a48593acc1becf4`\n- `Linux >= b9445598d8c60a1379887b957024b71343965f74 < 7fbfb85b05bc960cc50e09d03e5e562131e48d45`\n- `Linux >= b9445598d8c60a1379887b957024b71343965f74 < b14fad555302a2104948feaff70503b64c80ac01`\n- `Linux 5.15`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}