# vfio/platform: check the bounds of read/write syscalls

CVE record · `CVE-2025-21687`

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

Published by the CVE Program (CNA: Linux) at 10 Feb 2025, 15:58 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: `6e3f264560099869f68830cb14b3b3e71e5ac76a to before f21636f24b6786c8b13f1af4319fa75ffcf17f38` (git)
  - affected: `6e3f264560099869f68830cb14b3b3e71e5ac76a to before 9377cdc118cf327248f1a9dde7b87de067681dc9` (git)
  - affected: `6e3f264560099869f68830cb14b3b3e71e5ac76a to before d19a8650fd3d7aed8d1af1d9a77f979a8430eba1` (git)
  - affected: `6e3f264560099869f68830cb14b3b3e71e5ac76a to before ed81d82bb6e9df3a137f2c343ed689e6c68268ef` (git)
  - affected: `6e3f264560099869f68830cb14b3b3e71e5ac76a to before 92340e6c5122d823ad064984ef7513eba9204048` (git)
  - affected: `6e3f264560099869f68830cb14b3b3e71e5ac76a to before f65ce06387f8c1fb54bd59e18a8428248ec68eaf` (git)
  - affected: `6e3f264560099869f68830cb14b3b3e71e5ac76a to before 6bcb8a5b70b80143db9bf12dfa7d53636f824d53` (git)
  - affected: `6e3f264560099869f68830cb14b3b3e71e5ac76a to before 1485932496a1b025235af8aa1e21988d6b7ccd54` (git)
  - affected: `6e3f264560099869f68830cb14b3b3e71e5ac76a to before c981c32c38af80737a2fedc16e270546d139ccdd` (git)
  - affected: `6e3f264560099869f68830cb14b3b3e71e5ac76a to before a20fcaa230f7472456d12cf761ed13938e320ac3` (git)
  - affected: `6e3f264560099869f68830cb14b3b3e71e5ac76a to before 665cfd1083866f87301bbd232cb8ba48dcf4acce` (git)
  - affected: `6e3f264560099869f68830cb14b3b3e71e5ac76a to before ce9ff21ea89d191e477a02ad7eabf4f996b80a69` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.1`
  - unaffected: `before 4.1` (semver)
  - unaffected: `5.4.290 to 5.4.*, inclusive` (semver)
  - unaffected: `5.4.291 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.234 to 5.10.*, inclusive` (semver)
  - unaffected: `5.10.235 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.178 to 5.15.*, inclusive` (semver)
  - unaffected: `5.15.179 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.128 to 6.1.*, inclusive` (semver)
  - unaffected: `6.1.129 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.75 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.12 to 6.12.*, inclusive` (semver)
  - and 2 more
  - 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.0024, the 14th 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 10 Feb 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/f21636f24b6786c8b13f1af4319fa75ffcf17f38>
- <https://git.kernel.org/stable/c/9377cdc118cf327248f1a9dde7b87de067681dc9>
- <https://git.kernel.org/stable/c/d19a8650fd3d7aed8d1af1d9a77f979a8430eba1>
- <https://git.kernel.org/stable/c/ed81d82bb6e9df3a137f2c343ed689e6c68268ef>
- <https://git.kernel.org/stable/c/92340e6c5122d823ad064984ef7513eba9204048>
- <https://git.kernel.org/stable/c/f65ce06387f8c1fb54bd59e18a8428248ec68eaf>
- <https://git.kernel.org/stable/c/6bcb8a5b70b80143db9bf12dfa7d53636f824d53>
- <https://git.kernel.org/stable/c/1485932496a1b025235af8aa1e21988d6b7ccd54>
- <https://git.kernel.org/stable/c/c981c32c38af80737a2fedc16e270546d139ccdd>
- <https://git.kernel.org/stable/c/a20fcaa230f7472456d12cf761ed13938e320ac3>
- <https://git.kernel.org/stable/c/665cfd1083866f87301bbd232cb8ba48dcf4acce>
- <https://git.kernel.org/stable/c/ce9ff21ea89d191e477a02ad7eabf4f996b80a69>

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-21687>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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