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 BF7613346A9 for ; Wed, 24 Dec 2025 12:27: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=1766579265; cv=none; b=qX1MZQdBpnFssGD+9fvP2UqqliBz8I03wLVvp3F4PWVv/DuzJoo1S3Be405J2/mwHG++2BIlvBYV8ybDOQVrJT5FaTeFFsMjioZTuM+0cwTdREfvJZzEBHFm3MikjY13eYbqkbIEmH9dXpM4hh1c1VS10wHzrTxi0Z1aDf5XMxs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766579265; c=relaxed/simple; bh=xOgk76Os5tnz8UsvQosrgiYFLx1zekfvAsuh+p7MLOw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mN7hPTU8i5QodLip21kWdZUp9gqacd83Fv5I2ay5IbcZVW8BZmTi+eh3Fzr3rD+IWn6eUCh5zuTwHxDPKROQ0VSvkwML7CiDoxmVV+d/Mg7i5eijUEI6Pjs9UJnYNuQqoamqyjowuok3TbwRXwA6glLcOHmPb5gMAN+UyH0tk7o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=c3yFdbPD; 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="c3yFdbPD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 44CF0C4CEFB; Wed, 24 Dec 2025 12:27:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766579265; bh=xOgk76Os5tnz8UsvQosrgiYFLx1zekfvAsuh+p7MLOw=; h=From:To:Cc:Subject:Date:Reply-To:From; b=c3yFdbPD0cGO57kvLUYID4ul3cswRbIrZ0gfR+UuGX/7X7B4LmBR7bjHw9ScWaqk/ c2+74s8l37zFB7VDQR8nY9YrHaYanT12S2ps5b0Q/k8LzhG5mB1BzPjsbCxirP78us 2YypIJwKAfroxK6Q0/A4UFCcrPSBuwnai+l1YELI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54046: crypto: essiv - Handle EBUSY correctly Date: Wed, 24 Dec 2025 13:26:39 +0100 Message-ID: <2025122423-CVE-2023-54046-aaf6@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=2975; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=aSBQxyTBNzBPkll53++e8ldZdYNjZwn53tGk7mYMTbA=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnet9/rSm/qSXn77vsvbv/E/yli56r7LwiqdVrbzal46 nmpvaKgI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACayPophwaY6x07tEzmZWbbC +RNNtZQ/rQr0Z5jvM9Goa+42wyT3kp+HbDu7pI/tKosGAA== 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: essiv - Handle EBUSY correctly As it is essiv only handles the special return value of EINPROGERSS, which means that in all other cases it will free data related to the request. However, as the caller of essiv may specify MAY_BACKLOG, we also need to expect EBUSY and treat it in the same way. Otherwise backlogged requests will trigger a use-after-free. The Linux kernel CVE team has assigned CVE-2023-54046 to this issue. Affected and fixed versions =========================== Issue introduced in 5.4 with commit be1eb7f78aa8fbe34779c56c266ccd0364604e71 and fixed in 5.4.235 with commit c61e7d182ee3f3f5ecf18a2964e303d49c539b52 Issue introduced in 5.4 with commit be1eb7f78aa8fbe34779c56c266ccd0364604e71 and fixed in 5.10.173 with commit 796e02cca30a67322161f0745e5ce994bbe75605 Issue introduced in 5.4 with commit be1eb7f78aa8fbe34779c56c266ccd0364604e71 and fixed in 5.15.99 with commit 840a1d3b77c1b062bd62b4733969a5b1efc274ce Issue introduced in 5.4 with commit be1eb7f78aa8fbe34779c56c266ccd0364604e71 and fixed in 6.1.16 with commit a006aa3eedb8bfd6fe317c3cfe9c86ffe76b2385 Issue introduced in 5.4 with commit be1eb7f78aa8fbe34779c56c266ccd0364604e71 and fixed in 6.2.3 with commit 69c67d451fc19d88e54f7d97e8e7c093e08357e1 Issue introduced in 5.4 with commit be1eb7f78aa8fbe34779c56c266ccd0364604e71 and fixed in 6.3 with commit b5a772adf45a32c68bef28e60621f12617161556 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-54046 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/essiv.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/c61e7d182ee3f3f5ecf18a2964e303d49c539b52 https://git.kernel.org/stable/c/796e02cca30a67322161f0745e5ce994bbe75605 https://git.kernel.org/stable/c/840a1d3b77c1b062bd62b4733969a5b1efc274ce https://git.kernel.org/stable/c/a006aa3eedb8bfd6fe317c3cfe9c86ffe76b2385 https://git.kernel.org/stable/c/69c67d451fc19d88e54f7d97e8e7c093e08357e1 https://git.kernel.org/stable/c/b5a772adf45a32c68bef28e60621f12617161556