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 519E512AACA for ; Wed, 1 May 2024 12:58:24 +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=1714568304; cv=none; b=pH6VZLsfdhH6OdQXqIq9bDREBUCl2ZeCYjSHTCJmMDKYzO0K+STBWMEHgzREjdtowIsTcZu+4khxdUPhpaFLuTEmg8gxg8PHH1Hq2XcA/TFldrwu/0+Ihus9irchx30gi2uGfTVzk0o3lEgdvUkFiTcwO2FdbSacP3s2Woj43aA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714568304; c=relaxed/simple; bh=WMab8mQGTg2bLV5TFU8jty+MTeL8CaLNldalgifVoUA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=p+vXVmRp/Wk1ssgh6PcuKBSklLbffYBqR9EyDyaezl9RhpfcVxBmdh0NG60CpnITkaZBvWtzKnSJGwaGr79Gqu2ovHuqS6EoXq9AH7pEis98++83Wo3l6b4+K1Q5eIQ+wXccq0kDBIK1ApxcxyxN9uZd75bKdQ43rsGtBlmHB/g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=OvhDEO6z; 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="OvhDEO6z" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CDE00C113CC; Wed, 1 May 2024 12:58:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714568304; bh=WMab8mQGTg2bLV5TFU8jty+MTeL8CaLNldalgifVoUA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=OvhDEO6z35Crq0FgmtL8WEcE/SDGJHckrUYQdr9aCDn4lZEaeyV5TvsRDQpvc9BxF 0DqbUMG0l+UgSZe9tn/Mam6fAOlgCxH+9bXWjS/JKFMUFAej7x7A3vm99aZxPDNqYc A3nurX5g+0qRo0SgQ+6lT/NDhFmgjxPBwmL2rbK0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-27030: octeontx2-af: Use separate handlers for interrupts Date: Wed, 1 May 2024 14:57:15 +0200 Message-ID: <2024050110-CVE-2024-27030-d75a@gregkh> X-Mailer: git-send-email 2.44.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=2939; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=WMab8mQGTg2bLV5TFU8jty+MTeL8CaLNldalgifVoUA=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlGNmoz4wO3H+J6bbr4aAF7ZsNJ+6r/areSYg6vX3eKs dBOX7m7I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYSIM4wv9CHef79r+m+HH/+ MoX0vfi2V8GGhWGuYGHImXtd19Om2HB6+Hc03S2dH5IKAA== 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-af: Use separate handlers for interrupts For PF to AF interrupt vector and VF to AF vector same interrupt handler is registered which is causing race condition. When two interrupts are raised to two CPUs at same time then two cores serve same event corrupting the data. The Linux kernel CVE team has assigned CVE-2024-27030 to this issue. Affected and fixed versions =========================== Issue introduced in 4.20 with commit 7304ac4567bc and fixed in 5.4.273 with commit 94cb17e5cf3a Issue introduced in 4.20 with commit 7304ac4567bc and fixed in 5.10.214 with commit 766c2627acb2 Issue introduced in 4.20 with commit 7304ac4567bc and fixed in 5.15.153 with commit 772f18ded0e2 Issue introduced in 4.20 with commit 7304ac4567bc and fixed in 6.1.83 with commit 29d2550d79a8 Issue introduced in 4.20 with commit 7304ac4567bc and fixed in 6.6.23 with commit dc29dd00705a Issue introduced in 4.20 with commit 7304ac4567bc and fixed in 6.7.11 with commit ad6759e233db Issue introduced in 4.20 with commit 7304ac4567bc and fixed in 6.8.2 with commit 4fedae8f9eaf Issue introduced in 4.20 with commit 7304ac4567bc and fixed in 6.9-rc1 with commit 50e60de381c3 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-27030 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/af/rvu.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/94cb17e5cf3a3c484063abc0ce4b8a2b2e8c1cb2 https://git.kernel.org/stable/c/766c2627acb2d9d1722cce2e24837044d52d888a https://git.kernel.org/stable/c/772f18ded0e240cc1fa2b7020cc640e3e5c32b70 https://git.kernel.org/stable/c/29d2550d79a8cbd31e0fbaa5c0e2a2efdc444e44 https://git.kernel.org/stable/c/dc29dd00705a62c77de75b6d752259b869aac49d https://git.kernel.org/stable/c/ad6759e233db6fcc131055f8e23b4eafbe81053c https://git.kernel.org/stable/c/4fedae8f9eafa2ac8cdaca58e315f52a7e2a8701 https://git.kernel.org/stable/c/50e60de381c342008c0956fd762e1c26408f372c