CVE-2025-40364
io_uring: fix io_req_prep_async with provided buffers
Check your servers for CVE-2025-40364
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-40364 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 io_req_prep_async with provided buffers
io_req_prep_async() can import provided buffers, commit the ring state by giving up on that before, it'll be reimported later if needed.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 23.1% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, before 233b210a678bddf8b49b02a070074a52b87e6d43 affected from c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, before a1b17713b32c75a90132ea2f92b1257f3bbc20f3 affected from c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, before b86f1d51731e621e83305dc9564ae14c9ef752bf affected from c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, before a94592ec30ff67dc36c424327f1e0a9ceeeb9bd3 affected from c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, before 35ae7910c349fb3c60439992e2e0e79061e95382 affected from c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, before f0ef94553868d07c1b14d7743a7e2553e5a831a3 affected from c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, before d63b0e8a628e62ca85a0f7915230186bb92f8bb4
Other versions: unaffected
|
| Linux |
affected 5.19 unaffected before 5.19 unaffected from 6.1.129 up to and including 6.1.* unaffected from 6.6.78 up to and including 6.6.* unaffected from 6.12.14 up to and including 6.12.* unaffected from 6.13.3 up to and including 6.13.* unaffected 6.14 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-40364 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-40364
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-40364
trivy image --scanners vuln IMAGE | grep CVE-2025-40364
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/233b210a678bddf8b49b02a070074a52b87e6d43 git.kernel.org
- https://git.kernel.org/stable/c/a1b17713b32c75a90132ea2f92b1257f3bbc20f3 git.kernel.org
- https://git.kernel.org/stable/c/b86f1d51731e621e83305dc9564ae14c9ef752bf git.kernel.org
- https://git.kernel.org/stable/c/a94592ec30ff67dc36c424327f1e0a9ceeeb9bd3 git.kernel.org
- https://git.kernel.org/stable/c/35ae7910c349fb3c60439992e2e0e79061e95382 git.kernel.org
- https://git.kernel.org/stable/c/f0ef94553868d07c1b14d7743a7e2553e5a831a3 git.kernel.org
- https://git.kernel.org/stable/c/d63b0e8a628e62ca85a0f7915230186bb92f8bb4 git.kernel.org
Source: the record CVE-2025-40364 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