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 C00303DFC80 for ; Tue, 6 Oct 2026 10:25:56 +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=1791282357; cv=none; b=a1D7vtRDSo42Rh4Ln2+Ifev/r6BClVMztbac2u0GqZyhklaU0lW4i29suTa756b+7ujAJHXmrImzdbLAL4zHqPUXoG5Ui1urwjaxYc6Sag09Bqc7V7Js0oeStfi7DTgQu25wKb+qHvzIuo4gxJwZORmcG2tEBFTVvrG5t65xv2k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282357; c=relaxed/simple; bh=so6jUfilBsiLU566IpssITpKEmScsiU8bjrei2Tsp7c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qfht6P85ulFU3ZpZVGaZKNTh0rt/hh55BL8Lyvg3lNFL9l4FKhvkYwoBET/DrZEvRAr/z8mkLYqi6cZa86WIZEFlKnDVyGPCXY9V3FDAN1d9Y4H2Ql4bH5u8fm3g7guuuGSyRhv91GJSL9wk49A0EqW/ttCTERhJLlHcP6Lr4rg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=df1BaZfp; 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="df1BaZfp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C3CF01F000FF; Tue, 6 Oct 2026 10:25:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791282356; bh=ce+ENiNTQJ0B96ZwoMk76PGpZDgA9xZUKYvf1/ucsEU=; h=From:To:Cc:Subject:Date:Reply-To; b=df1BaZfpISmCOKDROOjtDtqm/b0W8mfV3pR79UmQu2Bysy06UQB05AJmMrH5nRVZQ LU1jVIV7PZwLbiW3GwAQUto/vzPFGYFG4MChhNgoGqMcYEtyVk109YN1O8pmVlKjh8 Wuucxw2aiZgGZPIujz3uQIBoy8frFwiRsjZiBo84= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98282: powerpc/iommu: Fix the overflow validation in iommu_tce_check_ioba Date: Tue, 6 Oct 2026 10:46:23 +0200 Message-ID: <2026100605-CVE-2026-98282-a578@gregkh> X-Mailer: git-send-email 2.56.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=3712; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Och8LBDH6su5dboeqOD5Ihn5rFFMWI4Dm9XgbXYGtK4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtgqeWlFxs+v1tnXWt5O+eyhm/Nvrfv5zztGG/MxPv 9JDMt+v6IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ6B9nmMOZKdQy71jU3GdH H694t8is0f2e1iSG+Sn9xiUvT/EGlyiKuMf827Z7CbPQAwA= 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: powerpc/iommu: Fix the overflow validation in iommu_tce_check_ioba The commit b1af23d836f8 ("KVM: PPC: iommu: Unify TCE checking") unified IOBA parameter checking across KVM and VFIO into iommu_tce_check_ioba(). While doing so, the passed in argument npages is ignored and constant value '1' is used leaving out a possible overflow as the callers can legitimately be using npages > 1 for H_STUFF_TCE or H_PUT_TCE_INDIRECT cases. Fix this by accounting for 'npages', checking for arithmetic overflow, and verifying that the entire requested range (ioba - offset + npages) does not exceed the table capacity 'size'. The Linux kernel CVE team has assigned CVE-2026-98282 to this issue. Affected and fixed versions =========================== Issue introduced in 4.12 with commit b1af23d836f811137d504d14d4cbdd01929dec34 and fixed in 5.10.271 with commit 98d8dcc4ebd10523507d4478e148809a7771a213 Issue introduced in 4.12 with commit b1af23d836f811137d504d14d4cbdd01929dec34 and fixed in 5.15.222 with commit 9fd9c9bbb05417f468a11fb6d145d7ff61f4a868 Issue introduced in 4.12 with commit b1af23d836f811137d504d14d4cbdd01929dec34 and fixed in 6.1.189 with commit 3776bf56e06980e8a12c8c0565d9e6ac44965f03 Issue introduced in 4.12 with commit b1af23d836f811137d504d14d4cbdd01929dec34 and fixed in 6.6.158 with commit d6a1779129d936bc1fbab80181165da544eab736 Issue introduced in 4.12 with commit b1af23d836f811137d504d14d4cbdd01929dec34 and fixed in 6.12.112 with commit d48ceb6e1a6915c7bac4f902554a1047365cdff2 Issue introduced in 4.12 with commit b1af23d836f811137d504d14d4cbdd01929dec34 and fixed in 6.18.54 with commit 0543813753ef5cfbd6fa96694f7acf783fa01af7 Issue introduced in 4.12 with commit b1af23d836f811137d504d14d4cbdd01929dec34 and fixed in 7.2.8 with commit 314091243159f8e3749bc719bb129f423f72fd86 Issue introduced in 4.12 with commit b1af23d836f811137d504d14d4cbdd01929dec34 and fixed in 7.3-rc4 with commit 0b271f7d7f5ed45bc498a03ce0aa9cfd8402fc71 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-98282 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/powerpc/kernel/iommu.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/98d8dcc4ebd10523507d4478e148809a7771a213 https://git.kernel.org/stable/c/9fd9c9bbb05417f468a11fb6d145d7ff61f4a868 https://git.kernel.org/stable/c/3776bf56e06980e8a12c8c0565d9e6ac44965f03 https://git.kernel.org/stable/c/d6a1779129d936bc1fbab80181165da544eab736 https://git.kernel.org/stable/c/d48ceb6e1a6915c7bac4f902554a1047365cdff2 https://git.kernel.org/stable/c/0543813753ef5cfbd6fa96694f7acf783fa01af7 https://git.kernel.org/stable/c/314091243159f8e3749bc719bb129f423f72fd86 https://git.kernel.org/stable/c/0b271f7d7f5ed45bc498a03ce0aa9cfd8402fc71