CVE
CVE-2025-21687
CVE-2025-21687HIGH 7.8EPSS 15%
CNA description
In the Linux kernel, the following vulnerability has been resolved: vfio/platform: check the bounds of read/write syscalls count and offset are passed from user space and not checked, only offset is capped to 40 bits, which can be used to read/write out of bounds of the device.
Affected versions
All Linux kernel vulnerabilities →
- 6.13This version only
- 6.13-rc7This version only
- 6.13-rc6This version only
- 6.13-rc5This version only
- 6.13-rc4This version only
- 6.13-rc3This version only
- 6.13-rc2This version only
- 6.13-rc1This version only
- ≥ 6.7, < 6.12.12Fixed in 6.12.12
- ≥ 6.2, < 6.6.75Fixed in 6.6.75
- ≥ 5.16, < 6.1.128Fixed in 6.1.128
- ≥ 5.11, < 5.15.178Fixed in 5.15.178
- ≥ 5.5, < 5.10.234Fixed in 5.10.234
- ≥ 4.1, < 5.4.290Fixed in 5.4.290
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/1485932496a1b025235af8aa1e21988d6b7ccd54 · Patch
- git.kernel.org/stable/c/665cfd1083866f87301bbd232cb8ba48dcf4acce · Patch
- git.kernel.org/stable/c/6bcb8a5b70b80143db9bf12dfa7d53636f824d53 · Patch
- git.kernel.org/stable/c/92340e6c5122d823ad064984ef7513eba9204048 · Patch
- git.kernel.org/stable/c/a20fcaa230f7472456d12cf761ed13938e320ac3 · Patch
- git.kernel.org/stable/c/c981c32c38af80737a2fedc16e270546d139ccdd · Patch
- git.kernel.org/stable/c/ce9ff21ea89d191e477a02ad7eabf4f996b80a69 · Patch
- git.kernel.org/stable/c/d19a8650fd3d7aed8d1af1d9a77f979a8430eba1 · Patch
- git.kernel.org/stable/c/f21636f24b6786c8b13f1af4319fa75ffcf17f38 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.