KernelScan.io

HIGH Introduced in 5.2

vfio_ccw RegionIndex OOB

CVE-2026-80552

CVSS 8.8 / 10.0 NVD

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

KernelScan AI8.5HIGH

01

In the Linux kernel, the following vulnerability has been resolved: s390/vfio_ccw: Ensure index for read/write regions are within range The introduction of the capability chain rightly clamped the region indexes to the range of the capabilities itself, but neglected to do so for the existing read/write regions which should also be enforced.

02

Engine v0.6.0

Risk summary

An out-of-bounds array access in the s390 VFIO-CCW mediated device driver allows a VM guest with a passed-through channel I/O device to read or write kernel memory on the host. This is exploitable as a virtual machine escape on s390 systems running KVM with VFIO-CCW device passthrough. The bug requires no race conditions or special privileges beyond having the VFIO device assigned.

Affecteddrivers/s390/cio/vfio_ccw_ops.c, vfio_ccw_async.c, vfio_ccw_chp.c (s390 VFIO-CCW mediated device driver)

Vulnerability analysis

The VFIO-CCW mediated device driver fails to validate the region index before using it to access an internal array of region descriptors during read and write operations. When support for extended device regions was added, bounds checking was applied to the information-querying path but was omitted from the actual read and write paths, allowing a caller-supplied index to reach beyond the allocated array and access arbitrary kernel memory. The fix adds an explicit bounds check against the number of registered regions and hardens the index handling in all read and write paths. This is reachable from a virtual machine guest on s390 systems where a VFIO-CCW device has been assigned; the guest can influence the region index through normal device interactions, making this a potential VM-to-host escape. No special privileges are needed beyond the device being assigned by the host administrator.

03

BranchIntroducedFixed inPatch commit
5.155.25.15.2183acbedf5c0b8
6.15.26.1.184d3b1e38404b2
6.65.26.6.15379ea5e0c4c8a
6.125.26.12.105d597fa127380
6.185.26.18.46649badf3a2fd
7.15.27.1.10988d9b5be3c2
mainline5.27.29f5f9a78fedc
cip/6.15.26.1.187-cip60d3b1e38404b2
cip/6.125.26.12.108-cip31d597fa127380