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
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
| Release | Status | Version | What this means |
|---|---|---|---|
| Debian 12bookworm | fixedDLA-4777-1 · 2026-09-08 · text | 6.1.187-1 | Update 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 13trixie | fixed | 6.12.105-1 | Update the kernel and reboot. Fixed in 6.12.105-1. A running kernel keeps the old code until the machine restarts. |
| Debian 14forky | fixed | 7.1.10-1 | Update the kernel and reboot. Fixed in 7.1.10-1. A running kernel keeps the old code until the machine restarts. |
| Debian unstablesid | fixed | 7.1.10-1 | Update 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.12 | fixedDLA-4788-1 · 2026-09-19 · text | 6.12.107-1~deb12u1 | Update 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
| Introduced | Fixed in | Commit |
|---|---|---|
| 4.12 | 5.10.266 | 0282fb1c4b63 |
| 4.12 | 5.15.217 | 907adc667d90 |
| 4.12 | 6.1.184 | f20be33d093c |
| 4.12 | 6.6.153 | af3f80ca4c8b |
| 4.12 | 6.12.105 | 499a8a66b159 |
| 4.12 | 6.18.46 | 4c2e1d359d7a |
| 4.12 | 7.1.10 | d5d096cd9369 |
| 4.12 | 7.2 | a005b7f1a491 |
Debian advisories
| Advisory | Date | Shipped to | Debian |
|---|---|---|---|
| DLA-4788-1 | 2026-09-19 | bookworm 6.12.107-1~deb12u1 | tracker |
| DLA-4777-1 | 2026-09-08 | bookworm 6.1.187-1 | tracker |
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.