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 3093F1D1514 for ; Tue, 19 Nov 2024 17:20:27 +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=1732036829; cv=none; b=eaTM/SERapTPLoIC4IVuaJLTLdO890FU+Lf8xwlU79AOPYQkzV2WBrwSABl6GgOlBziKBRDSInffhjKmCPJ5lc0xKvfMCDAWjz8pTJwsTCu1NT5qCllfyf4XRy0LOO/jd01+l2oYV8ySfPMwp5ConIwV2JYRtuBEJgJcbdznorI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732036829; c=relaxed/simple; bh=sdp9LgS12cTZz7fbtFvpv1ZFIWyROej1oXWDOGI2eSg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ej+I9QQHsHe8JQQuv6/kb3YFqP3E4KkPnVWXJ8DRfA+tPGKt9WTjK05rS/LvHSWtMlUAsa/VKyjs9ZZQ8VpjepVh7f1JaPP/7OQ75uRxrYQX3Py0XdnJHVtojFUB1aQx+VgnoKdeWzHkj0fv71KFSR812BGmqqlKdwh+OLq3KXE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=DGfSGHed; 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="DGfSGHed" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8B7E7C4CED1; Tue, 19 Nov 2024 17:20:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1732036827; bh=sdp9LgS12cTZz7fbtFvpv1ZFIWyROej1oXWDOGI2eSg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=DGfSGHedNzed2886Zcxo2N2Y2nmGkUhYfllwV1yPPKTX0x7N8aFze448khQ56mEjI /RMlpawl1jzEFhnBuB4WewxLqvGA5FzYw47IQYy7P1ZOGR3f5Z+Nq0I6ry15a0Y00u iy7CZ/toSobb1CQ/D0bmmi9GOYdJgQPbMNtKlo4Q= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-53048: ice: fix crash on probe for DPLL enabled E810 LOM Date: Tue, 19 Nov 2024 18:19:30 +0100 Message-ID: <2024111926-CVE-2024-53048-cdd4@gregkh> X-Mailer: git-send-email 2.47.0 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=3051; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=sdp9LgS12cTZz7fbtFvpv1ZFIWyROej1oXWDOGI2eSg=; b=owGbwMvMwCRo6H6F97bub03G02pJDOk2J+Zl3z3ygqVu7+6W00ptIasj2S+FG04/seve32+M3 ZqHveJWdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBE4qYxzBWwLPhguOhj19KV Xnkn2TKOVE0oXs+woLOkO/vco6nyf/4JTObKf713zvvrjgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: ice: fix crash on probe for DPLL enabled E810 LOM The E810 Lan On Motherboard (LOM) design is vendor specific. Intel provides the reference design, but it is up to vendor on the final product design. For some cases, like Linux DPLL support, the static values defined in the driver does not reflect the actual LOM design. Current implementation of dpll pins is causing the crash on probe of the ice driver for such DPLL enabled E810 LOM designs: WARNING: (...) at drivers/dpll/dpll_core.c:495 dpll_pin_get+0x2c4/0x330 ... Call Trace: ? __warn+0x83/0x130 ? dpll_pin_get+0x2c4/0x330 ? report_bug+0x1b7/0x1d0 ? handle_bug+0x42/0x70 ? exc_invalid_op+0x18/0x70 ? asm_exc_invalid_op+0x1a/0x20 ? dpll_pin_get+0x117/0x330 ? dpll_pin_get+0x2c4/0x330 ? dpll_pin_get+0x117/0x330 ice_dpll_get_pins.isra.0+0x52/0xe0 [ice] ... The number of dpll pins enabled by LOM vendor is greater than expected and defined in the driver for Intel designed NICs, which causes the crash. Prevent the crash and allow generic pin initialization within Linux DPLL subsystem for DPLL enabled E810 LOM designs. Newly designed solution for described issue will be based on "per HW design" pin initialization. It requires pin information dynamically acquired from the firmware and is already in progress, planned for next-tree only. The Linux kernel CVE team has assigned CVE-2024-53048 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit d7999f5ea64b and fixed in 6.11.7 with commit 82b107a27bab Issue introduced in 6.7 with commit d7999f5ea64b and fixed in 6.12 with commit 6e58c3310622 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-2024-53048 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/intel/ice/ice_dpll.c drivers/net/ethernet/intel/ice/ice_ptp_hw.c drivers/net/ethernet/intel/ice/ice_ptp_hw.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/82b107a27bab29146e159b6b9f21146c97c45a53 https://git.kernel.org/stable/c/6e58c33106220c6c0c8fbee9ab63eae76ad8f260