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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.27% (percentile 12, 2026-11-26)
- **Published:** 2026-01-13T15:29:19.129Z
- **Modified:** 2026-11-10T13:18:00.667Z

## Who should check

- Anyone running Linux \>= b9445598d8c60a1379887b957024b71343965f74, \< 2420ef01b2e836fbc05a0a8c73a1016504eb0458; \>= b9445598d8c60a1379887b957024b71343965f74, \< 8f44c4a550570cd5903625133f938c6b51310c9b; \>= b9445598d8c60a1379887b957024b71343965f74, \< 18b99fa603d0df5e1c898699c17d3b92ddc80746; \>= b9445598d8c60a1379887b957024b71343965f74, \< e232269d511566b1f80872256a48593acc1becf4; \>= b9445598d8c60a1379887b957024b71343965f74, \< 7fbfb85b05bc960cc50e09d03e5e562131e48d45; \>= b9445598d8c60a1379887b957024b71343965f74, \< b14fad555302a2104948feaff70503b64c80ac01
- Anyone running Linux 5.15

## Description

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.

## Affected and fixed versions

- Linux: \>= b9445598d8c60a1379887b957024b71343965f74, \< 2420ef01b2e836fbc05a0a8c73a1016504eb0458; \>= b9445598d8c60a1379887b957024b71343965f74, \< 8f44c4a550570cd5903625133f938c6b51310c9b; \>= b9445598d8c60a1379887b957024b71343965f74, \< 18b99fa603d0df5e1c898699c17d3b92ddc80746; \>= b9445598d8c60a1379887b957024b71343965f74, \< e232269d511566b1f80872256a48593acc1becf4; \>= b9445598d8c60a1379887b957024b71343965f74, \< 7fbfb85b05bc960cc50e09d03e5e562131e48d45; \>= b9445598d8c60a1379887b957024b71343965f74, \< b14fad555302a2104948feaff70503b64c80ac01 (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68814. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68814.md
Affected: Linux >= b9445598d8c60a1379887b957024b71343965f74, < 2420ef01b2e836fbc05a0a8c73a1016504eb0458; >= b9445598d8c60a1379887b957024b71343965f74, < 8f44c4a550570cd5903625133f938c6b51310c9b; >= b9445598d8c60a1379887b957024b71343965f74, < 18b99fa603d0df5e1c898699c17d3b92ddc80746; >= b9445598d8c60a1379887b9…
Fixed in: Linux 2420ef01b2e836fbc05a0a8c73a1016504eb0458, Linux 8f44c4a550570cd5903625133f938c6b51310c9b, Linux 18b99fa603d0df5e1c898699c17d3b92ddc80746, Linux 7fbfb85b05bc960cc50e09d03e5e562131e48d45

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68814 being exploited?

There is no confirmed exploitation: CVE-2025-68814 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-68814?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-68814?

Linux \>= b9445598d8c60a1379887b957024b71343965f74, \< 2420ef01b2e836fbc05a0a8c73a1016504eb0458; \>= b9445598d8c60a1379887b957024b71343965f74, \< 8f44c4a550570cd5903625133f938c6b51310c9b; \>= b9445598d8c60a1379887b957024b71343965f74, \< 18b99fa603d0df5e1c898699c17d3b92ddc80746; \>= b9445598d8c60a1379887b957024b71343965f74, \< e232269d511566b1f80872256a48593acc1becf4; \>= b9445598d8c60a1379887b957024b71343965f74, \< 7fbfb85b05bc960cc50e09d03e5e562131e48d45; \>= b9445598d8c60a1379887b957024b71343965f74, \< b14fad555302a2104948feaff70503b64c80ac01; Linux 5.15.

### Is there a fix for CVE-2025-68814?

Yes. Fixed in Linux 2420ef01b2e836fbc05a0a8c73a1016504eb0458, Linux 8f44c4a550570cd5903625133f938c6b51310c9b, Linux 18b99fa603d0df5e1c898699c17d3b92ddc80746, Linux 7fbfb85b05bc960cc50e09d03e5e562131e48d45. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-68814?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/2420ef01b2e836fbc05a0a8c73a1016504eb0458>
- other: <https://git.kernel.org/stable/c/8f44c4a550570cd5903625133f938c6b51310c9b>
- other: <https://git.kernel.org/stable/c/18b99fa603d0df5e1c898699c17d3b92ddc80746>
- other: <https://git.kernel.org/stable/c/e232269d511566b1f80872256a48593acc1becf4>
- other: <https://git.kernel.org/stable/c/7fbfb85b05bc960cc50e09d03e5e562131e48d45>
- other: <https://git.kernel.org/stable/c/b14fad555302a2104948feaff70503b64c80ac01>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68814>

HTML: <https://flawdb.com/CVE-2025-68814> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68814>
