Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8E8FC37F326 for ; Wed, 26 Aug 2026 14:39:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787755171; cv=none; b=RMxefiquQuC/a8pF9ZtRu1aQHvlthvjzmeQuf4/IakK0O4yUFQxBG524ni1SdJvQuklegq/oKCDtoDJhVk0ACnn7EgUhB9YPr7scDxqPa8LuLamUN5SGOOkPJhJkI2eW5KZhcZUfgG8cAECNvD6kjCYpMVTjimVDVpual14Xq5k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787755171; c=relaxed/simple; bh=6FaLmHeBUPpDp3LLoffKlv82ORV8UYu84gnMowI/qPM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ON3fCFYNLLbjgp0P3zlTXVHzxPOOe4MMFfddmekUu0D2cgH448nkMBWWMuHGZ9o0N0XqafMX/paLKz5/8uVSEejKMa3n0t3k01qx887Z7c8czMtJy8QRurwYAQenBHXvtIuu2+7aTUYJN7aKK6kOG0ngpL2sQ2CShINwdnm4d+s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IUMUcBrb; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="IUMUcBrb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C80B71F00A3D; Wed, 26 Aug 2026 14:39:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787755165; bh=xDaz20yrfzuwWp+7meMKGtTMQrz83c+5SrVJsTA+uUA=; h=From:To:Cc:Subject:Date:Reply-To; b=IUMUcBrbwkIxiAQC+Cl8jMCdsnHivT24X3pUp0mRaiKU2wBG2mfeiyuU769Zri9oJ exiVsITj3l66diJPO8/aeGM/im3a1g8hs+kdUomZNFRI94+41RyiM8EXFFZbEgVLw7 u9ziHPYGIUOc1ERB6hje+wtfar/yg7bEzyE5n/wM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80550: s390/vfio_ccw: Fix out of bounds check on CCW array Date: Wed, 26 Aug 2026 16:37:46 +0200 Message-ID: <2026082608-CVE-2026-80550-5cb8@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3788; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5CrnmGymPxrogZ8c8UFL/QJvZ6249R4XOUWjFuas1wg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFl9v0R+xTYaNO9ekWkcqbWNocB6D5ulTeXTIxutA8X+d hR13/7YEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPZtYthnkp3e3rYqorl7hd3 fOvdrLHj+0yHzQzzy2O9M7Y/eJ9U2JWvHX584YE3p5cwAgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-80550 to this issue. Affected and fixed versions =========================== Issue introduced in 4.12 with commit 0a19e61e6d4c6192077ead760ba0a2d350987d4c and fixed in 5.10.266 with commit 0282fb1c4b638eecfe2cc558092c460911d8f7e2 Issue introduced in 4.12 with commit 0a19e61e6d4c6192077ead760ba0a2d350987d4c and fixed in 5.15.217 with commit 907adc667d902fafbdb2d740d57b55bd025dc4cd Issue introduced in 4.12 with commit 0a19e61e6d4c6192077ead760ba0a2d350987d4c and fixed in 6.1.184 with commit f20be33d093ce7630c17ff7ed93caf7eaf8ac1a3 Issue introduced in 4.12 with commit 0a19e61e6d4c6192077ead760ba0a2d350987d4c and fixed in 6.6.153 with commit af3f80ca4c8b17f20f9e588def076288fdb49e65 Issue introduced in 4.12 with commit 0a19e61e6d4c6192077ead760ba0a2d350987d4c and fixed in 6.12.105 with commit 499a8a66b1598bfab97182aed15e0f1646074a3d Issue introduced in 4.12 with commit 0a19e61e6d4c6192077ead760ba0a2d350987d4c and fixed in 6.18.46 with commit 4c2e1d359d7a2b82cdf3254e4e480af9417f99fb Issue introduced in 4.12 with commit 0a19e61e6d4c6192077ead760ba0a2d350987d4c and fixed in 7.1.10 with commit d5d096cd9369e986d4e5153baa86b8b35c283e09 Issue introduced in 4.12 with commit 0a19e61e6d4c6192077ead760ba0a2d350987d4c and fixed in 7.2 with commit a005b7f1a491ffda61bff0fd0f6548f8986fb977 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-80550 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 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/0282fb1c4b638eecfe2cc558092c460911d8f7e2 https://git.kernel.org/stable/c/907adc667d902fafbdb2d740d57b55bd025dc4cd https://git.kernel.org/stable/c/f20be33d093ce7630c17ff7ed93caf7eaf8ac1a3 https://git.kernel.org/stable/c/af3f80ca4c8b17f20f9e588def076288fdb49e65 https://git.kernel.org/stable/c/499a8a66b1598bfab97182aed15e0f1646074a3d https://git.kernel.org/stable/c/4c2e1d359d7a2b82cdf3254e4e480af9417f99fb https://git.kernel.org/stable/c/d5d096cd9369e986d4e5153baa86b8b35c283e09 https://git.kernel.org/stable/c/a005b7f1a491ffda61bff0fd0f6548f8986fb977