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 B77A230BB95 for ; Thu, 18 Sep 2025 13:35: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=1758202522; cv=none; b=J8KzA+kr73tkKq1+FFtn03/joqFbHfys5Z1OcBaW4O3NzsaeX6KxjuwQXNQJTDG2+Rpz1iIwWR1LOarnfeWDj0BWGcZ2T4viUW/GfenSXPHac5KY74YCg8Uy/RmqBnn93rLHUqtAfqUV/4Dvocjd0NEZAxkV8xTilhcsf3NXXbM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758202522; c=relaxed/simple; bh=ddeewwmMQEwVVokrIxLB21Qij+CorUpIkgAt4IwyXnM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XEzrbh62IiRc8jgH2oZCwX06QzEH4qhM2+vzA+vIqnaaWa/pM93xrlm0IFwjqIcxah9j5T1LHlVXxcx/UgPwvOx2lED7q+16URNITHP1Mt6zLcBpwMdYxDhn/1zZN/KUWYiQbDqsSas25aBXVPFGHAfeisO1F0pW7KjZP8j1w10= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TjNzuEtX; 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="TjNzuEtX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3672EC4CEFA; Thu, 18 Sep 2025 13:35:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758202522; bh=ddeewwmMQEwVVokrIxLB21Qij+CorUpIkgAt4IwyXnM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=TjNzuEtXPgP1/SnqhfJ2yXG9JuB3W5n8udNIoA3mEdTwUx0OAoeyCE+oFYRO3bA5s /k2cOCPmM+2p+Vb31fTEvcj017YeISziSrLe6y78wbtTrLrrgkesiCH8ascqe15rPE KBuOfinjTp98SXYBJOO7oYCq89sHy7XeJhFL3ieM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53373: crypto: seqiv - Handle EBUSY correctly Date: Thu, 18 Sep 2025 15:34:18 +0200 Message-ID: <2025091855-CVE-2023-53373-087e@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=3457; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=kSIfONhz0CXkThxpTfirkvhNNqhK2hzevPiMh5YE+SE=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlnuJz9sxd+uCJt7S86vy29uVTtl2jHBLdpt5qfTaoJ+ MqiLnO+I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbidpVhwcZ4j7jVG+r2lXzo OF0edOuRzaZzfAzzM9c8VXn/Iedk1MEV/t1qaZ+/8W/9AwA= 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: seqiv - Handle EBUSY correctly As it is seqiv 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 seqiv 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-53373 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.25 with commit 0a270321dbf948963aeb0e8382fe17d2c2eb3771 and fixed in 4.14.308 with commit cc4d0d4251748a8a68026938f4055d2ac47c5719 Issue introduced in 2.6.25 with commit 0a270321dbf948963aeb0e8382fe17d2c2eb3771 and fixed in 4.19.276 with commit 1effbddaff60eeef8017c6dea1ee0ed970164d14 Issue introduced in 2.6.25 with commit 0a270321dbf948963aeb0e8382fe17d2c2eb3771 and fixed in 5.4.235 with commit 63551e4b7cbcd9914258827699eb2cb6ed6e4a16 Issue introduced in 2.6.25 with commit 0a270321dbf948963aeb0e8382fe17d2c2eb3771 and fixed in 5.10.173 with commit ae849d2f48019ff9c104e32bf588ccbfb200e971 Issue introduced in 2.6.25 with commit 0a270321dbf948963aeb0e8382fe17d2c2eb3771 and fixed in 5.15.99 with commit 36ec108b7bd7e280edb22de028467bd09d644620 Issue introduced in 2.6.25 with commit 0a270321dbf948963aeb0e8382fe17d2c2eb3771 and fixed in 6.1.16 with commit 4d497e8b200a175094e0ac252ed878add39b8771 Issue introduced in 2.6.25 with commit 0a270321dbf948963aeb0e8382fe17d2c2eb3771 and fixed in 6.2.3 with commit 9477db935eb690f697d9bcc4f608927841bc8b36 Issue introduced in 2.6.25 with commit 0a270321dbf948963aeb0e8382fe17d2c2eb3771 and fixed in 6.3 with commit 32e62025e5e52fbe4812ef044759de7010b15dbc 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-53373 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/seqiv.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/cc4d0d4251748a8a68026938f4055d2ac47c5719 https://git.kernel.org/stable/c/1effbddaff60eeef8017c6dea1ee0ed970164d14 https://git.kernel.org/stable/c/63551e4b7cbcd9914258827699eb2cb6ed6e4a16 https://git.kernel.org/stable/c/ae849d2f48019ff9c104e32bf588ccbfb200e971 https://git.kernel.org/stable/c/36ec108b7bd7e280edb22de028467bd09d644620 https://git.kernel.org/stable/c/4d497e8b200a175094e0ac252ed878add39b8771 https://git.kernel.org/stable/c/9477db935eb690f697d9bcc4f608927841bc8b36 https://git.kernel.org/stable/c/32e62025e5e52fbe4812ef044759de7010b15dbc