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 9590044780E for ; Wed, 26 Aug 2026 14:39:43 +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=1787755190; cv=none; b=A48RMFSeiYYz/MYumA/TbgYH73yBwQDj/ZzotcJvBtBB68zcfWrChSy0CrqmlaGqYuaQWITMd77+NksgCfnVdgkCtoV2i/HylAYi+2enLa/gpizsMByD0urmsnpKcbwjZgvwaplFuQGFizNt7/WxPm0R8sxLNbw/lD15jRZUaZ8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787755190; c=relaxed/simple; bh=1T7eYFRTm4TEtfVxqct1wxTA8+YBbh/7pN8TBMsy5m8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MGxPFgCuiYpa+dA+eEXv8XRk3poK8P4BVS0xyWBDI8J/41J/S0l9wvRQOWMFV/x+jquX4fMsOIz8zOIV7AdVuLWap9zXGEEZUX4IO0KbOWS8cWjh8kTZaLIa2vHzvNymXrbWoualshRB944jS9zIOKeYOTv1kmujhT/Iqe2vj7g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tzQXLtxb; 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="tzQXLtxb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8BD8F1F00A3A; Wed, 26 Aug 2026 14:39:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787755182; bh=/5hGDyKVbRMi2xCx4+B+cICQFlP6UUo6Ky6N5OazvjU=; h=From:To:Cc:Subject:Date:Reply-To; b=tzQXLtxbpnExXZey3HQfYluMAJ92K4qP2f8UA16vGD4+JwuWfcq6MUyHtBun2kZIK 5+KBVT8/EXWmHbiZUoZ+epAVaF+4a6h+9+BiaHhX6E7fo5kuSscT+ItIf21PB92d3F O8neLcQvzvGKCSsV6Cci1VVtUpy0nFz+WGuxM/i8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80555: s390/vfio_ccw: Free all memory if cp_init() fails Date: Wed, 26 Aug 2026 16:37:51 +0200 Message-ID: <2026082609-CVE-2026-80555-d7d3@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=2872; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YkmioW5HnJqhWXKoWYJm3V/sTFRYR+fuYlwa+YSFIto=; b=owGbwMvMwCRo6H6F97bub03G02pJDFl9v0QPZ+5/2tY/f/ashB1XNjy44vUmpH7nWvlTPMePb 1n8LOLaro5YFgZBJgZZMUWWL9t4ju6vOKToZWh7GmYOKxPIEAYuTgGYyMYkhgW77JKFbhgbr/6w YYuY8vyKrUv3TVvLML9U/syDGVUHf8a4HRRcdH6DozTLOjUA 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: 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. The Linux kernel CVE team has assigned CVE-2026-80555 to this issue. Affected and fixed versions =========================== Issue introduced in 5.3 with commit 8b515be512a2435bb8aedc6390cbe140167f9eb9 and fixed in 6.12.105 with commit 6a917199aaf97904f5619afe3dfdacb155b03e8c Issue introduced in 5.3 with commit 8b515be512a2435bb8aedc6390cbe140167f9eb9 and fixed in 6.18.46 with commit 32e3d364a7b8295120d37e6a6bd433d2de26f748 Issue introduced in 5.3 with commit 8b515be512a2435bb8aedc6390cbe140167f9eb9 and fixed in 7.1.10 with commit 4699b54fada156534cbb39834d47fc9374d7a1f5 Issue introduced in 5.3 with commit 8b515be512a2435bb8aedc6390cbe140167f9eb9 and fixed in 7.2 with commit 74186c2968f8f756ac3226b545b598457c910c75 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-80555 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/6a917199aaf97904f5619afe3dfdacb155b03e8c https://git.kernel.org/stable/c/32e3d364a7b8295120d37e6a6bd433d2de26f748 https://git.kernel.org/stable/c/4699b54fada156534cbb39834d47fc9374d7a1f5 https://git.kernel.org/stable/c/74186c2968f8f756ac3226b545b598457c910c75