{"api_version":"1","generated_at":"2026-07-23T13:48:49+00:00","cve":"CVE-2025-68814","urls":{"html":"https://cve.report/CVE-2025-68814","api":"https://cve.report/api/cve/CVE-2025-68814.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-68814","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-68814"},"summary":{"title":"io_uring: fix filename leak in __io_openat_prep()","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-01-13 16:16:03","updated_at":"2026-07-14 13:18:00"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/2420ef01b2e836fbc05a0a8c73a1016504eb0458","name":"https://git.kernel.org/stable/c/2420ef01b2e836fbc05a0a8c73a1016504eb0458","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7fbfb85b05bc960cc50e09d03e5e562131e48d45","name":"https://git.kernel.org/stable/c/7fbfb85b05bc960cc50e09d03e5e562131e48d45","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e232269d511566b1f80872256a48593acc1becf4","name":"https://git.kernel.org/stable/c/e232269d511566b1f80872256a48593acc1becf4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b14fad555302a2104948feaff70503b64c80ac01","name":"https://git.kernel.org/stable/c/b14fad555302a2104948feaff70503b64c80ac01","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","name":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","refsource":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8f44c4a550570cd5903625133f938c6b51310c9b","name":"https://git.kernel.org/stable/c/8f44c4a550570cd5903625133f938c6b51310c9b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/18b99fa603d0df5e1c898699c17d3b92ddc80746","name":"https://git.kernel.org/stable/c/18b99fa603d0df5e1c898699c17d3b92ddc80746","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-68814","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68814","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b9445598d8c60a1379887b957024b71343965f74 2420ef01b2e836fbc05a0a8c73a1016504eb0458 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b9445598d8c60a1379887b957024b71343965f74 8f44c4a550570cd5903625133f938c6b51310c9b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b9445598d8c60a1379887b957024b71343965f74 18b99fa603d0df5e1c898699c17d3b92ddc80746 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b9445598d8c60a1379887b957024b71343965f74 e232269d511566b1f80872256a48593acc1becf4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b9445598d8c60a1379887b957024b71343965f74 7fbfb85b05bc960cc50e09d03e5e562131e48d45 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b9445598d8c60a1379887b957024b71343965f74 b14fad555302a2104948feaff70503b64c80ac01 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.15","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.198 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.160 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.120 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.64 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.3 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19 * original_commit_for_fix","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","version":"affected V3.1.6 * custom","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","version":"affected V3.1.6 * custom","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","version":"affected V3.1.6 * custom","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","version":"affected V3.1.6 * custom","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","version":"affected V3.1.6 * custom","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2025","cve_id":"68814","cve":"CVE-2025-68814","epss":"0.001730000","percentile":"0.068830000","score_date":"2026-07-14","updated_at":"2026-07-15 00:14:55"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"affected":[{"defaultStatus":"unknown","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","vendor":"Siemens","versions":[{"lessThan":"*","status":"affected","version":"V3.1.6","versionType":"custom"}]},{"defaultStatus":"unknown","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","vendor":"Siemens","versions":[{"lessThan":"*","status":"affected","version":"V3.1.6","versionType":"custom"}]},{"defaultStatus":"unknown","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","vendor":"Siemens","versions":[{"lessThan":"*","status":"affected","version":"V3.1.6","versionType":"custom"}]},{"defaultStatus":"unknown","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","vendor":"Siemens","versions":[{"lessThan":"*","status":"affected","version":"V3.1.6","versionType":"custom"}]},{"defaultStatus":"unknown","product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","vendor":"Siemens","versions":[{"lessThan":"*","status":"affected","version":"V3.1.6","versionType":"custom"}]}],"providerMetadata":{"dateUpdated":"2026-07-14T12:44:21.862Z","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","shortName":"siemens-SADP"},"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html"}],"x_adpType":"supplier"}],"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["io_uring/openclose.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"2420ef01b2e836fbc05a0a8c73a1016504eb0458","status":"affected","version":"b9445598d8c60a1379887b957024b71343965f74","versionType":"git"},{"lessThan":"8f44c4a550570cd5903625133f938c6b51310c9b","status":"affected","version":"b9445598d8c60a1379887b957024b71343965f74","versionType":"git"},{"lessThan":"18b99fa603d0df5e1c898699c17d3b92ddc80746","status":"affected","version":"b9445598d8c60a1379887b957024b71343965f74","versionType":"git"},{"lessThan":"e232269d511566b1f80872256a48593acc1becf4","status":"affected","version":"b9445598d8c60a1379887b957024b71343965f74","versionType":"git"},{"lessThan":"7fbfb85b05bc960cc50e09d03e5e562131e48d45","status":"affected","version":"b9445598d8c60a1379887b957024b71343965f74","versionType":"git"},{"lessThan":"b14fad555302a2104948feaff70503b64c80ac01","status":"affected","version":"b9445598d8c60a1379887b957024b71343965f74","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["io_uring/openclose.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.15"},{"lessThan":"5.15","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.198","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.160","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.120","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.64","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.3","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"6.19","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.198","versionStartIncluding":"5.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.160","versionStartIncluding":"5.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.120","versionStartIncluding":"5.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.64","versionStartIncluding":"5.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.3","versionStartIncluding":"5.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.19","versionStartIncluding":"5.15","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-05-11T21:53:50.279Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}],"title":"io_uring: fix filename leak in __io_openat_prep()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2025-68814","datePublished":"2026-01-13T15:29:19.129Z","dateReserved":"2025-12-24T10:30:51.047Z","dateUpdated":"2026-07-14T12:44:21.862Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-01-13 16:16:03","lastModifiedDate":"2026-07-14 13:18:00","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2025","CveId":"68814","Ordinal":"1","Title":"io_uring: fix filename leak in __io_openat_prep()","CVE":"CVE-2025-68814","Year":"2025"},"notes":[{"CveYear":"2025","CveId":"68814","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"io_uring: fix filename leak in __io_openat_prep()"}]}}}