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 53CA52BF01E for ; Wed, 1 Oct 2025 11:56:22 +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=1759319782; cv=none; b=jBAL3/FmkHdlRsH8aPpUCRv1e9BfVFjpqQkituzfl/EJxDRHpUR7psUNlJx5kdOKVM0I4CGN8C3ysryDWaz85VK1lggvsNx+XSUwloise90D+IF7x2BJd2wehbQtXTlRYBOV1Gl85WuzyPEjFDJCsxg7Tj17bDnsDHH8v2Pl/UY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759319782; c=relaxed/simple; bh=0HfWGLZHWhfm6UIwzVLQpfSc+zJCh/7roTkTUKGk/lE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pP3v1TS2VrrPNWXOPVCPqeIEa/9CcF121C4sGeFcjgge5ccGfTr+iH8JhKr3Lni6g0r/TgJNsMA+VELA9Phek1XooR0vjKqpmJRfIedkBqYHqRbqPjmUZrFGoq1nnMq+JJ81iMEi8XXijdbFe0rHe+myGsfclh/BIvjXRC6pZD4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=yQdxj261; 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="yQdxj261" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B9FDCC4CEF4; Wed, 1 Oct 2025 11:56:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759319782; bh=0HfWGLZHWhfm6UIwzVLQpfSc+zJCh/7roTkTUKGk/lE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=yQdxj261PcgLPhi5l5u89Yo3yda+uDf65hbEze6xZ9BQKdqRsNB0UjEVSyTntFOuN g5KnNpplnQcpCjWb2I4d968jpIoqr2y+XHg6Fa6/g/KPjnhKzwc+Ic4H4Zo1Uo3X9B MVRxT88pXP1roaYxLJ4RcPelCqiq4zVszcShdMXk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53494: crypto: xts - Handle EBUSY correctly Date: Wed, 1 Oct 2025 13:45:46 +0200 Message-ID: <2025100124-CVE-2023-53494-6542@gregkh> X-Mailer: git-send-email 2.51.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=2739; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=TgQw2TQ0mY+NA4hTAH+IDCtNsiAY0q63YQct5LdbXIg=; b=owGbwMvMwCRo6H6F97bub03G02pJDBl3RUK3O9sIrnrXGt508Tq392P7HZ42l2Wzrn5LLJ3+3 +3nxgb5jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIbAfDggtPXlydHbm0fNvy 0DjeDSWn78hPamOYn//urWVQtr8rr+njjk9VITrMcoUtAA== 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: xts - Handle EBUSY correctly As it is xts only handles the special return value of EINPROGRESS, which means that in all other cases it will free data related to the request. However, as the caller of xts 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-53494 to this issue. Affected and fixed versions =========================== Issue introduced in 5.4 with commit 8083b1bf8163e7ae7d8c90f221106d96450b8aa8 and fixed in 5.10.173 with commit 92a07ba4f0af2cccdc2aa5ee32679c9c9714db90 Issue introduced in 5.4 with commit 8083b1bf8163e7ae7d8c90f221106d96450b8aa8 and fixed in 5.15.99 with commit 912eb10b65646ffd222256c78a1c566a3dac177d Issue introduced in 5.4 with commit 8083b1bf8163e7ae7d8c90f221106d96450b8aa8 and fixed in 6.1.16 with commit 57c3e1d63b63dc0841d41df729297cd7c1c35808 Issue introduced in 5.4 with commit 8083b1bf8163e7ae7d8c90f221106d96450b8aa8 and fixed in 6.2.3 with commit d5870848879291700fe6c5257dcb48aadd10425c Issue introduced in 5.4 with commit 8083b1bf8163e7ae7d8c90f221106d96450b8aa8 and fixed in 6.3 with commit 51c082514c2dedf2711c99d93c196cc4eedceb40 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-53494 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/xts.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/92a07ba4f0af2cccdc2aa5ee32679c9c9714db90 https://git.kernel.org/stable/c/912eb10b65646ffd222256c78a1c566a3dac177d https://git.kernel.org/stable/c/57c3e1d63b63dc0841d41df729297cd7c1c35808 https://git.kernel.org/stable/c/d5870848879291700fe6c5257dcb48aadd10425c https://git.kernel.org/stable/c/51c082514c2dedf2711c99d93c196cc4eedceb40