data built 2026-10-19T13:16:53Z

Look up another CVE · open CVE-2026-80550 in the interactive tracker

CVE-2026-80550

s390/vfio_ccw: Fix out of bounds check on CCW array

7.9 EPSS 0.2% AV:L

Published 2026-08-26 (2 months ago) by the Linux kernel CNA. Subsystem drivers/s390. Debian urgency: not yet assigned.

Debian does not build this code. The per-release build detail is under "Where it lives" below.

What to do, per Debian release

Debian's own status for CVE-2026-80550 in every release this site tracks, and what each one means in practice. Every status below is the one the Debian Security Team publishes for this CVE. source

ReleaseStatus VersionWhat this means
Debian 12bookwormfixedDLA-4777-1 · 2026-09-08 · text6.1.187-1Update the kernel and reboot. DLA-4777-1 shipped the fix on 2026-09-08, in 6.1.187-1. A running kernel keeps the old code until the machine restarts.
Debian 13trixiefixed6.12.105-1Update the kernel and reboot. Fixed in 6.12.105-1. A running kernel keeps the old code until the machine restarts.
Debian 14forkyfixed7.1.10-1Update the kernel and reboot. Fixed in 7.1.10-1. A running kernel keeps the old code until the machine restarts.
Debian unstablesidfixed7.1.10-1Update the kernel and reboot. Fixed in 7.1.10-1. A running kernel keeps the old code until the machine restarts.
Debian 12bookworm · linux-6.12fixedDLA-4788-1 · 2026-09-19 · text6.12.107-1~deb12u1Update the kernel and reboot. DLA-4788-1 shipped the fix on 2026-09-19, in 6.12.107-1~deb12u1. A running kernel keeps the old code until the machine restarts.

The vulnerability

What the bug is

The routine ccwchain_calc_length() counts the number of channel command words (CCWs) that are chained together in a single channel program, and rejects anything larger than CCWCHAIN_LEN_MAX (256) CCWs. The loop itself is "do..while (count < 257)", and while the logic in is_cpa_within_range() correctly adjusts between the 0-index array of CCWs and the count of CCWs starting at 1, this means it would look at a possible 257th CCW before ending the loop and (correctly) returning an error. Fix this by restructuring the loop to break as soon as 256 CCWs (thus indexes 0-255) are examined, without looking at memory outside the range.

Where it lives

The fix touches these files. If the subsystem is one you do not use, the practical exposure is lower, though the package is still the vulnerable one.

drivers/s390/cio/vfio_ccw_cp.c

What this is
S390 VFIO-CCW DRIVERMAINTAINERS section matched on drivers/s390/cio/vfio_ccw* · linux-s390@vger.kernel.org · Supported

Check it on the machine

grep -wE 'CONFIG_S390|CONFIG_VFIO_CCW' /boot/config-$(uname -r)

Reads the booted kernel's own configuration, on the machine and nowhere else. =y is built in, =m is a module, and an is not set line means the code is not there.

Show whether Debian builds this, per release

Debian does not build this code. In 5 releases below, every kernel flavour Debian publishes has the switch off, so the vulnerable file is compiled into no kernel binary Debian ships.

  • bookworm, trixie, forky, sid, bookworm · linux-6.12n
n
not enabled on any flavour - this release does not build the code
Build switches
CONFIG_S390, CONFIG_VFIO_CCW
Reads as
all on means the file is compiled; any one off means it is not.

From the configuration Debian publishes for every kernel flavour it builds. It covers only the architectures Debian ships a linux-config package for, and nothing about a kernel you built yourself. Debian's own status above stays authoritative about the source package.MAINTAINERS kbuild Makefiles Debian linux-config packages

Signals

Published
2026-08-26 (2 months ago)source
CVSS
7.9 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:Lsource recompute it
Attack vector
local (AV:L)source
EPSS
0.18%, higher than 7.2% of all CVEssource
CISA KEV
not listedthe KEV catalogue
Debian urgency
not yet assignedsource
Subsystem
drivers/s390

Upstream fixes

The versions the CNA records as introducing and fixing this, and the commit for each. source

IntroducedFixed inCommit
4.125.10.2660282fb1c4b63
4.125.15.217907adc667d90
4.126.1.184f20be33d093c
4.126.6.153af3f80ca4c8b
4.126.12.105499a8a66b159
4.126.18.464c2e1d359d7a
4.127.1.10d5d096cd9369
4.127.2a005b7f1a491

Debian advisories

AdvisoryDateShipped toDebian
DLA-4788-12026-09-19bookworm 6.12.107-1~deb12u1tracker
DLA-4777-12026-09-08bookworm 6.1.187-1tracker

Why the CNA scored it this way

Quoted from the kernel CNA's own scoring file, word for word. A highlighted metric carries the most severe value CVSS v3.1 defines for it, which is what pushes the score up. source

AV:LAttack vector, local
The bug is reached only via local VFIO-ccw mediated-device write() on the I/O region (guest channel program relayed by QEMU into fsm_io_request→cp_init→ccwchain_calc_length); vfio-ccw has no network, adjacent-radio, or physical-bus entry point.
AC:LAttack complexity, low
An attacker fully controls guest channel program content and can reliably submit 256 command-chained CCWs so ccwchain_calc_length() reaches the 257th iteration; no race, special timing, or uncontrollable heap layout is required beyond crafting the CCW chain.
PR:NPrivileges required, none
A malicious KVM guest with an assigned vfio-ccw mediated subchannel needs no host credentials or capabilities; it triggers the bug by issuing normal guest I/O that QEMU forwards through VFIO, without init-namespace root or admin setup privileges at exploit time.
UI:NUser interaction, none
Exploitation requires only the attacker's own channel program submission through VFIO passthrough I/O once the device is assigned; no separate victim mount, click, or other user action is needed.
S:CScope, changed
Guest-supplied channel programs are parsed in the host kernel cp_init() path during vfio-ccw device passthrough on IBM Z/LinuxONE, so the out-of-bounds read crosses the guest-to-host VFIO virtualization boundary and can compromise hypervisor memory outside the VM security scope.
C:HConfidentiality impact, high
ccwchain_calc_length() reads one struct ccw1 (8 bytes) past the 256-element guest_cp kmalloc buffer when all CCWs are chained, constituting a kernel heap out-of-bounds read of adjacent slab memory that per kernel guidance enables information disclosure primitives.
I:NIntegrity impact, none
The vulnerability is a single out-of-bounds read used only for chain/TIC validation before returning -EINVAL; it performs no out-of-bounds write and does not modify host or guest data, channel program state, or kernel control structures on the error path.
A:LAvailability impact, low
The out-of-bounds read typically does not crash production kernels because the access stays within the same kmalloc slab page, but KASAN-instrumented or hardened builds can detect it and fault; availability impact is limited rather than a reliable host panic.