CVE-2026-80555

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

Published Aug 26, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

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

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.

Analysis

AI-generated

Technical impact

The flaw in the s390/vfio_ccw subsystem prevents all allocated memory from being released when the cp_init() routine fails. The cp_free() helper is only invoked on successful I/O completion or prefetch failure, but a failed initialization that leaves cp->initialized unset bypasses this cleanup path, leaving CCW segments in memory. If left unchecked, this corrupted state can cause a memory leak event that may grow until the kernel runs out of available memory or swaps, potentially disrupting normal operation. The weakness maps to CWE-401 – Memory Leak.

Affected Systems

The vulnerability is confined to Linux kernels running on IBM S/390 (s390) hardware, affecting the vfio_ccw driver. No specific kernel version information is supplied, so any installation using this driver may be susceptible until the fix is deployed.

Risk and Exploitability

With no EPSS or KEV data, the risk remains uncertain but the CVE’s nature suggests a moderate likelihood of exploitation when privilege and disk I/O conditions allow a CP initialization sequence. The CVSS score of 7.1 indicates a medium‑to‑high severity. An attacker who can cause repeated cp_init() failures could trigger continuous memory leaks, potentially resulting in a denial‑of‑service condition. Because the vulnerability resides in kernel code, a local or privileged attacker would be required to initiate the failure scenario. No direct exploit references are available, so the likelihood of immediate exploitation is low, but the impact of a successful attack would be significant in terms of system availability.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the system kernel to a release where the cp_init failure cleanup has been fixed
  • If a patched kernel is not yet available, avoid using the vfio_ccw interface for CP initialization until a later update
  • Monitor kernel memory usage and apply limits or alerts to detect and mitigate potential memory exhaustion

Generated by OpenCVE AI on August 27, 2026 at 07:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4777-1 linux security update
Debian DLA Debian DLA DLA-4788-1 linux-6.12 security update
Ubuntu USN Ubuntu USN USN-8961-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9029-1 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H'}

Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: s390/vfio_ccw: Free all memory if cp_init() fails 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.
Title s390/vfio_ccw: Free all memory if cp_init() fails
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 27, 2026, 12:40 PM
Reserved
Aug 26, 2026, 2:34 PM
Status
Received
Published
Aug 26, 2026, 3:17 PM
Modified
Aug 27, 2026, 1:18 PM