# CVE-2025-40364: io\_uring: fix io\_req\_prep\_async with provided buffers

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-26)
- **Published:** 2025-04-18T13:50:24.257Z
- **Modified:** 2026-08-05T12:09:55.585Z

## Who should check

- Anyone running Linux \>= c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, \< 233b210a678bddf8b49b02a070074a52b87e6d43; \>= c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, \< a1b17713b32c75a90132ea2f92b1257f3bbc20f3; \>= c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, \< b86f1d51731e621e83305dc9564ae14c9ef752bf; \>= c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, \< a94592ec30ff67dc36c424327f1e0a9ceeeb9bd3; \>= c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, \< 35ae7910c349fb3c60439992e2e0e79061e95382; \>= c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, \< f0ef94553868d07c1b14d7743a7e2553e5a831a3; \>= c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, \< d63b0e8a628e62ca85a0f7915230186bb92f8bb4
- Anyone running Linux 5.19

## 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.

## Affected and fixed versions

- Linux: \>= c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, \< 233b210a678bddf8b49b02a070074a52b87e6d43; \>= c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, \< a1b17713b32c75a90132ea2f92b1257f3bbc20f3; \>= c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, \< b86f1d51731e621e83305dc9564ae14c9ef752bf; \>= c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, \< a94592ec30ff67dc36c424327f1e0a9ceeeb9bd3; \>= c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, \< 35ae7910c349fb3c60439992e2e0e79061e95382; \>= c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, \< f0ef94553868d07c1b14d7743a7e2553e5a831a3; \>= c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, \< d63b0e8a628e62ca85a0f7915230186bb92f8bb4 (cvelist)
- Linux: 5.19 (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-40364. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40364.md
Affected: Linux >= c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, < 233b210a678bddf8b49b02a070074a52b87e6d43; >= c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, < a1b17713b32c75a90132ea2f92b1257f3bbc20f3; >= c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, < b86f1d51731e621e83305dc9564ae14c9ef752bf; >= c7fb19428d67dd0a2a78a4f…
Fixed in: Linux 233b210a678bddf8b49b02a070074a52b87e6d43, Linux 35ae7910c349fb3c60439992e2e0e79061e95382

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-40364 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, \< 233b210a678bddf8b49b02a070074a52b87e6d43; \>= c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, \< a1b17713b32c75a90132ea2f92b1257f3bbc20f3; \>= c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, \< b86f1d51731e621e83305dc9564ae14c9ef752bf; \>= c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, \< a94592ec30ff67dc36c424327f1e0a9ceeeb9bd3; \>= c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, \< 35ae7910c349fb3c60439992e2e0e79061e95382; \>= c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, \< f0ef94553868d07c1b14d7743a7e2553e5a831a3; \>= c7fb19428d67dd0a2a78a4f237af01d39c78dc5a, \< d63b0e8a628e62ca85a0f7915230186bb92f8bb4; Linux 5.19.

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

Yes. Fixed in Linux 233b210a678bddf8b49b02a070074a52b87e6d43, Linux 35ae7910c349fb3c60439992e2e0e79061e95382. No fix listed yet: follow the vendor advisory.

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

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

- patch: <https://git.kernel.org/stable/c/233b210a678bddf8b49b02a070074a52b87e6d43>
- patch: <https://git.kernel.org/stable/c/a1b17713b32c75a90132ea2f92b1257f3bbc20f3>
- patch: <https://git.kernel.org/stable/c/b86f1d51731e621e83305dc9564ae14c9ef752bf>
- patch: <https://git.kernel.org/stable/c/a94592ec30ff67dc36c424327f1e0a9ceeeb9bd3>
- patch: <https://git.kernel.org/stable/c/35ae7910c349fb3c60439992e2e0e79061e95382>
- patch: <https://git.kernel.org/stable/c/f0ef94553868d07c1b14d7743a7e2553e5a831a3>
- patch: <https://git.kernel.org/stable/c/d63b0e8a628e62ca85a0f7915230186bb92f8bb4>

## 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-40364>

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