[PATCH v1 0/6] s390/vfio_ccw fixes

From: Eric Farman

Date: Tue Jul 14 2026 - 19:23:08 EST


This series addresses some pre-existing issues found in the
s390 vfio_ccw (dasd passthrough) driver.

Eric Farman (6):
s390/vfio_ccw: fix out of bounds check on CCW array
s390/vfio_ccw: limit the number of channel program segments
s390/vfio_ccw: free all memory if cp_init() fails
s390/vfio_ccw: copy maximum possible IDAL from guest
s390/vfio_ccw: ensure index for read/write regions are within range
s390/vfio_ccw: lock I/O resources alongside I/O regions

drivers/s390/cio/vfio_ccw_chp.c | 2 +-
drivers/s390/cio/vfio_ccw_cp.c | 58 +++++++++++++++++++++--------
drivers/s390/cio/vfio_ccw_cp.h | 7 ++++
drivers/s390/cio/vfio_ccw_drv.c | 2 +
drivers/s390/cio/vfio_ccw_fsm.c | 5 +++
drivers/s390/cio/vfio_ccw_ops.c | 13 ++++++-
drivers/s390/cio/vfio_ccw_private.h | 2 +-
7 files changed, 70 insertions(+), 19 deletions(-)

--
2.53.0