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 ABB8A78F2D for ; Sun, 29 Dec 2024 11:31:29 +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=1735471889; cv=none; b=MlIqwrUM1A5n33uDfh+q40+q26xnDwLLIj6kbxd5tiGXCCu000dY/zvf1Jd7QjxN63TQC5JSGp226hmbDsj913I28t5HIW4EWJiW2bjpuiYf75b0DH6qjYIR2V+Agtnw1tVw6RDKkXtG4LEGYDsOP4JkvUfF0GZO6/vvN2XqpS4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735471889; c=relaxed/simple; bh=/cTWkwVl4/L6m9JTjXG2FVEpkR9GKHf/aTvr8SqgdMM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NTMaOwDu12o8R2JnMcF7l5wYacDyWRQUw8o9Rb52og/k5syxx03OAtJYMLBgo6VllBIF7DXZ4RX8j1/h2vynm5/+uP92l9BrzKowGr6uPxdXy1sloNcacRiuO+UKCSQGucVPgRR0dxJW3JEU9K5DbtibxIrctLcnC83KJPyP4h0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=yStVhyrg; 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="yStVhyrg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E856C4CED1; Sun, 29 Dec 2024 11:31:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735471889; bh=/cTWkwVl4/L6m9JTjXG2FVEpkR9GKHf/aTvr8SqgdMM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=yStVhyrgu6ovKWlBhpyUgGkofKk/IJ4NjRQ/FCrBoG9ebgr4DUz32J31xmuwWYunq OkTq/QfnQkITDwfa8EH0/QsgWn0RXdEAqFCfa8VmzRDjZboWxs6UIiBXtjH6aU2WiN 5yelKcj/VONM3EmcZqTG9Z/jyW6Jxun9XZo8xj7E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-56727: octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_flows.c Date: Sun, 29 Dec 2024 12:29:28 +0100 Message-ID: <2024122924-CVE-2024-56727-41d8@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=2551; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/cTWkwVl4/L6m9JTjXG2FVEpkR9GKHf/aTvr8SqgdMM=; b=owGbwMvMwCRo6H6F97bub03G02pJDOmFRlPWHbUxXGKhPEXE/UJu2zTPpR8XiQmrdklI8D0p2 M/hG/28I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZSpswwz6hyQeF66zdL71/a cMf14VVGOxavKIb5VXG7VnmzHXq199eU71Nv+8oGPnIvBgA= 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_flows.c Adding error pointer check after calling otx2_mbox_get_rsp(). The Linux kernel CVE team has assigned CVE-2024-56727 to this issue. Affected and fixed versions =========================== Issue introduced in 5.11 with commit f0a1913f8a6f947531c3042f9d6524946e661b57 and fixed in 6.1.120 with commit 8c9f8b35dc3d4ad8053a72bc0c5a7843591f6b75 Issue introduced in 5.11 with commit f0a1913f8a6f947531c3042f9d6524946e661b57 and fixed in 6.6.64 with commit c4eae7bac880edd88aaed6a8ec2997fa85e259c7 Issue introduced in 5.11 with commit f0a1913f8a6f947531c3042f9d6524946e661b57 and fixed in 6.11.11 with commit a479b3d7586e6f77f8337bbcac980eaf2d0a4029 Issue introduced in 5.11 with commit f0a1913f8a6f947531c3042f9d6524946e661b57 and fixed in 6.12.2 with commit e5e60f17d2462ef5c13db4d1a54eef5778fd2295 Issue introduced in 5.11 with commit f0a1913f8a6f947531c3042f9d6524946e661b57 and fixed in 6.13-rc1 with commit bd3110bc102ab6292656b8118be819faa0de8dd0 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-56727 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_flows.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/8c9f8b35dc3d4ad8053a72bc0c5a7843591f6b75 https://git.kernel.org/stable/c/c4eae7bac880edd88aaed6a8ec2997fa85e259c7 https://git.kernel.org/stable/c/a479b3d7586e6f77f8337bbcac980eaf2d0a4029 https://git.kernel.org/stable/c/e5e60f17d2462ef5c13db4d1a54eef5778fd2295 https://git.kernel.org/stable/c/bd3110bc102ab6292656b8118be819faa0de8dd0