CVE-2025-21687Published Feb 10, 2025 · Feb 10Updated 2d ago
vfio/platform: check the bounds of read/write syscalls
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 6e3f264560099869f68830cb14b3b3e71e5ac76a · < f65ce06387f8c1fb54bd59e18a8428248ec68eaf| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's vfio/platform component does not check the bounds of count and offset supplied through read and write syscalls; it only caps offset to 40 bits. A local caller can use those values to read or write beyond the device's bounds.
Engineers running Linux kernels with the vfio/platform component should check their systems; affected versions were not specified.