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.
Published: 2026-08-26
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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. 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.

Generated by OpenCVE AI on August 26, 2026 at 16:02 UTC.

Remediation

No vendor fix or workaround currently provided.

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 26, 2026 at 16:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 26 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Wed, 26 Aug 2026 14:45:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-26T14:37:22.969Z

Reserved: 2026-08-26T14:34:25.766Z

Link: CVE-2026-80555

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-26T15:17:10.130

Modified: 2026-08-26T15:17:10.130

Link: CVE-2026-80555

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-26T16:15:07Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime