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 7710E24676A for ; Fri, 25 Jul 2025 14:17:12 +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=1753453032; cv=none; b=TMBgqJG1avt5CMyJROaR497SMKzgiAkiiZQ1R+xLyGt48xBi2k5S6pa36MKc/AY5NtOxOfpuOlePyu/8V9mXVIpcTgbzRrlwuMDI7cQ9c933btbgK45r9z6EbE6fX3BgCTIj3zVUTqLh1aoMcdU89G5u3do/ZP2RIIKj7bplPCY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753453032; c=relaxed/simple; bh=OismYJfddm7k8iX+Ij0aUgEgX0vrN8c6hr/XCkh8C0M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bRL8GacKa/c/CkVEGfyZbx6njpv3MLDoeJyxurBOTv7E++d4FBD42LyefFErIXdsmvDebmXzDLxNuZqTElb9p/NYmbXU0sjH+cOAChZ4N/wkrXLiGEBej1DqR1d3vMKoUW3n32faJ5YCkC5CQKxFwIw1ti0dYBiNhfGaegHDcuI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=DXY8Rsfx; 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="DXY8Rsfx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B4C3DC4CEE7; Fri, 25 Jul 2025 14:17:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1753453032; bh=OismYJfddm7k8iX+Ij0aUgEgX0vrN8c6hr/XCkh8C0M=; h=From:To:Cc:Subject:Date:Reply-to:From; b=DXY8RsfxS/0KQKQ5m56z+c6sHPbLIXX0ko+JNHTmsw00i+PrSwUzI1RKsTCcPDnQ8 kto70AvkrHCN1Hq1ZRKb/xU7r65ey6M2Dqn7el2FhhwgQX36VHhfcTVgg9BzraAYgS oirfb/pk8VH1485QXwSXYTxNHsUfOe41FP3UczLQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38422: net: lan743x: Modify the EEPROM and OTP size for PCI1xxxx devices Date: Fri, 25 Jul 2025 16:16:55 +0200 Message-ID: <2025072554-CVE-2025-38422-5d9b@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=2288; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=3TYpYH/mjB+YTVw/dfYzKQtieC15yvU5eCtIQQJNfpM=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnNE69F8V96U2WjZ+JeI5HBcOZMs+yWlbx2L/I3FTw4k Swi+e5KRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzEZR7DfEfFb1wP7qp26Dr0 sktxLOa4nHXsEcM87ZYYCeNZebGztkSL3xXxusY6+3gOAA== 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: net: lan743x: Modify the EEPROM and OTP size for PCI1xxxx devices Maximum OTP and EEPROM size for hearthstone PCI1xxxx devices are 8 Kb and 64 Kb respectively. Adjust max size definitions and return correct EEPROM length based on device. Also prevent out-of-bound read/write. The Linux kernel CVE team has assigned CVE-2025-38422 to this issue. Affected and fixed versions =========================== Fixed in 6.1.142 with commit 6b4201d74d0a49af2123abf2c9d142e59566714b Fixed in 6.6.95 with commit 088279ff18cdc437d6fac5890e0c52c624f78a5b Fixed in 6.12.35 with commit 51318d644c993b3f7a60b8616a6a5adc1e967cd2 Fixed in 6.15.4 with commit 9c41d2a2aa3817946eb613522200cab55513ddaa Fixed in 6.16-rc1 with commit 3b9935586a9b54d2da27901b830d3cf46ad66a1e 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-38422 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/net/ethernet/microchip/lan743x_ethtool.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/6b4201d74d0a49af2123abf2c9d142e59566714b https://git.kernel.org/stable/c/088279ff18cdc437d6fac5890e0c52c624f78a5b https://git.kernel.org/stable/c/51318d644c993b3f7a60b8616a6a5adc1e967cd2 https://git.kernel.org/stable/c/9c41d2a2aa3817946eb613522200cab55513ddaa https://git.kernel.org/stable/c/3b9935586a9b54d2da27901b830d3cf46ad66a1e