CVE Database›Document archive›CVE-2025-21687

CVE-2025-21687

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

Loading…

Severity

Moderate

Red Hat Product Security

6.7

CVSS 3.1

Review impact separately from score.

Published · February 10, 2025

Updated · October 30, 2026

Description

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.

Statement

This vulnerability is rated with a Moderate severity because exploitation requires local system access with privileges to interact with VFIO platform device nodes. In standard Red Hat deployments, access to VFIO device interfaces is restricted to administrative users or dedicated virtualization processes, and platform device passthrough is rarely utilized compared to PCI passthrough. Consequently, unprivileged users cannot trigger this flaw without prior administrative delegation of the underlying platform device.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 6.7
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

CWE-787 · Out-of-bounds Write