7.8high
vfio/platform: check the bounds of read/write syscalls
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.35% (higher than 21% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 6e3f264560099869f68830cb14b3b3e71e5ac76a before f21636f24b6786c8b13f1af4319fa75ffcf17f38, from 6e3f264560099869f68830cb14b3b3e71e5ac76a before 9377cdc118cf327248f1a9dde7b87de067681dc9, from 6e3f264560099869f68830cb14b3b3e71e5ac76a before d19a8650fd3d7aed8d1af1d9a77f979a8430eba1, from 6e3f264560099869f68830cb14b3b3e71e5ac76a before ed81d82bb6e9df3a137f2c343ed689e6c68268ef, from 6e3f264560099869f68830cb14b3b3e71e5ac76a before 92340e6c5122d823ad064984ef7513eba9204048, from 6e3f264560099869f68830cb14b3b3e71e5ac76a before f65ce06387f8c1fb54bd59e18a8428248ec68eaf, from 6e3f264560099869f68830cb14b3b3e71e5ac76a before 6bcb8a5b70b80143db9bf12dfa7d53636f824d53, from 6e3f264560099869f68830cb14b3b3e71e5ac76a before 1485932496a1b025235af8aa1e21988d6b7ccd54 and 5 more Not affected: before 4.1, from 5.4.290 up to 5.4.*, from 5.4.291 up to 5.4.*, from 5.10.234 up to 5.10.*, from 5.10.235 up to 5.10.*, from 5.15.178 up to 5.15.* | CVE List |
| linux linux_kernel | from 4.1 before 5.4.290, from 5.5 before 5.10.234, from 5.11 before 5.15.178, from 5.16 before 6.1.128, from 6.2 before 6.6.75, from 6.7 before 6.12.12, 6.13 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: vfio/platform: comprueba que los límites de las llamadas al sistema de lectura/escritura count y offset se pasan desde el espacio del usuario y no se comprueban, solo offset está limitado a 40 bits, que se pueden usar para leer/escribir fuera de los límites del dispositivo.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-21687 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2025-21687 changed 2026-07-30 | Public domain |