VDB

CVE-2025-21687

CVE-2025-21687 PUBLISHED CVSS 7.8 HIGH

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

Reported by linux · Published February 10, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.12.12, 6.6.75, 6.1.128, 5.15.178, 5.10.234, 5.4.290
LinuxLinuxf65ce06387f8c1fb54bd59e18a8428248ec68eaf, f21636f24b6786c8b13f1af4319fa75ffcf17f38, ed81d82bb6e9df3a137f2c343ed689e6c68268ef, d19a8650fd3d7aed8d1af1d9a77f979a8430eba1, ce9ff21ea89d191e477a02ad7eabf4f996b80a69, c981c32c38af80737a2fedc16e270546d139ccdd, a20fcaa230f7472456d12cf761ed13938e320ac3, 9377cdc118cf327248f1a9dde7b87de067681dc9, 92340e6c5122d823ad064984ef7513eba9204048, 6bcb8a5b70b80143db9bf12dfa7d53636f824d53, 665cfd1083866f87301bbd232cb8ba48dcf4acce, 1485932496a1b025235af8aa1e21988d6b7ccd54

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux6e3f264560099869f68830cb14b3b3e71e5ac76a, 6e3f264560099869f68830cb14b3b3e71e5ac76a, 6e3f264560099869f68830cb14b3b3e71e5ac76a
LinuxLinux4.1, 0, 5.4.290
LinuxLinux6e3f264560099869f68830cb14b3b3e71e5ac76a, 5.4.291, 5.10.234
linuxlinux_kernel4.1, 4.1, 4.1

Timeline

  • Feb 10, 2025 Coalition ESS Score (16 in total, the first dated here)
  • Feb 10, 2025 CVE Published
  • Feb 11, 2025 EPSS Score (30 in total, the first dated here)
  • Dec 22, 2025 Security Advisory (97 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (81 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-21687
vulnetix vdb fixes CVE-2025-21687

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21687/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›