CVE-2026-80550

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

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

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

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.

Analysis

AI-generated

Technical impact

The s390/vfio_ccw driver in the Linux kernel contains an off‑by‑one loop in ccwchain_calc_length() that reads a 257th channel command word outside the bounds of the CCW array. This out‑of-bounds read can expose kernel memory contents or cause a crash, representing an information‑disclosure or denial‑of‑service flaw.

Affected Systems

All Linux kernel builds that include the s390/vfio_ccw driver and run on IBM Z (s390) hardware are affected until the commit that restructures the loop is applied. No specific release numbers are given, so any configuration containing the vulnerable driver code, regardless of kernel version, is impacted.

Risk and Exploitability

The CVSS score is 7.9, and the EPSS score is unavailable; the vulnerability is not listed in the CISA KEV catalog. The flaw requires local or device-level access to supply malformed channel programs to the vfio_ccw interface, so an attacker who can execute code in that context could trigger the out-of-bounds read and potentially leak kernel data. Because the attack vector is limited to privileged users or system administrators, the immediate risk remains moderate pending a patch, but elevated if the driver is exposed to untrusted code.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the vfio_ccw patch or apply the upstream patch that restructures the loop.
  • If an upgrade is not feasible, disable or unload the vfio_ccw driver to prevent the vulnerable functionality from being used.
  • Restrict access to the vfio_ccw interface by limiting capabilities or preventing untrusted applications from loading the driver, and monitor for abnormal kernel read errors.

Generated by OpenCVE AI on August 27, 2026 at 07:56 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 ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

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

Type Values Removed Values Added
Weaknesses CWE-125
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: s390/vfio_ccw: Fix out of bounds check on CCW array 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.
Title s390/vfio_ccw: Fix out of bounds check on CCW array
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 16, 2026, 7:26 PM
Reserved
Aug 26, 2026, 2:34 PM
Status
Received
Published
Aug 26, 2026, 3:17 PM
Modified
Oct 16, 2026, 8:17 PM
Severity
Moderate
Public date
Aug 26, 2026, 12:00 AM