# io_uring: fix io_req_prep_async with provided buffers

CVE record · `CVE-2025-40364`

- **Identifiers:** `CVE-2025-40364`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 18 Apr 2025
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 18 Apr 2025, 13:50 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `c7fb19428d67dd0a2a78a4f237af01d39c78dc5a to before 233b210a678bddf8b49b02a070074a52b87e6d43` (git)
  - affected: `c7fb19428d67dd0a2a78a4f237af01d39c78dc5a to before a1b17713b32c75a90132ea2f92b1257f3bbc20f3` (git)
  - affected: `c7fb19428d67dd0a2a78a4f237af01d39c78dc5a to before b86f1d51731e621e83305dc9564ae14c9ef752bf` (git)
  - affected: `c7fb19428d67dd0a2a78a4f237af01d39c78dc5a to before a94592ec30ff67dc36c424327f1e0a9ceeeb9bd3` (git)
  - affected: `c7fb19428d67dd0a2a78a4f237af01d39c78dc5a to before 35ae7910c349fb3c60439992e2e0e79061e95382` (git)
  - affected: `c7fb19428d67dd0a2a78a4f237af01d39c78dc5a to before f0ef94553868d07c1b14d7743a7e2553e5a831a3` (git)
  - affected: `c7fb19428d67dd0a2a78a4f237af01d39c78dc5a to before d63b0e8a628e62ca85a0f7915230186bb92f8bb4` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.19`
  - unaffected: `before 5.19` (semver)
  - unaffected: `6.1.129 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.78 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.14 to 6.12.*, inclusive` (semver)
  - unaffected: `6.13.3 to 6.13.*, inclusive` (semver)
  - unaffected: `6.14 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0029, the 22nd percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 18 Apr 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2025-40364](https://www.cve.org/CVERecord?id=CVE-2025-40364)
- [NVD: CVE-2025-40364](https://nvd.nist.gov/vuln/detail/CVE-2025-40364)

### References from the CNA

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

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-40364>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-40364/>. Everything for agents: <https://agentprime.io/llms.txt>.
