Out-of-bounds Read in Linux
CVE-2025-21687
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.002, 14.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 6e3f264560099869f68830cb14b3b3e71e5ac76a, 4.1, 0
- Linux Kernel — versions 6.13
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (fkie-cad/nvd-json-data-feeds, w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/f21636f24b6786c8b13f1af4319fa75ffcf17f38 (Patch)
- git.kernel.org/stable/c/9377cdc118cf327248f1a9dde7b87de067681dc9
- git.kernel.org/stable/c/d19a8650fd3d7aed8d1af1d9a77f979a8430eba1 (Patch)
- git.kernel.org/stable/c/ed81d82bb6e9df3a137f2c343ed689e6c68268ef
- git.kernel.org/stable/c/92340e6c5122d823ad064984ef7513eba9204048 (Patch)
- git.kernel.org/stable/c/f65ce06387f8c1fb54bd59e18a8428248ec68eaf
- git.kernel.org/stable/c/6bcb8a5b70b80143db9bf12dfa7d53636f824d53 (Patch)
- git.kernel.org/stable/c/1485932496a1b025235af8aa1e21988d6b7ccd54 (Patch)
- git.kernel.org/stable/c/c981c32c38af80737a2fedc16e270546d139ccdd (Patch)
- git.kernel.org/stable/c/a20fcaa230f7472456d12cf761ed13938e320ac3 (Patch)