CVE-2025-21687
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.12.12, 6.6.75, 6.1.128, 5.15.178, 5.10.234, 5.4.290 |
| Linux | Linux | f65ce06387f8c1fb54bd59e18a8428248ec68eaf, f21636f24b6786c8b13f1af4319fa75ffcf17f38, ed81d82bb6e9df3a137f2c343ed689e6c68268ef, d19a8650fd3d7aed8d1af1d9a77f979a8430eba1, ce9ff21ea89d191e477a02ad7eabf4f996b80a69, c981c32c38af80737a2fedc16e270546d139ccdd, a20fcaa230f7472456d12cf761ed13938e320ac3, 9377cdc118cf327248f1a9dde7b87de067681dc9, 92340e6c5122d823ad064984ef7513eba9204048, 6bcb8a5b70b80143db9bf12dfa7d53636f824d53, 665cfd1083866f87301bbd232cb8ba48dcf4acce, 1485932496a1b025235af8aa1e21988d6b7ccd54 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 6e3f264560099869f68830cb14b3b3e71e5ac76a, 6e3f264560099869f68830cb14b3b3e71e5ac76a, 6e3f264560099869f68830cb14b3b3e71e5ac76a |
| Linux | Linux | 4.1, 0, 5.4.290 |
| Linux | Linux | 6e3f264560099869f68830cb14b3b3e71e5ac76a, 5.4.291, 5.10.234 |
| linux | linux_kernel | 4.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