What’s Vulnerable › Vulnerabilities

CVE-2025-21687: vfio/platform: check the bounds of read/write syscalls

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.234, 5.15.178, 5.4.290, 6.1.128. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-21687 or the next vulnerability affects your stack