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

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

CVE-2026-80555

s390/vfio_ccw: Free all memory if cp_init() fails

7.1 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-80555 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 cp_free() is called to unpin/free any memory once an I/O is completed successfully, or if cp_prefetch() fails. But if cp_init() fails, and cp->initialized is not enabled, the same routine cannot be used to free all the memory. An attempt to address this exists in ccwchain_handle_ccw(), where a single call to ccwchain_free() is made for the currently-processed CCW segment. But this will leak other segments (created as a result of a Transfer in Channel) that had been allocated as part of the same channel program. Address this by performing the cleanup outside of the recursive ccwchain_handle_ccw()/ccwchain_loop_tic() logic.

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.1 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:Hsource recompute it
Attack vector
local (AV:L)source
EPSS
0.19%, higher than 7.6% 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
5.35.10.267276bd7ed34d5
5.35.15.218f9bcff265556
5.36.1.18517e01e342af7
5.36.6.154152fcb74a268
5.36.12.1056a917199aaf9
5.36.18.4632e3d364a7b8
5.37.1.104699b54fada1
5.37.274186c2968f8

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 when userspace writes the vfio-ccw io_region (VFIO device mmap/write), triggering fsm_io_request() -> cp_init(); on s390 KVM this is driven by QEMU forwarding guest channel-I/O channel programs, requiring local VFIO/device interaction rather than any network protocol.
AC:LAttack complexity, low
An attacker can deterministically fail cp_init() after allocating multiple TIC-linked ccwchain segments by crafting a channel program whose early TIC targets succeed and a later one fails (invalid CPA, chain-length/count limit, or dma_rw error), leaking prior segments on every attempt without races.
PR:NPrivileges required, none
On s390 KVM with CCW passthrough, a malicious guest can submit crafted multi-TIC channel programs through normal guest I/O; QEMU forwards them to vfio-ccw without the attacker holding host CAP_SYS_ADMIN, root, or other real init-namespace privileges beyond the assigned device.
UI:NUser interaction, none
No victim interaction is required beyond the attacker (or their guest) issuing channel-I/O start requests with a malicious channel program; exploitation does not depend on another user mounting media, accepting prompts, or performing administrative actions at trigger time.
S:CScope, changed
The leaked ccwchain, CCW, and page_array allocations are host kernel slab memory; a guest VM triggering this through passthrough crosses the guest-host virtualization boundary by consuming host resources the guest security domain should not affect.
C:NConfidentiality impact, none
This is a kernel memory leak on the cp_init() error path, not a use-after-free, out-of-bounds read, or other memory corruption; leaked objects are orphaned in kernel heap and are not returned to userspace or the guest, so no information disclosure occurs.
I:NIntegrity impact, none
The flaw only fails to free kernel allocations when cp_init() errors; it does not corrupt memory, modify guest or host data, or provide write or control-flow primitives, and cp->initialized stays false so cp_free() never runs on the error or close paths.
A:HAvailability impact, high
Each failed cp_init() permanently orphans up to CCWCHAIN_COUNT_MAX ccwchain segments (large GFP_DMA allocations), and subsequent cp_init() calls INIT_LIST_HEAD without freeing prior leaks; repeated guest or VFIO I/O requests can exhaust host memory and cause system-wide OOM or severe denial of service.