From mboxrd@z Thu Jan 1 00:00:00 1970 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 5FE8A30FF08 for ; Wed, 24 Jun 2026 16:32:39 +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=1782318760; cv=none; b=tvLBBUUcaX/jZ4RXTWh3ijm2qpVRxhW/ckm0LNFrAnfPpRbRXqhLTc5PhPSSXFtsRbm96dlHhYrQrWIBaY3v6eGGZ3Q+WM9L/Y8uNiETECjyw1egqUrFvVkPm9YEyZDRJCxNiNIBCbVQZAReir5IDhw7afzsVUocjSB7YBDKshA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782318760; c=relaxed/simple; bh=y1g4d/jJi3GKsnOSU8vrb+/0mJz0nFdm2W/KiGPzW3c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Eyw+FLVYsB2is1q7uQlnwHZSuWYRinWuGcfkpbUQ5je+u0NNDEKG8jg05aMXi2yki/2tUe7GgOW0nm6mkovufMvdiKJ0AttsR/pc48of7RjbVwFZeHndD6Mfhnxfr2Wlf/wmVXIn75LCuRxtHL3x/8S3oDza4k66gRi/3CoUHnM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LGph2mT8; 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="LGph2mT8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8B2161F000E9; Wed, 24 Jun 2026 16:32:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782318759; bh=Kj5dU55k8FsLGj57RezMvrfb/G4tPN2698xlfhCF324=; h=From:To:Cc:Subject:Date:Reply-To; b=LGph2mT8p+/I6fsyYzw7YHG0qbxP8P3gVN+BmD/Bjnru/4Xx1ismEqIV7hNtevnoe NJonxbdu80hg/BOy1UkSiHDBLslyeMfuVoFm5FBvxhYdcq+oKr8Pll3XCiPpQB4d4J 2bL9uZ+0yWuQCacLcs7JopEMq8k1x++d0SuL4Q1s= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-52968: KVM: s390: pci: fix GAIT table indexing due to double-scaling pointer arithmetic Date: Wed, 24 Jun 2026 17:29:52 +0100 Message-ID: <2026062438-CVE-2026-52968-8803@gregkh> X-Mailer: git-send-email 2.54.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=3153; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Nb43/MMQR8BLwr/LBlRoHIanX/+d3+T+EDq4BJQMGXM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2rJ/iv64W85Vh+xIvxLrOSu2//YFm8e5YjwU/o259r RBvPjSlI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbSY8cwzzygeG7ZDpat3yfo Nd4I3sPyInOqO8M826UaH5lil33SM9KPYS1z2+BeZi0IAA== 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: KVM: s390: pci: fix GAIT table indexing due to double-scaling pointer arithmetic kvm_s390_pci_aif_enable(), kvm_s390_pci_aif_disable(), and aen_host_forward() index the GAIT by manually multiplying the index with sizeof(struct zpci_gaite). Since aift->gait is already a struct zpci_gaite pointer, this double-scales the offset, accessing element aisb*16 instead of aisb. This causes out-of-bounds accesses when aisb >= 32 (with ZPCI_NR_DEVICES=512) Fix by removing the erroneous sizeof multiplication. The Linux kernel CVE team has assigned CVE-2026-52968 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit 73f91b004321f2510fa79e66035dbbf1870fcf56 and fixed in 6.1.175 with commit 31a9d9f9942885aae356a1a57c79e82c5b5b0828 Issue introduced in 6.0 with commit 73f91b004321f2510fa79e66035dbbf1870fcf56 and fixed in 6.6.141 with commit a99a25db131ece5e6c0f7632da606de631efe4f2 Issue introduced in 6.0 with commit 73f91b004321f2510fa79e66035dbbf1870fcf56 and fixed in 6.12.91 with commit 11b8ff5b930b351dd1f6f088dce0beb027ac92d0 Issue introduced in 6.0 with commit 73f91b004321f2510fa79e66035dbbf1870fcf56 and fixed in 6.18.33 with commit b22a2da8792a7bfe743c1a922e77fa499ddedbe8 Issue introduced in 6.0 with commit 73f91b004321f2510fa79e66035dbbf1870fcf56 and fixed in 7.0.10 with commit e7216651b94e92e5433fb2f54b77864642b4ea48 Issue introduced in 6.0 with commit 73f91b004321f2510fa79e66035dbbf1870fcf56 and fixed in 7.1 with commit 16d990a15491cf76cd6eef0846e1b4100e63261a 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-52968 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: arch/s390/kvm/interrupt.c arch/s390/kvm/pci.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/31a9d9f9942885aae356a1a57c79e82c5b5b0828 https://git.kernel.org/stable/c/a99a25db131ece5e6c0f7632da606de631efe4f2 https://git.kernel.org/stable/c/11b8ff5b930b351dd1f6f088dce0beb027ac92d0 https://git.kernel.org/stable/c/b22a2da8792a7bfe743c1a922e77fa499ddedbe8 https://git.kernel.org/stable/c/e7216651b94e92e5433fb2f54b77864642b4ea48 https://git.kernel.org/stable/c/16d990a15491cf76cd6eef0846e1b4100e63261a