Skip to contentSkip to conversation

CVE-2026-80554: s390/vfio_ccw: Limit the number of channel program segments

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 26

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

s390/vfio_ccw: Limit the number of channel program segments

The processing of channel programs, and the CCWs within them, is done recursively. As such, there is an arbitrary (but not architectural) limit to the number of CCWs that can exist in a single channel program.

The vfio-ccw logic breaks these channel programs into segments whenever it encounters a Transfer-In-Channel (TIC) CCW, and the combined number of segments count towards the global limit. Impose an equivalent limit to the number of segments until such logic can be made non-recursive.

The Linux kernel CVE team has assigned CVE-2026-80554 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 4.12 with commit 0a19e61e6d4c6192077ead760ba0a2d350987d4c and fixed in 6.6.153 with commit 15fb4559a7fdf0b8725e433a71cfd03a1313a48b
	Issue introduced in 4.12 with commit 0a19e61e6d4c6192077ead760ba0a2d350987d4c and fixed in 6.12.105 with commit a1625f66eaa1200068a0e2c05bc90e65182fc4e3
	Issue introduced in 4.12 with commit 0a19e61e6d4c6192077ead760ba0a2d350987d4c and fixed in 6.18.46 with commit 06f4d6e5a8af6c2072e8cd39dbc512c683ca7fb2
	Issue introduced in 4.12 with commit 0a19e61e6d4c6192077ead760ba0a2d350987d4c and fixed in 7.1.10 with commit 4ee94790490ae8dcc97df8597f07836c8a81bbcf
	Issue introduced in 4.12 with commit 0a19e61e6d4c6192077ead760ba0a2d350987d4c and fixed in 7.2 with commit 5405c90d6a47b3014e74ee0618a162449abbbc93

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-80554

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:

	drivers/s390/cio/vfio_ccw_cp.c
	drivers/s390/cio/vfio_ccw_cp.h

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/15fb4559a7fdf0b8725e433a71cfd03a1313a48b
	https://git.kernel.org/stable/c/a1625f66eaa1200068a0e2c05bc90e65182fc4e3
	https://git.kernel.org/stable/c/06f4d6e5a8af6c2072e8cd39dbc512c683ca7fb2
	https://git.kernel.org/stable/c/4ee94790490ae8dcc97df8597f07836c8a81bbcf
	https://git.kernel.org/stable/c/5405c90d6a47b3014e74ee0618a162449abbbc93