Linux
s390/vfio_ccw: Limit the number of channel program segments
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0a19e61e6d4c6192077ead760ba0a2d350987d4c, < 2ce00bb19db13606cda79f4b7aae4d9775de3096
- >= 0a19e61e6d4c6192077ead760ba0a2d350987d4c, < 15fb4559a7fdf0b8725e433a71cfd03a1313a48b
- >= 0a19e61e6d4c6192077ead760ba0a2d350987d4c, < a1625f66eaa1200068a0e2c05bc90e65182fc4e3
- >= 0a19e61e6d4c6192077ead760ba0a2d350987d4c, < 06f4d6e5a8af6c2072e8cd39dbc512c683ca7fb2
- >= 0a19e61e6d4c6192077ead760ba0a2d350987d4c, < 4ee94790490ae8dcc97df8597f07836c8a81bbcf
- >= 0a19e61e6d4c6192077ead760ba0a2d350987d4c, < 5405c90d6a47b3014e74ee0618a162449abbbc93
Fixed in 2ce00bb19db13606cda79f4b7aae4d9775de3096, 15fb4559a7fdf0b8725e433a71cfd03a1313a48b, a1625f66eaa1200068a0e2c05bc90e65182fc4e3, 06f4d6e5a8af6c2072e8cd39dbc512c683ca7fb2, 4ee94790490ae8dcc97df8597f07836c8a81bbcf, 5405c90d6a47b3014e74ee0618a162449abbbc93
- 4.12
Fixed in 0, 6.1.191, 6.6.153, 6.12.105, 6.18.46, 7.1.10, 7.2
Mitigation
Upgrade Linux to 2ce00bb19db13606cda79f4b7aae4d9775de3096 or 15fb4559a7fdf0b8725e433a71cfd03a1313a48b or a1625f66eaa1200068a0e2c05bc90e65182fc4e3 or 06f4d6e5a8af6c2072e8cd39dbc512c683ca7fb2 or 4ee94790490ae8dcc97df8597f07836c8a81bbcf or 5405c90d6a47b3014e74ee0618a162449abbbc93 or later.
Upgrade Linux to 0 or 6.1.191 or 6.6.153 or 6.12.105 or 6.18.46 or 7.1.10 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.