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 83E1318CBEF for ; Fri, 27 Sep 2024 12:44:45 +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=1727441085; cv=none; b=aV7xXKjfIeocL/OCJXaYxhM9GwEVI00LSHHLdNYzbPDpWCfgxVdeKJsfkQJEqoXN3iMG2l9cHRHI1a3THFWooGrja+sKPzrrbFw+wfkDkMog3SKLkvyiXucU1EXOCA4l9om2yH5N/n/6hw2NCZnPytxOHt335cPFAJ6YCCWmhG8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727441085; c=relaxed/simple; bh=vORK8U3K6tEE1TFltwk/e9QDLNZjj5fhi6rNRLKrZCo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tl3DdTx8yzs+WD+AXmyHHN7hAAAgVWX8GY96iR9/iHIXLp4pMoIRZHGCMwjvh7iN5t/bAst8L+Yez0zCPbGuu4kjW1MfqRR2eFioktuP8iJ0WY3PlvG8T6fxxo4ADd+ZJs71BvTiTAFOL8eT9nwoAsS0KhDBexHxs0f29IfGT4k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Xij1yBo/; 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="Xij1yBo/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A038EC4CEC4; Fri, 27 Sep 2024 12:44:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1727441085; bh=vORK8U3K6tEE1TFltwk/e9QDLNZjj5fhi6rNRLKrZCo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Xij1yBo/Xysa/Q7HW3REw6BmgM1Tmwa8blm8l/FruwaHS4t9PB3umZDrtWGO3xNb9 26vxpSWJ+PNAlbk9YK5zbWcXx3V/HjVjGkONMczuNtMeQogttRyIdBYO923xYAGXZn 8COS+KQwrykbeBru+tZ9i2RxPPgevzIlX777BbeQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46868: firmware: qcom: uefisecapp: Fix deadlock in qcuefi_acquire() Date: Fri, 27 Sep 2024 14:44:01 +0200 Message-ID: <2024092746-CVE-2024-46868-f3a3@gregkh> X-Mailer: git-send-email 2.46.2 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=1928; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vORK8U3K6tEE1TFltwk/e9QDLNZjj5fhi6rNRLKrZCo=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnfVjRNOnqhwXFaQQTnjy0HhRRWsNlvebvnmUq+olhjv WxGwVOLjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjID06GBWtNjurVH+Z6P+VD lo+1YFTOVA75CoYFp8OjPx8Q113kL+U3v5nr24Pp+/f7AQA= 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: qcom: uefisecapp: Fix deadlock in qcuefi_acquire() If the __qcuefi pointer is not set, then in the original code, we would hold onto the lock. That means that if we tried to set it later, then it would cause a deadlock. Drop the lock on the error path. That's what all the callers are expecting. The Linux kernel CVE team has assigned CVE-2024-46868 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit 759e7a2b62eb and fixed in 6.10.11 with commit 8c6a5a1fc02a Issue introduced in 6.7 with commit 759e7a2b62eb and fixed in 6.11 with commit db213b0cfe32 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-46868 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/qcom/qcom_qseecom_uefisecapp.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/8c6a5a1fc02ad1d62d06897ab330693d4d27cd03 https://git.kernel.org/stable/c/db213b0cfe3268d8b1d382b3bcc999c687a2567f