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 D913E78F2D for ; Sun, 29 Dec 2024 11:31:23 +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=1735471883; cv=none; b=DVbBEktk6VjEZsTsZ/t+nLhYbyAsayKOrQ8VQpcYhkfDHp818s/58riOa3NYgtSyW5U03wM5FgaDeGKuE3ucbtSc07w/UvaMWoOkULw5u91CJgkggCkVge3eECS3zbqeZY1d3fjwqHAI4fJI4Z1vbZNfTpMmVtU1XLjzqAtvAbs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735471883; c=relaxed/simple; bh=eyuUOX+RqNjggyTfkPoPhIwH3qE6uKJEKRtVNNXyHqY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KEHtfeUJqQtyXqBQdwD8qN1ExnQTDEOCIuXmofykG9D3/63GwwLzAPbLJZDxKiz9l8iixP2+Yxt2aCiohLdIy5Nfase1AScnAnAKy0DZT47aA7RK/EMqN4Mdzpo2ymuidRQ0T7wEfEefOjzZx6wKh6zm4FCJ3dfkfzdrrXrj7ok= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kQgEVYPZ; 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="kQgEVYPZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 18660C4CED1; Sun, 29 Dec 2024 11:31:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735471883; bh=eyuUOX+RqNjggyTfkPoPhIwH3qE6uKJEKRtVNNXyHqY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=kQgEVYPZ+xKblOHzTw8Qqah6ITsLifUxlholeuk7MQcX4Hcgq2h5xqomTtx0jPlIJ MFPjgceD7dkS2M5uFZuezImEwZkPYkdJDT7YP5tMN/1xEz1hmNWDDlhVZiZGxR3Vbl tW8dTrFaIfeJYfm8a9bq+SAK4e3mHtNohahgBgp8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-56725: octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_dcbnl.c Date: Sun, 29 Dec 2024 12:29:26 +0100 Message-ID: <2024122923-CVE-2024-56725-af15@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=2548; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=eyuUOX+RqNjggyTfkPoPhIwH3qE6uKJEKRtVNNXyHqY=; b=owGbwMvMwCRo6H6F97bub03G02pJDOmFRpPbUliPuHQLTtuaezP1ddDSBa+fq/bfWh6Q33i73 jM++9HnjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIWnGG+QGRS+Y29e739dVb OWEl32/tIM/ZFxnmJ3vxH2b233X247Owa15TZ7rxNzp7AgA= 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_dcbnl.c Add error pointer check after calling otx2_mbox_get_rsp(). The Linux kernel CVE team has assigned CVE-2024-56725 to this issue. Affected and fixed versions =========================== Issue introduced in 5.18 with commit 8e67558177f8f55dcffa47273c2af0a6f2ab9418 and fixed in 6.1.120 with commit b94052830e3cd3be7141789a5ce6e62cf9f620a4 Issue introduced in 5.18 with commit 8e67558177f8f55dcffa47273c2af0a6f2ab9418 and fixed in 6.6.64 with commit b99db02209ca4c2e2f53b82049ea3cbc82b54895 Issue introduced in 5.18 with commit 8e67558177f8f55dcffa47273c2af0a6f2ab9418 and fixed in 6.11.11 with commit 54e8b501b3ea9371e4a9aa639c75b681fa5680f0 Issue introduced in 5.18 with commit 8e67558177f8f55dcffa47273c2af0a6f2ab9418 and fixed in 6.12.2 with commit 6ee6cf42dc5230425cfce1ffefa5a8d8a99e6fce Issue introduced in 5.18 with commit 8e67558177f8f55dcffa47273c2af0a6f2ab9418 and fixed in 6.13-rc1 with commit 69297b0d3369488af259e3a7cf53d69157938ea1 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-56725 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_dcbnl.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/b94052830e3cd3be7141789a5ce6e62cf9f620a4 https://git.kernel.org/stable/c/b99db02209ca4c2e2f53b82049ea3cbc82b54895 https://git.kernel.org/stable/c/54e8b501b3ea9371e4a9aa639c75b681fa5680f0 https://git.kernel.org/stable/c/6ee6cf42dc5230425cfce1ffefa5a8d8a99e6fce https://git.kernel.org/stable/c/69297b0d3369488af259e3a7cf53d69157938ea1