CVE-2025-68814
io_uring: fix filename leak in __io_openat_prep()
Check your servers for CVE-2025-68814
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-68814 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.9% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from b9445598d8c60a1379887b957024b71343965f74, before 2420ef01b2e836fbc05a0a8c73a1016504eb0458 affected from b9445598d8c60a1379887b957024b71343965f74, before 8f44c4a550570cd5903625133f938c6b51310c9b affected from b9445598d8c60a1379887b957024b71343965f74, before 18b99fa603d0df5e1c898699c17d3b92ddc80746 affected from b9445598d8c60a1379887b957024b71343965f74, before e232269d511566b1f80872256a48593acc1becf4 affected from b9445598d8c60a1379887b957024b71343965f74, before 7fbfb85b05bc960cc50e09d03e5e562131e48d45 affected from b9445598d8c60a1379887b957024b71343965f74, before b14fad555302a2104948feaff70503b64c80ac01
Other versions: unaffected
|
| Linux |
affected 5.15 unaffected before 5.15 unaffected from 5.15.198 up to and including 5.15.* unaffected from 6.1.160 up to and including 6.1.* unaffected from 6.6.120 up to and including 6.6.* unaffected from 6.12.64 up to and including 6.12.* unaffected from 6.18.3 up to and including 6.18.* unaffected 6.19 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-68814 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-68814
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-68814
trivy image --scanners vuln IMAGE | grep CVE-2025-68814
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/2420ef01b2e836fbc05a0a8c73a1016504eb0458 git.kernel.org
- https://git.kernel.org/stable/c/8f44c4a550570cd5903625133f938c6b51310c9b git.kernel.org
- https://git.kernel.org/stable/c/18b99fa603d0df5e1c898699c17d3b92ddc80746 git.kernel.org
- https://git.kernel.org/stable/c/e232269d511566b1f80872256a48593acc1becf4 git.kernel.org
- https://git.kernel.org/stable/c/7fbfb85b05bc960cc50e09d03e5e562131e48d45 git.kernel.org
- https://git.kernel.org/stable/c/b14fad555302a2104948feaff70503b64c80ac01 git.kernel.org
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html cert-portal.siemens.com
Source: the record CVE-2025-68814 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse