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 A0CAE1CABF for ; Fri, 8 Nov 2024 05:24: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=1731043463; cv=none; b=NkaIJ6MyJUL3VTIch2q3B3EdNYWe/vC/n4tqiV1K0mOriOsyKLklrVX8pRziequfqi+LFfqZu2GzDXAiutqufLt//ZlBsdM4pjnHOeUFq0U4viCXXfeFIef1T8Mo7yf0kirUxvE2TrFTW8moZM7M25q9EHfrO0pzU/ymccxbKGo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731043463; c=relaxed/simple; bh=Xsw9iHRi9bFZFyZR3MFJEjsokPgAbCt9IuMY3wpzI/U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kuSG5bB/3E0A3PngQOd3hesFglTLyKywxPU4/FkC3RTDiwk0LDCjFCdnNOs5sAis+DlO2ALG0laDVx8m6xf7z6nBlDMOwI7890x4ajDvFAgEWsxl0O9K9+N7wWTXfdB2mG05SRvqqLWC26n6bk5oAEiV0ZdCIHWKrnCutQvHcsI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=w5U4J6NK; 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="w5U4J6NK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 07C21C4CECE; Fri, 8 Nov 2024 05:24:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1731043463; bh=Xsw9iHRi9bFZFyZR3MFJEjsokPgAbCt9IuMY3wpzI/U=; h=From:To:Cc:Subject:Date:Reply-to:From; b=w5U4J6NK7mMrTkD8jKHklJo1X+PMhgrfX0VSZU4Ns9oO/PeRpEH2tDZ82ykjwqCCu 4Zm/4RC6DjvoGv53/Z5nf5y/BTpAPf0RAepmken/takUEM7555RQnoFt+xo3hJtWbz g0+aYEfJ8JRHfUzCN5p4+pMn9JsLouimzK1Azd2o= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-50176: remoteproc: k3-r5: Fix error handling when power-up failed Date: Fri, 8 Nov 2024 06:24:07 +0100 Message-ID: <2024110806-CVE-2024-50176-8744@gregkh> X-Mailer: git-send-email 2.47.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=2558; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Xsw9iHRi9bFZFyZR3MFJEjsokPgAbCt9IuMY3wpzI/U=; b=owGbwMvMwCRo6H6F97bub03G02pJDOm6C8p8tV4/ENl/sb/kuCiDQ9dP/9sSrUZnNOIufha95 O0mfv1vRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkqR3DfO9PjXMDnEW/iS6Z f33flp0Rr9SOL2eYn7yxQGq7M8eUs2fM3+lMreR5FLglCQA= 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: remoteproc: k3-r5: Fix error handling when power-up failed By simply bailing out, the driver was violating its rule and internal assumptions that either both or no rproc should be initialized. E.g., this could cause the first core to be available but not the second one, leading to crashes on its shutdown later on while trying to dereference that second instance. The Linux kernel CVE team has assigned CVE-2024-50176 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1.95 with commit 2a1ec20b174c and fixed in 6.1.113 with commit 87ab3af74477 Issue introduced in 6.6.35 with commit 2494bc856e7c and fixed in 6.6.55 with commit fc71c2395893 Issue introduced in 6.10 with commit 61f6f68447ab and fixed in 6.10.14 with commit afd102bde99d Issue introduced in 6.10 with commit 61f6f68447ab and fixed in 6.11.3 with commit 7afb5e3aa989 Issue introduced in 6.10 with commit 61f6f68447ab and fixed in 6.12-rc1 with commit 9ab27eb5866c Issue introduced in 6.9.6 with commit 8ae2a10f5c70 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-50176 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/remoteproc/ti_k3_r5_remoteproc.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/87ab3af7447791d0c619610fd560bd804549e187 https://git.kernel.org/stable/c/fc71c23958931713b5e76f317b76be37189f2516 https://git.kernel.org/stable/c/afd102bde99d90ef41e043c846ea34b04433eb7b https://git.kernel.org/stable/c/7afb5e3aa989c479979faeb18768a67889a7a9c6 https://git.kernel.org/stable/c/9ab27eb5866ccbf57715cfdba4b03d57776092fb