{"id":"CVE-2025-68814","summary":"io_uring: fix filename leak in __io_openat_prep()","details":"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 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.","modified":"2026-04-02T13:03:51.647426Z","published":"2026-01-13T15:29:19.129Z","related":["MGASA-2026-0017","MGASA-2026-0018","SUSE-SU-2026:0447-1","SUSE-SU-2026:0472-1","SUSE-SU-2026:0587-1","SUSE-SU-2026:20477-1","SUSE-SU-2026:20498-1","SUSE-SU-2026:20555-1","SUSE-SU-2026:20599-1","SUSE-SU-2026:20615-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1","openSUSE-SU-2026:20287-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68814.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/18b99fa603d0df5e1c898699c17d3b92ddc80746"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2420ef01b2e836fbc05a0a8c73a1016504eb0458"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7fbfb85b05bc960cc50e09d03e5e562131e48d45"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8f44c4a550570cd5903625133f938c6b51310c9b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b14fad555302a2104948feaff70503b64c80ac01"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e232269d511566b1f80872256a48593acc1becf4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68814.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68814"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b9445598d8c60a1379887b957024b71343965f74"},{"fixed":"2420ef01b2e836fbc05a0a8c73a1016504eb0458"},{"fixed":"8f44c4a550570cd5903625133f938c6b51310c9b"},{"fixed":"18b99fa603d0df5e1c898699c17d3b92ddc80746"},{"fixed":"e232269d511566b1f80872256a48593acc1becf4"},{"fixed":"7fbfb85b05bc960cc50e09d03e5e562131e48d45"},{"fixed":"b14fad555302a2104948feaff70503b64c80ac01"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68814.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"5.15.198"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.160"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.64"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68814.json"}}],"schema_version":"1.7.5"}