CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

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.

Classification

CVE ID: CVE-2025-21687

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 5.04% (scored less or equal to compared to others)

EPSS Date: 2025-03-11 (when was this score calculated)

References

https://git.kernel.org/stable/c/f21636f24b6786c8b13f1af4319fa75ffcf17f38
https://git.kernel.org/stable/c/d19a8650fd3d7aed8d1af1d9a77f979a8430eba1
https://git.kernel.org/stable/c/92340e6c5122d823ad064984ef7513eba9204048
https://git.kernel.org/stable/c/6bcb8a5b70b80143db9bf12dfa7d53636f824d53
https://git.kernel.org/stable/c/c981c32c38af80737a2fedc16e270546d139ccdd
https://git.kernel.org/stable/c/a20fcaa230f7472456d12cf761ed13938e320ac3
https://git.kernel.org/stable/c/665cfd1083866f87301bbd232cb8ba48dcf4acce
https://git.kernel.org/stable/c/ce9ff21ea89d191e477a02ad7eabf4f996b80a69

Timeline