Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 368823C2790 for ; Fri, 1 May 2026 14:17:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777645045; cv=none; b=cxXFPTuzUje5++YIO4zTzlAVaLWftrME7NCE5EV5lM8KTs2HtAujz1Th5xLiyGow/5PYB9h+VtRMvkxZ7yLxnu+n7vjowoAEJmdTSfBlkPv0S0G4NyU+qEHm8OxIJcPdnPIY1P93rbCdTThoy8FjetZTCts7RWwaT/4oOsMEuv8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777645045; c=relaxed/simple; bh=cDO/lMClOiQcy956WW9hNOp2vHU3lUcuO/QPAGwGjDA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RcBXt3FB+9TrBCtBADxoVqRejcYewIr3noIQ86pASMPw8SjnhLOUeBlmYZnZR27E0n6fWOrl5bK8Xaal7+H3+9XR87SUfsQ/drd4ynnlbYNTPJt5oHAhjNPV4ckldruxuH9MVr0L7DBQ0U5x6Ob5tO5WY3zsF7zpZCijVU+DmPk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=r1WHI5ey; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="r1WHI5ey" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C4C9CC2BCB4; Fri, 1 May 2026 14:17:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777645045; bh=cDO/lMClOiQcy956WW9hNOp2vHU3lUcuO/QPAGwGjDA=; h=From:To:Cc:Subject:Date:Reply-To:From; b=r1WHI5eygUjnmcckgZxe8Kj2O7ZcvPAcczH1s86WOeQPw6gcB+otABEQcmpbOjxJO JcM28TANoynfyWdcfWMr7GzUHQ64Zffk1snsqRJNOTHmLO7psdG+snNvQhN/PZ/iYs 8TYVoT8vatqEZOt64Y9vsxjo0NfHwLSutSL3bLAk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31735: iommupt: Fix short gather if the unmap goes into a large mapping Date: Fri, 1 May 2026 16:14:46 +0200 Message-ID: <2026050138-CVE-2026-31735-436c@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=2457; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=caLNfPUfnPZgCd6JWcIX8f4TXfXJF9EBaQxAtGWgno8=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlftvpFaDsF3t20MSW3Trj46smltvKzF25bzb/ERv9z1 YcyvVeTOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiQlsZFjRkpJ/rM3iQdvVj O/scobRvdTf7/Bjm56z+u9qmTj024O68bcc/f5kozLvDFgA= 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: iommupt: Fix short gather if the unmap goes into a large mapping unmap has the odd behavior that it can unmap more than requested if the ending point lands within the middle of a large or contiguous IOPTE. In this case the gather should flush everything unmapped which can be larger than what was requested to be unmapped. The gather was only flushing the range requested to be unmapped, not extending to the extra range, resulting in a short invalidation if the caller hits this special condition. This was found by the new invalidation/gather test I am adding in preparation for ARMv8. Claude deduced the root cause. As far as I remember nothing relies on unmapping a large entry, so this is likely not a triggerable bug. The Linux kernel CVE team has assigned CVE-2026-31735 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 7c53f4238aa8bfb476e177263133ead2eeb8d55d and fixed in 6.19.12 with commit 50ecd96a28f712f8b682c0441f4cb9b086d28816 Issue introduced in 6.19 with commit 7c53f4238aa8bfb476e177263133ead2eeb8d55d and fixed in 7.0 with commit ee6e69d032550687a3422504bfca3f834c7b5061 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-31735 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/iommu/generic_pt/iommu_pt.h 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/50ecd96a28f712f8b682c0441f4cb9b086d28816 https://git.kernel.org/stable/c/ee6e69d032550687a3422504bfca3f834c7b5061