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 CBB9832AACD for ; Mon, 5 Jan 2026 09:33:39 +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=1767605619; cv=none; b=nAavFx4I43vkt7c/cZJUYkHKxYlcvQkChJ3UKvSWCE0wmWTmcPOcmWb08wwOLBdqk2cAQ54GqacMJ805taJ4xhD4kboUCbT0b4abqIY8vvuKR8l5OYyo7KjB+MAirxkWCZLdDWEJcoCW1J7+DLuAwqMQiFp/iF74tEO4BeEytv0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767605619; c=relaxed/simple; bh=6otdwpNOdZ3rLL2caFEZGUj+0O9xK4MR1DzMJ2PZlsA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=eLZxGQ4GHs49SJQaqbyQ08CSgsvsCAW+lMzHUjiPYJCjPZssh0viC4eqNn/gtN4HIYGenQhxsNcHuDnzYGB4Fg5xzTMJk7n+mNPHGmoI6liVMOQhq0wOZe3dzX2NT9Ge0+v3MRuWq0KKPA58kU6Le+FHUEwJMwwPn28OSkAi2K0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jWd3CHny; 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="jWd3CHny" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F68BC116D0; Mon, 5 Jan 2026 09:33:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767605619; bh=6otdwpNOdZ3rLL2caFEZGUj+0O9xK4MR1DzMJ2PZlsA=; h=From:To:Cc:Subject:Date:Reply-To:From; b=jWd3CHny8Aick6BKY3BVuj9loLhx92nlYjVpbQMn+VhSqGl9b+oEoL+fbFvm+0GrP T9suddmYGsg8N+9dh6pnmQbQ3uRfEgTK8DutNYUd2XfZzi+T/84geS9MttSNnsy9qg qChlxbxQYQ3b12Q0+kXdNA6GNOUMkT8HZWCvCgkQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68760: iommu/amd: Fix potential out-of-bounds read in iommu_mmio_show Date: Mon, 5 Jan 2026 10:32:56 +0100 Message-ID: <2026010551-CVE-2025-68760-5350@gregkh> X-Mailer: git-send-email 2.52.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=2526; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=wHjgaHdF1n9ygLs2UfAd1EMCE432zB9c9DSnqxUgsz8=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnRrc6+tjPXWOl/rexiObTHViCe//JitnTGqv+ph7JUL mW+1PboiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIlkP2aYn5W7w++jmCv7HMH8 3zMvX1T6se7oYYYFjRM2vTBatFNt3YU0ie9pFxVXH/Y9BgA= 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: iommu/amd: Fix potential out-of-bounds read in iommu_mmio_show In iommu_mmio_write(), it validates the user-provided offset with the check: `iommu->dbg_mmio_offset > iommu->mmio_phys_end - 4`. This assumes a 4-byte access. However, the corresponding show handler, iommu_mmio_show(), uses readq() to perform an 8-byte (64-bit) read. If a user provides an offset equal to `mmio_phys_end - 4`, the check passes, and will lead to a 4-byte out-of-bounds read. Fix this by adjusting the boundary check to use sizeof(u64), which corresponds to the size of the readq() operation. The Linux kernel CVE team has assigned CVE-2025-68760 to this issue. Affected and fixed versions =========================== Issue introduced in 6.17 with commit 7a4ee419e8c144b747a8915856e91a034d7c8f34 and fixed in 6.17.13 with commit b959df804c33913dbfdb90750f2d693502b3d126 Issue introduced in 6.17 with commit 7a4ee419e8c144b747a8915856e91a034d7c8f34 and fixed in 6.18.2 with commit 0ec4aaf5f3f559716a6559f3d6d9616e9470bed6 Issue introduced in 6.17 with commit 7a4ee419e8c144b747a8915856e91a034d7c8f34 and fixed in 6.19-rc1 with commit a0c7005333f9a968abb058b1d77bbcd7fb7fd1e7 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-2025-68760 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/amd/debugfs.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/b959df804c33913dbfdb90750f2d693502b3d126 https://git.kernel.org/stable/c/0ec4aaf5f3f559716a6559f3d6d9616e9470bed6 https://git.kernel.org/stable/c/a0c7005333f9a968abb058b1d77bbcd7fb7fd1e7