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