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 DEFD61EF947 for ; Mon, 21 Oct 2024 12:19:19 +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=1729513160; cv=none; b=LT/XCpyHtT/sXy3LvlGbdkXOhni8Rv+OoUAYT/ewChzRwwdVl6bSkwG8nmt0JuLpGTas9j3I/TCyJ95cjie8MsMs7BcEGC/pTvuYm4GixW1pwCrnbkTjjiCIymozv7pMP15FEqkkBZo3Rm8aKDyefeXQ1fOaBhIAwO+1zdZsx6s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729513160; c=relaxed/simple; bh=B8Zlful3LyjD1O8SRb/18vn8/vdET1+krViVoPPTPs0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WAt003bWP4Q5dWSA1p+BuGF+taI2bkZwGWLyNOrQFV9zOloOlica8oJE8ax3OAb2NXxQB3PVIxgJucRn7LxdibXDQYhN2UeeE0Hcckqch0vXsq5igQ8tI5n1LdwmdC6nPgB7v1Vamr1+oqn3OCc1U2x4nicFf2NhzjlMyNnmrZQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1S2qVZsr; 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="1S2qVZsr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DC535C4CEC3; Mon, 21 Oct 2024 12:19:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729513159; bh=B8Zlful3LyjD1O8SRb/18vn8/vdET1+krViVoPPTPs0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=1S2qVZsr//oK1BHsi5pKJ5ZbY1yXUssLMdAkJ8MW90cevxFfeOBqVn5RGL3eVuyTe sfNfbVX9HZJi99DVq8Yu8N3iz8dltYW5nhdyxQCltJ6Lpg+oa0JLR8Ju2sX8OYe0JE P4E9hV/fDoPilkVcfuYs6gHaDn+4mxsn6V/++NIg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-49853: firmware: arm_scmi: Fix double free in OPTEE transport Date: Mon, 21 Oct 2024 14:18:55 +0200 Message-ID: <2024102153-CVE-2024-49853-b3ea@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=2298; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=B8Zlful3LyjD1O8SRb/18vn8/vdET1+krViVoPPTPs0=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlibmtfLzxqda/gpWGtE2eV2ZQjCoZqazfrnmJof2XQV tOrNsO5I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZiI8+w4FJi++zFie98dZwT HkrZNr67G/qulGHBRJb1RT3ZKX6+rrbbL+usF7PxWzkHAA== 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: firmware: arm_scmi: Fix double free in OPTEE transport Channels can be shared between protocols, avoid freeing the same channel descriptors twice when unloading the stack. The Linux kernel CVE team has assigned CVE-2024-49853 to this issue. Affected and fixed versions =========================== Issue introduced in 5.18 with commit 5f90f189a052 and fixed in 6.1.113 with commit d7f4fc2bc101 Issue introduced in 5.18 with commit 5f90f189a052 and fixed in 6.6.54 with commit 6699567b0bbb Issue introduced in 5.18 with commit 5f90f189a052 and fixed in 6.10.13 with commit dc9543a4f2a5 Issue introduced in 5.18 with commit 5f90f189a052 and fixed in 6.11.2 with commit aef6ae124bb3 Issue introduced in 5.18 with commit 5f90f189a052 and fixed in 6.12-rc1 with commit e98dba934b2f 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-49853 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/firmware/arm_scmi/optee.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/d7f4fc2bc101e666da649605a9ece2bd42529c7a https://git.kernel.org/stable/c/6699567b0bbb378600a4dc0a1f929439a4e84a2c https://git.kernel.org/stable/c/dc9543a4f2a5498a4a12d6d2427492a6f1a28056 https://git.kernel.org/stable/c/aef6ae124bb3cc12e34430fed91fbb7efd7a444d https://git.kernel.org/stable/c/e98dba934b2fc587eafb83f47ad64d9053b18ae0