vfio/platform: check the bounds of read/write syscalls
Priority LOW 34CWE-125Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.00235 14th percentileScored 2026-11-07
Fix Partial Linux (Linux): 5.4.290, 5.4.291, 5.10.234 +9Red Hat: 1 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 4.1 and later | 5.4.290, 5.4.291, 5.10.234, 5.10.235, 5.15.178, 5.15.179, 6.1.128, 6.1.129, 6.6.75, 6.12.12, 6.13.1, 6.14 | Patch available | CNA |
- Linux VendorLinux Affected 4.1 and later Fixed in 5.4.290, 5.4.291, 5.10.234, 5.10.235, 5.15.178, 5.15.179, 6.1.128, 6.1.129, 6.6.75, 6.12.12, 6.13.1, 6.14 Patch available CNA
CPE configurations NVD · 9
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.1 to before 5.4.290; 5.5 to before 5.10.234; 5.11 to before 5.15.178; 5.16 to before 6.1.128; 6.2 to before 6.6.75; 6.7 to before 6.12.12 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.13:-:*:*:*:*:*:* | 6.13 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:* | 6.13 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:* | 6.13 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:* | 6.13 rc3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.13:rc4:*:*:*:*:*:* | 6.13 rc4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.13:rc5:*:*:*:*:*:* | 6.13 rc5 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.13:rc6:*:*:*:*:*:* | 6.13 rc6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.13:rc7:*:*:*:*:*:* | 6.13 rc7 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.1 to before 5.4.290; 5.5 to before 5.10.234; 5.11 to before 5.15.178; 5.16 to before 6.1.128; 6.2 to before 6.6.75; 6.7 to before 6.12.12 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.13:-:*:*:*:*:*:* Versions 6.13 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:* Versions 6.13 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:* Versions 6.13 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:* Versions 6.13 rc3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.13:rc4:*:*:*:*:*:* Versions 6.13 rc4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.13:rc5:*:*:*:*:*:* Versions 6.13 rc5 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.13:rc6:*:*:*:*:*:* Versions 6.13 rc6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.13:rc7:*:*:*:*:*:* Versions 6.13 rc7 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.4.290, 5.4.291, 5.10.234, 5.10.235, 5.15.178, 5.15.179, 6.1.128, 6.1.129, 6.6.75, 6.12.12, 6.13.1, 6.14
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix planned: Will not fix |
Not affected: 4 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2025-21687
- 2026-10-03 Alias added: GHSA-q3hh-qh22-77x8
References
Patch 9
- 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/1485932496a1b025235af8aa1e21988d6b7ccd54
- 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
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2025-21687 · CVE Program
- CVE-2025-21687 · NVD
- FIRST EPSS
- GHSA-q3hh-qh22-77x8 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-21687 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences