CVE-2025-21687

Source
https://cve.org/CVERecord?id=CVE-2025-21687
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21687.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21687
Downstream
Related
Published
2025-02-10T15:58:43.944Z
Modified
2026-03-20T12:40:41.025660Z
Summary
vfio/platform: check the bounds of read/write syscalls
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21687.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6e3f264560099869f68830cb14b3b3e71e5ac76a
Fixed
f21636f24b6786c8b13f1af4319fa75ffcf17f38
Fixed
9377cdc118cf327248f1a9dde7b87de067681dc9
Fixed
d19a8650fd3d7aed8d1af1d9a77f979a8430eba1
Fixed
ed81d82bb6e9df3a137f2c343ed689e6c68268ef
Fixed
92340e6c5122d823ad064984ef7513eba9204048
Fixed
f65ce06387f8c1fb54bd59e18a8428248ec68eaf
Fixed
6bcb8a5b70b80143db9bf12dfa7d53636f824d53
Fixed
1485932496a1b025235af8aa1e21988d6b7ccd54
Fixed
c981c32c38af80737a2fedc16e270546d139ccdd
Fixed
a20fcaa230f7472456d12cf761ed13938e320ac3
Fixed
665cfd1083866f87301bbd232cb8ba48dcf4acce
Fixed
ce9ff21ea89d191e477a02ad7eabf4f996b80a69

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21687.json"