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 C0655273818 for ; Fri, 25 Jul 2025 14:17:22 +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=1753453042; cv=none; b=W/rQu+C/H3hmx8p2rX5NgY6+xcuLHe+jpn/cTcKGAEpv2GlIEVqdWbrNWKmQINkEhTuNXd2+yHvyUK8GNhbTPzO+2EHSppG/x2oFEHhhj/AGd1EqSSmyhIHS1vrQqQmoPY+DubNii50d3ERKbVpAEctQzQoymxH65gvg8hOQaZk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753453042; c=relaxed/simple; bh=QP7g34YfA3WLd99EGYhsbDwp8hFU7hVlzb/jvtEmZ+s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mcFo/tJg+GRHqTnylxJGiAMcliAUoO1uVQ8fWMRxJiwiyxC3IltFh/QoQ4bIJV1UQnZpdqpd8kT5OmWZcm/gRE3vXqtYdWDG9R+IWK7XxOss0zFvMEUPKeMlQ2Js+Lm9Sgo86qywdwGxSK0Wh/sKrmvcmbL19l+A7Zz3o1NPJRM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rDKElTGz; 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="rDKElTGz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DCBE1C4CEE7; Fri, 25 Jul 2025 14:17:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1753453042; bh=QP7g34YfA3WLd99EGYhsbDwp8hFU7hVlzb/jvtEmZ+s=; h=From:To:Cc:Subject:Date:Reply-to:From; b=rDKElTGzm6xq0gEISiIERgjGbPzkYx6jZlwW+TOgSEKVlUzK3UL4ecZM2TP/zky9g pP7aY4ZNLA+Vtmqyzhp8EkwIempI/juxEJtW90fLh2idn4NPCjU8rInywzHMBmscAm NrYRpxmNAWnRAzPwT4JPJDDzWELXmcA/6r/ryPME= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38425: i2c: tegra: check msg length in SMBUS block read Date: Fri, 25 Jul 2025 16:16:58 +0200 Message-ID: <2025072555-CVE-2025-38425-d34f@gregkh> X-Mailer: git-send-email 2.50.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2183; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=iZuMxuV/f0a6zhL8BMLvTbxaD53qJ08ZRyxjHVAQntw=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnNE6+/2jw3Zs6KjyrX8qP3tk+ek5aUnnO7yVP/Z2Pcn vBnDS/aOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAip3kYFnSWNvA4TzxT0H3d 5I/T20VzpWb17WCY76Ho57Las/2h8lUT/wDbNY1PJUXXAwA= 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: i2c: tegra: check msg length in SMBUS block read For SMBUS block read, do not continue to read if the message length passed from the device is '0' or greater than the maximum allowed bytes. The Linux kernel CVE team has assigned CVE-2025-38425 to this issue. Affected and fixed versions =========================== Fixed in 6.1.142 with commit c39d1a9ae4ad66afcecab124d7789722bfe909fa Fixed in 6.6.95 with commit be5f6a65509cd5675362f15eb0440fb28b0f9d64 Fixed in 6.12.35 with commit 75a864f21ceeb8c1e8ce1b7589174fec2c3a039e Fixed in 6.15.4 with commit 3f03f77ce688d02da284174e1884b6065d6159bd Fixed in 6.16-rc1 with commit a6e04f05ce0b070ab39d5775580e65c7d943da0b 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-38425 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/i2c/busses/i2c-tegra.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/c39d1a9ae4ad66afcecab124d7789722bfe909fa https://git.kernel.org/stable/c/be5f6a65509cd5675362f15eb0440fb28b0f9d64 https://git.kernel.org/stable/c/75a864f21ceeb8c1e8ce1b7589174fec2c3a039e https://git.kernel.org/stable/c/3f03f77ce688d02da284174e1884b6065d6159bd https://git.kernel.org/stable/c/a6e04f05ce0b070ab39d5775580e65c7d943da0b