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 7628B41C68 for ; Fri, 17 May 2024 12:25:41 +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=1715948741; cv=none; b=gI3GdJR6ALbjkE51GVAqPufkoW0lkTFLsPiK9+4TM2d9rcAklRRvAQxCbNdgD0R7X2tc49hKxS7MF+ClkqQNyqsysFvVXTVpuqXorrhxFSmrJzcB0UI0HxpHCMhjUQTMM34oQA4i03GojfnNlRniDC31/hzSM79bMDB0m+QUpTk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715948741; c=relaxed/simple; bh=yyIF7Pyg0uo6AaWJ9+MoG4J3g5Hd9qJTHWy5eRUodBc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uJ+pg+/nTNAFff1GMz9x89Zmvv78O1ic0QO0ZNUfjfxfX5Gxq0DaA+sAEuF2ZaVq5R6/gdno7BNJyNTCSLh9iWzex4qCil9W+7mNUzbe9/IArOfNvknHljbh23o98uIWBvH88M/sV7qs6gC+zz96XcIJ0xLlnMmGdIEt79ogLQk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zXEOEbDv; 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="zXEOEbDv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF77AC2BD10; Fri, 17 May 2024 12:25:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715948741; bh=yyIF7Pyg0uo6AaWJ9+MoG4J3g5Hd9qJTHWy5eRUodBc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=zXEOEbDvRjbud01zAD73ieK4DMYYgZWSB/8GUfkcKoefpeVB2wS9LVmj8g7KHpnUA 76Opp0WQADjAbrDIf1FA91wcOBBbQJQrmr+WxCh+xGjM6VfdFQFMj5BzwHcJNh99DD 2kgc6nvfsiBAt4SyNtg7I9Nmd8dl8EZG7euVddxE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-35792: crypto: rk3288 - Fix use after free in unprepare Date: Fri, 17 May 2024 14:25:13 +0200 Message-ID: <2024051708-CVE-2024-35792-d944@gregkh> X-Mailer: git-send-email 2.45.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=1933; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=yyIF7Pyg0uo6AaWJ9+MoG4J3g5Hd9qJTHWy5eRUodBc=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnuPkuWn9Drkvm+ab75rvPCGeeX2M08Xb/4ZY1J5V69E 9PXni6p6ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJnLFjmKdc++6FWbTY09Dc zIRHNyvl+l7XpTLMUxHKS/8VWM7NOuPaouJEmR3T7jGJAwA= 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: crypto: rk3288 - Fix use after free in unprepare The unprepare call must be carried out before the finalize call as the latter can free the request. The Linux kernel CVE team has assigned CVE-2024-35792 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit c66c17a0f69b and fixed in 6.6.24 with commit 48dd260fdb72 Issue introduced in 6.6 with commit c66c17a0f69b and fixed in 6.7.12 with commit eb2a41a8ae8c Issue introduced in 6.6 with commit c66c17a0f69b and fixed in 6.8 with commit c0afb6b88fbb 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-35792 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/crypto/rockchip/rk3288_crypto_ahash.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/48dd260fdb728eda4a246f635d1325e82f0d3555 https://git.kernel.org/stable/c/eb2a41a8ae8c8c4f68aef3bd94665c0cf23e04be https://git.kernel.org/stable/c/c0afb6b88fbbc177fa322a835f874be217bffe45