KernelScan.io

CRITICAL Introduced in 4.12

vfio_ccw ChannelProgram Overflow

CVE-2026-80554

CVSS 9.3 / 10.0 NVD

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

KernelScan AI6.5MEDIUM

01

In the Linux kernel, the following vulnerability has been resolved: s390/vfio_ccw: Limit the number of channel program segments The processing of channel programs, and the CCWs within them, is done recursively. As such, there is an arbitrary (but not architectural) limit to the number of CCWs that can exist in a single channel program. The vfio-ccw logic breaks these channel programs into segments whenever it encounters a Transfer-In-Channel (TIC) CCW, and the combined number of segments count towards the global limit. Impose an equivalent limit to the number of segments until such logic can be made non-recursive.

02

Engine v0.6.0

Risk summary

A guest VM on s390 can submit a channel program with many TIC-linked segments, causing the host kernel to recurse without bound and exhaust its stack, crashing the host. The fix caps the number of segments at 16. Products exposing vfio-ccw passthrough to untrusted guests are at risk; those without s390 hardware or without vfio-ccw are unaffected.

Affecteddrivers/s390/cio/vfio_ccw_cp.c (s390 vfio-ccw)

Vulnerability analysis

The vfio-ccw driver processes channel programs from a guest by recursively handling transfer commands that link segments together. A malicious guest can submit a channel program with too many linked segments, causing the host kernel to recurse so deeply that it exhausts the stack and crashes. The fix enforces a hard limit on how many segments may be processed in a single channel program, stopping further translation once that limit is reached. The flaw can be triggered by any guest virtual machine that has been assigned a vfio-ccw passthrough device on an s390 host; no special guest privileges are needed beyond access to the assigned device.

03

BranchIntroducedFixed inPatch commit
6.64.126.6.15315fb4559a7fd
6.124.126.12.105a1625f66eaa1
6.184.126.18.4606f4d6e5a8af
7.14.127.1.104ee94790490a
mainline4.127.25405c90d6a47
cip/6.124.126.12.108-cip31a1625f66eaa1