CVE-2025-21687

published 10 Feb 2025 · updated 17 Nov 2026

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

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f65ce06387f8c1fb54bd59e18a8428248ec68eaf, Kernel 9377cdc118cf327248f1a9dde7b87de067681dc9, Kernel a20fcaa230f7472456d12cf761ed13938e320ac3 and 16 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=6e3f264560099869f68830cb14b3b3e71e5ac76a <f65ce06387f8c1fb54bd59e18a8428248ec68eaf, >=6e3f264560099869f68830cb14b3b3e71e5ac76a <9377cdc118cf327248f1a9dde7b87de067681dc9, >=6e3f264560099869f68830cb14b3b3e71e5ac76a <a20fcaa230f7472456d12cf761ed13938e320ac3, >=6e3f264560099869f68830cb14b3b3e71e5ac76a <c981c32c38af80737a2fedc16e270546d139ccdd, >=6e3f264560099869f68830cb14b3b3e71e5ac76a <ce9ff21ea89d191e477a02ad7eabf4f996b80a69, >=6e3f264560099869f68830cb14b3b3e71e5ac76a <d19a8650fd3d7aed8d1af1d9a77f979a8430eba1, >=6e3f264560099869f68830cb14b3b3e71e5ac76a <ed81d82bb6e9df3a137f2c343ed689e6c68268ef, >=6e3f264560099869f68830cb14b3b3e71e5ac76a <f21636f24b6786c8b13f1af4319fa75ffcf17f38, =4.1, >=6e3f264560099869f68830cb14b3b3e71e5ac76a <1485932496a1b025235af8aa1e21988d6b7ccd54, >=6e3f264560099869f68830cb14b3b3e71e5ac76a <665cfd1083866f87301bbd232cb8ba48dcf4acce, >=6e3f264560099869f68830cb14b3b3e71e5ac76a <6bcb8a5b70b80143db9bf12dfa7d53636f824d53, >=6e3f264560099869f68830cb14b3b3e71e5ac76a <92340e6c5122d823ad064984ef7513eba9204048f65ce06387f8c1fb54bd59e18a8428248ec68eaf, 9377cdc118cf327248f1a9dde7b87de067681dc9, a20fcaa230f7472456d12cf761ed13938e320ac3, c981c32c38af80737a2fedc16e270546d139ccdd, ce9ff21ea89d191e477a02ad7eabf4f996b80a69, d19a8650fd3d7aed8d1af1d9a77f979a8430eba1, ed81d82bb6e9df3a137f2c343ed689e6c68268ef, f21636f24b6786c8b13f1af4319fa75ffcf17f38, 1485932496a1b025235af8aa1e21988d6b7ccd54, 665cfd1083866f87301bbd232cb8ba48dcf4acce, 6bcb8a5b70b80143db9bf12dfa7d53636f824d53, 92340e6c5122d823ad064984ef7513eba9204048
linux-kernel: Kernel>=5.11.0 <5.15.179, >=5.16.0 <6.1.129, >=5.5.0 <5.10.235, >=6.13.0 <6.13.1, >=6.2.0 <6.6.75, >=6.7.0 <6.12.12, >=4.1.0 <5.4.2915.15.179, 6.1.129, 5.10.235, 6.13.1, 6.6.75, 6.12.12, 5.4.291

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-21687 severity on Zeptric[![CVE-2025-21687](https://zeptric.io/badge/cve/CVE-2025-21687.svg)](https://zeptric.io/cve/CVE-2025-21687)