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 E4404156C6F for ; Sun, 29 Dec 2024 11:31:26 +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=1735471887; cv=none; b=DWASSLFZTRd7c6dNMBg7Giv7KnW3Ie78gB2IUeij2yzN36bLP197QTUjGySV5Q15l7XEw7lOZPzjvVNbs93t06liaz4ZvT36F84uq8+b0F44KO5tzXk/AwYls6Pk3c+C3Bktv0CGxldi5zpFrr8UwWOAmrk7BIhQxlF2KYsZEs4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735471887; c=relaxed/simple; bh=6FJz4zOGr06eMRKnrzO5R8srAC90H+WZIYJz5YX8JBk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cJpTbnHdi/HX4wAR/2vaayx/kWdgjzM9FB//TUT/364cZ4LxYvVLkOPt8CnOBl3k361Imcln/Y3bmIGxPd+Wqkp3UnSNyrewl37U7qGTNX3Be98bHz3ktINUaW5qLELdjuCQ/N391V8Geo1EH9Y+ESRzXC9ebN2rRTir6u8sw+c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=o6hfPiYL; 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="o6hfPiYL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 21BB2C4CED1; Sun, 29 Dec 2024 11:31:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735471886; bh=6FJz4zOGr06eMRKnrzO5R8srAC90H+WZIYJz5YX8JBk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=o6hfPiYLhhgUTVn6QRJ3URYdgfL5rV0QNc6OOurtF67z3pouRVlStrJQsARYtVAbp bNfiHI1OtonrwRxvB3Y5g4FE9jhokduU2P1bMFCtjG/PwP2fD6yliHcr+kzCyNbD4R sLhG1mPeEvHuykq94LMOU1HG6GSEk3SgEMSHCCyA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-56726: octeontx2-pf: handle otx2_mbox_get_rsp errors in cn10k.c Date: Sun, 29 Dec 2024 12:29:27 +0100 Message-ID: <2024122924-CVE-2024-56726-3a9e@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=2768; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=6FJz4zOGr06eMRKnrzO5R8srAC90H+WZIYJz5YX8JBk=; b=owGbwMvMwCRo6H6F97bub03G02pJDOmFRlNkuYRaHjI4FXHd4din+5yj6/z0C15TGMsfzly2h fHFSdHTHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRmK0Mc3gXPFjqZuqnzPJr fwjfLLaZv0p4pjIsuOS0sFRn5/2/z3JXfXBuP6/a/PCXDgA= 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 cn10k.c Add error pointer check after calling otx2_mbox_get_rsp(). The Linux kernel CVE team has assigned CVE-2024-56726 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit 2ca89a2c37527221edc549ffd3b65c6f8d9d4088 and fixed in 5.15.174 with commit a374e7e79fbdd7574bd89344447b0d4b91ba9801 Issue introduced in 5.14 with commit 2ca89a2c37527221edc549ffd3b65c6f8d9d4088 and fixed in 6.1.120 with commit 856ad633e11869729be698df2287ecfe6ec31f27 Issue introduced in 5.14 with commit 2ca89a2c37527221edc549ffd3b65c6f8d9d4088 and fixed in 6.6.64 with commit c5a6c5af434671aea739a5a41c849819144f02c9 Issue introduced in 5.14 with commit 2ca89a2c37527221edc549ffd3b65c6f8d9d4088 and fixed in 6.11.11 with commit 41f39f4c67253f802809310be6846ff408c3c758 Issue introduced in 5.14 with commit 2ca89a2c37527221edc549ffd3b65c6f8d9d4088 and fixed in 6.12.2 with commit 54abcec092616a4d01195355eb5d6036fb8fe363 Issue introduced in 5.14 with commit 2ca89a2c37527221edc549ffd3b65c6f8d9d4088 and fixed in 6.13-rc1 with commit ac9183023b6a9c09467516abd8aab04f9a2f9564 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-56726 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/cn10k.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/a374e7e79fbdd7574bd89344447b0d4b91ba9801 https://git.kernel.org/stable/c/856ad633e11869729be698df2287ecfe6ec31f27 https://git.kernel.org/stable/c/c5a6c5af434671aea739a5a41c849819144f02c9 https://git.kernel.org/stable/c/41f39f4c67253f802809310be6846ff408c3c758 https://git.kernel.org/stable/c/54abcec092616a4d01195355eb5d6036fb8fe363 https://git.kernel.org/stable/c/ac9183023b6a9c09467516abd8aab04f9a2f9564