All reports
Medium

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-21687

Probability of exploitation in the next 30 days: 0.24%

FIRST EPSS · 2026-11-18

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.

A flaw was found in the Linux kernel's Virtual Function I/O (VFIO) platform driver. The driver fails to properly validate the size and offset parameters during read and write operations initiated from user space. A local user with permissions to access the affected VFIO device nodes can exploit this flaw to cause out-of-bounds memory access. This may result in a Denial of Service (DoS) via a system crash or lead to unauthorized information disclosure.