# CVE-2025-68814: io\_uring: fix filename leak in \_\_io\_openat\_prep()

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-01-13 · Modified: 2026-11-10
- Aliases: UBUNTU-CVE-2025-68814, DEBIAN-CVE-2025-68814
- Record: https://cvemate.com/vulnerability/CVE-2025-68814 · JSON: https://cvemate.com/vulnerability/CVE-2025-68814/json

## Description

```text
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.
```

## Signals

- CVSS: 6.8 medium (v4.0, OSV · Ubuntu) CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.217%, percentile 12.877%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 147)

- debian linux (Debian): \< 6.1.162-1 \| \< 6.12.69-1 \| \< 6.18.3-1
- ubuntu linux (Ubuntu): \< 5.15.0-173.183 \| \< 6.8.0-110.110 \| \< 6.17.0-22.22
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.15.0-1103.110 \| \< 6.8.0-1052.55 \| \< 6.17.0-1012.12
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1103.110~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): \< 6.17.0-1012.12~24.04.1
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1052.55~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1103.110+fips1 \| \< 6.8.0-1052.55+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1109.118 \| \< 6.8.0-1054.60 \| \< 6.17.0-1013.13
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 43)

- <https://git.kernel.org/stable/c/2420ef01b2e836fbc05a0a8c73a1016504eb0458>
- <https://git.kernel.org/stable/c/8f44c4a550570cd5903625133f938c6b51310c9b>
- <https://git.kernel.org/stable/c/18b99fa603d0df5e1c898699c17d3b92ddc80746>
- <https://git.kernel.org/stable/c/e232269d511566b1f80872256a48593acc1becf4>
- <https://git.kernel.org/stable/c/7fbfb85b05bc960cc50e09d03e5e562131e48d45>
- <https://git.kernel.org/stable/c/b14fad555302a2104948feaff70503b64c80ac01>
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://ubuntu.com/security/CVE-2025-68814>
- <https://www.cve.org/CVERecord?id=CVE-2025-68814>
- <https://git.kernel.org/linus/b14fad555302a2104948feaff70503b64c80ac01>
- <https://ubuntu.com/security/notices/USN-8096-1>
- <https://ubuntu.com/security/notices/USN-8096-2>
- <https://ubuntu.com/security/notices/USN-8096-3>
- <https://ubuntu.com/security/notices/USN-8096-4>
- <https://ubuntu.com/security/notices/USN-8116-1>
- <https://ubuntu.com/security/notices/USN-8096-5>
- <https://ubuntu.com/security/notices/USN-8141-1>
- <https://ubuntu.com/security/notices/USN-8163-1>
- <https://ubuntu.com/security/notices/USN-8163-2>
- <https://ubuntu.com/security/notices/USN-8177-1>

---

Data as of 2026-12-05T05:33:06.890Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
