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 E0A68BA53 for ; Sun, 29 Dec 2024 11:31:32 +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=1735471893; cv=none; b=Tvohcq/UCWEi7ZSfUce9vRiRhAE9Jns9kc7Kq8bECVXt0XbRw78HkvdHy2Dt3Ki5FRwUsD4VOpTdmj8KMZ/reC4cTimc0K4oxCga0HDI1+OpXDnNFHEv54yBMP2DTr5vsJ0Hz3Y6e06hBN8eFOrC8aWXj6ujFn243Pgb8yo7mFc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735471893; c=relaxed/simple; bh=K1wxgIOmrfRenwnxRZOxYWIHAAqCNZYRPECDdrTBGNA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hrDOUzgcpi3q8cvxllseVai4fvTIUQox8YaP8tFAN5nke6aaSjZqg/m4nATiE6id74AIXxhnbZlgDYLffcNH2bgTTWRjQk1ynK/0DnG5AgX7O/nSeFF00IUCJEI8C3ztRz1T+rx/D1JJ1Jh18z+zP4Dc4wIsuf1ULWtxM8/HanA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1P7NXjW0; 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="1P7NXjW0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 645C9C4CED1; Sun, 29 Dec 2024 11:31:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735471892; bh=K1wxgIOmrfRenwnxRZOxYWIHAAqCNZYRPECDdrTBGNA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=1P7NXjW0i3AvguZKY0NSasdYfloP/XzVVPztVnDg5W6KwPefW0dftI9FjGgbEsF0h WT/i8CR3nbmPGVZhHAl0ZRSgU1zV250fkz0CNKjnPXT2FacCIs9jWtMRBdrlY7WdHP gUSjVEDkGOApyxBrkJQWiz89EypooZ3BIKbIWXyk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-56728: octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_ethtool.c Date: Sun, 29 Dec 2024 12:29:29 +0100 Message-ID: <2024122924-CVE-2024-56728-68d7@gregkh> X-Mailer: git-send-email 2.47.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=3005; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=K1wxgIOmrfRenwnxRZOxYWIHAAqCNZYRPECDdrTBGNA=; b=owGbwMvMwCRo6H6F97bub03G02pJDOmFRlOOhy78c+DN4mTu7dk7pNjdREy2Zz3L9xNO6Kpq+ iJ00r6vI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYydxPD/MIlO2Zs89nMuafS dJ6X6MH/azp03BkWLFA7YrvIdEfTuq7GypiQxkeLBfdHAwA= 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: octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_ethtool.c Add error pointer check after calling otx2_mbox_get_rsp(). The Linux kernel CVE team has assigned CVE-2024-56728 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit 75f36270990c7875c0091afb961ca37f52b6bc55 and fixed in 5.10.231 with commit 5ff9de1f2712cbca53da2e37d831eea7ffcb43b6 Issue introduced in 5.7 with commit 75f36270990c7875c0091afb961ca37f52b6bc55 and fixed in 5.15.174 with commit 55c41b97001a09bb490ffa2e667e251d75d15ab1 Issue introduced in 5.7 with commit 75f36270990c7875c0091afb961ca37f52b6bc55 and fixed in 6.1.120 with commit 05a6ce174c0c724e5914e1e5efd826bab8f382b4 Issue introduced in 5.7 with commit 75f36270990c7875c0091afb961ca37f52b6bc55 and fixed in 6.6.64 with commit c0f64fd73b60aee85f88c270c9d714ead27a7b7a Issue introduced in 5.7 with commit 75f36270990c7875c0091afb961ca37f52b6bc55 and fixed in 6.11.11 with commit 6cda142cee032b8fe65ee11f78721721c3988feb Issue introduced in 5.7 with commit 75f36270990c7875c0091afb961ca37f52b6bc55 and fixed in 6.12.2 with commit 2db2194727b1f49a5096c1c3981adef1b7638733 Issue introduced in 5.7 with commit 75f36270990c7875c0091afb961ca37f52b6bc55 and fixed in 6.13-rc1 with commit e26f8eac6bb20b20fdb8f7dc695711ebce4c7c5c 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-56728 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/marvell/octeontx2/nic/otx2_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/5ff9de1f2712cbca53da2e37d831eea7ffcb43b6 https://git.kernel.org/stable/c/55c41b97001a09bb490ffa2e667e251d75d15ab1 https://git.kernel.org/stable/c/05a6ce174c0c724e5914e1e5efd826bab8f382b4 https://git.kernel.org/stable/c/c0f64fd73b60aee85f88c270c9d714ead27a7b7a https://git.kernel.org/stable/c/6cda142cee032b8fe65ee11f78721721c3988feb https://git.kernel.org/stable/c/2db2194727b1f49a5096c1c3981adef1b7638733 https://git.kernel.org/stable/c/e26f8eac6bb20b20fdb8f7dc695711ebce4c7c5c