{"id":"CVE-2025-68814","aliases":["CVE-2025-68814"],"related":[],"kind":"vulnerability","state":"published","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 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nio_uring: corregir fuga de filename en __io_openat_prep()\n\n__io_openat_prep() asigna una estructura filename usando getname(). Sin embargo, para la condición de que el archivo esté instalado en la tabla de archivos fija, así como de tener la bandera O_CLOEXEC establecida, la función retorna prematuramente. En ese punto, la solicitud no tiene la bandera REQ_F_NEED_CLEANUP establecida. Debido a esto, la memoria para la estructura filename recién asignada no se limpia, causando una fuga de memoria.\n\nSolucione esto estableciendo la bandera REQ_F_NEED_CLEANUP para la solicitud justo después de la llamada exitosa a getname(), de modo que cuando la solicitud sea desmantelada, el filename será limpiado, junto con otros recursos que necesiten limpieza.","source":"nvd"}],"published":"2026-01-13T15:29:19.129Z","modified":"2026-11-10T13:18:00.667Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b9445598d8c60a1379887b957024b71343965f74","fixed":"2420ef01b2e836fbc05a0a8c73a1016504eb0458","status":"affected"},{"type":"git","introduced":"b9445598d8c60a1379887b957024b71343965f74","fixed":"8f44c4a550570cd5903625133f938c6b51310c9b","status":"affected"},{"type":"git","introduced":"b9445598d8c60a1379887b957024b71343965f74","fixed":"18b99fa603d0df5e1c898699c17d3b92ddc80746","status":"affected"},{"type":"git","introduced":"b9445598d8c60a1379887b957024b71343965f74","fixed":"e232269d511566b1f80872256a48593acc1becf4","status":"affected"},{"type":"git","introduced":"b9445598d8c60a1379887b957024b71343965f74","fixed":"7fbfb85b05bc960cc50e09d03e5e562131e48d45","status":"affected"},{"type":"git","introduced":"b9445598d8c60a1379887b957024b71343965f74","fixed":"b14fad555302a2104948feaff70503b64c80ac01","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"5.15.198","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.160","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.120","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.64","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.3","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/2420ef01b2e836fbc05a0a8c73a1016504eb0458","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8f44c4a550570cd5903625133f938c6b51310c9b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/18b99fa603d0df5e1c898699c17d3b92ddc80746","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e232269d511566b1f80872256a48593acc1becf4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7fbfb85b05bc960cc50e09d03e5e562131e48d45","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b14fad555302a2104948feaff70503b64c80ac01","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68814","url":"https://www.cve.org/CVERecord?id=CVE-2025-68814","licence":"CVE Terms of Use","modified":"2026-11-10T12:38:36.046Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68814","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68814","licence":"Public domain","modified":"2026-11-10T13:18:00.667Z"}],"updatedAt":"2026-11-25T22:59:10.544Z","epss":{"score":0.00217,"percentile":0.12909,"date":"2026-12-01T12:00:22.000Z"}}