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 E5093171CD for ; Tue, 9 Dec 2025 00:04:02 +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=1765238643; cv=none; b=HU+aWE0gjbHBHxn2DyPwyx5YdnWNHuoECFiiByNW0LquxQEmbcE4bLj/BVKiI3UL8X6WkY67Kr5rje+4LQnEdzcafaJ9BypWn2ElNo1CoTmUV8rHkVLpbn0+PXuiSF2ZxqTot/Mcrm93+dV0t6cqAjFSIwbBjVitJfBalbM8B6Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765238643; c=relaxed/simple; bh=Db9ACR2lLmIYK1t6GV0i7/0Aqh5a5bOtq0dsmWww/oY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XtLsrSwItc54pc/pwwTBO2U3HFhXS4RJPpx1zEpC1GdbMwF89AfF5qqbR26J8MyVQyKVF0oNaMwXtM/pRuldQz3VIFiyPOShKcJl+JbW/fpKizjiAI4XpHup8ge/FtZAl/RJFkwNmeyIx9OEoBHlptiTHXfy1PyRyWGGP/qeXX0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zvDBhBA1; 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="zvDBhBA1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 70A63C4CEF1; Tue, 9 Dec 2025 00:04:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765238642; bh=Db9ACR2lLmIYK1t6GV0i7/0Aqh5a5bOtq0dsmWww/oY=; h=From:To:Cc:Subject:Date:Reply-To:From; b=zvDBhBA1XEiMALgnnTpo25upPpQ4O+SSlvTbTSWPk2i3187MoD8wDR1XvXCRLmJpY Tni/pfgLe1W3fc2X3+siqOkuXy5tPnuV/pdN7pBaFvhdP0etN05OZiPw1aO4SEoVhi iIVFINM3TjlnhxLz1NHmdHpwtFKZBJH+pkU12yBA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53799: crypto: api - Use work queue in crypto_destroy_instance Date: Tue, 9 Dec 2025 09:02:20 +0900 Message-ID: <2025120942-CVE-2023-53799-8397@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2977; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=sGdD6FxsHiJittt+4rNxZ4h/ma4FdHwVIO6vl4wZiDo=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnmac+savQ3LXBnfWLw+NnPN798jy9783PZ7fhX71uU0 sW959bWd8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBErm1jWLCjZWrb2h6e7a4G J30P/Y47uEK46DLDgu75/dnmrHkNIuKJCxsfWU1Yt/59OQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: crypto: api - Use work queue in crypto_destroy_instance The function crypto_drop_spawn expects to be called in process context. However, when an instance is unregistered while it still has active users, the last user may cause the instance to be freed in atomic context. Fix this by delaying the freeing to a work queue. The Linux kernel CVE team has assigned CVE-2023-53799 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.19 with commit 6bfd48096ff8ecabf955958b51ddfa7988eb0a14 and fixed in 5.10.195 with commit 625bf86bf53eb7a8ee60fb9dc45b272b77e5ce1c Issue introduced in 2.6.19 with commit 6bfd48096ff8ecabf955958b51ddfa7988eb0a14 and fixed in 5.15.132 with commit 048545d9fc6424b0a11e7e8771225bb9afe09422 Issue introduced in 2.6.19 with commit 6bfd48096ff8ecabf955958b51ddfa7988eb0a14 and fixed in 6.1.53 with commit c4cb61c5f976183c07d16b0071f0c60bc212ef1f Issue introduced in 2.6.19 with commit 6bfd48096ff8ecabf955958b51ddfa7988eb0a14 and fixed in 6.4.16 with commit 867a146690960ac7b89ce40f4ee60dd32eeb1682 Issue introduced in 2.6.19 with commit 6bfd48096ff8ecabf955958b51ddfa7988eb0a14 and fixed in 6.5.3 with commit c0dbcebc7f390ec7dbe010dcc22c60f0c6bfc26d Issue introduced in 2.6.19 with commit 6bfd48096ff8ecabf955958b51ddfa7988eb0a14 and fixed in 6.6 with commit 9ae4577bc077a7e32c3c7d442c95bc76865c0f17 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-2023-53799 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: crypto/algapi.c include/crypto/algapi.h 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/625bf86bf53eb7a8ee60fb9dc45b272b77e5ce1c https://git.kernel.org/stable/c/048545d9fc6424b0a11e7e8771225bb9afe09422 https://git.kernel.org/stable/c/c4cb61c5f976183c07d16b0071f0c60bc212ef1f https://git.kernel.org/stable/c/867a146690960ac7b89ce40f4ee60dd32eeb1682 https://git.kernel.org/stable/c/c0dbcebc7f390ec7dbe010dcc22c60f0c6bfc26d https://git.kernel.org/stable/c/9ae4577bc077a7e32c3c7d442c95bc76865c0f17