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 427511B3925 for ; Thu, 2 Apr 2026 11:41:11 +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=1775130071; cv=none; b=RP8oMqYemKXefEmaCcZkLzRF8sKmpessEvYYoPP4l4E7SMmMp0o1wBBZEOl+ix4OYMleNhQc0MibXdmy3NONQhT/LgrR4d/h3g4M+A6tf9UjPOH3k5yoyyKVxjqUIdx/0vaCgFxlbF6Pag/buI5tUt/wqC+vbBHE7haWp7j5pIw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775130071; c=relaxed/simple; bh=71Utzs/5YWGOGSgHT1JoDWm36v3fxQyIc+wBQT2etyI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=plp+Uur30NQyNhpSaxdqAtTstA0cK/Uq3rXVwD6x4xuzP6gLZ3oGYLZldU7vRRnspD9R3i2z+NXNoQBg3eVwaM1GtFv9xb/7kqD4dAkr9Gr59Ku0el5WvLgUWgBzxpod9u0CWvDwX6wYf4rrwrd5XYCPiEJXP+C3lxFOtLnV8tY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Qe+F9+aR; 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="Qe+F9+aR" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E7F1C116C6; Thu, 2 Apr 2026 11:41:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1775130070; bh=71Utzs/5YWGOGSgHT1JoDWm36v3fxQyIc+wBQT2etyI=; h=From:To:Cc:Subject:Date:Reply-To:From; b=Qe+F9+aR80jHD/oFfK+mHYeB7WexQE+OHe9wYMZQuS4v0fADUDk9IAcA+sk7C2pB+ vwOS4natcN15JC/SwhpjLXMXY5veEhu6L9IgUdszJaf50BoxKwWSUvoCEtv5n/EEyY FjPnbWEXx1ZtggfygRmhkN4gvOiRapuG//g8yhbc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23414: tls: Purge async_hold in tls_decrypt_async_wait() Date: Thu, 2 Apr 2026 13:41:04 +0200 Message-ID: <2026040203-CVE-2026-23414-d0e3@gregkh> X-Mailer: git-send-email 2.53.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=3810; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=cavcbqVaH9mIkFXk5KDmgMODZ+fR5RVT/S6hHRmYHJs=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnnQs87nHnXs9Dk62n+e1y3hcNvTjsy75DfJemjbKnmO 5umval40xHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQAT+f6IYX7eZG1Lh4NfOY+q 7xPavTUjXSa+WY1hwS6mBL4nD65HFbA8EuR+cm3n5BnTNAA= 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: tls: Purge async_hold in tls_decrypt_async_wait() The async_hold queue pins encrypted input skbs while the AEAD engine references their scatterlist data. Once tls_decrypt_async_wait() returns, every AEAD operation has completed and the engine no longer references those skbs, so they can be freed unconditionally. A subsequent patch adds batch async decryption to tls_sw_read_sock(), introducing a new call site that must drain pending AEAD operations and release held skbs. Move __skb_queue_purge(&ctx->async_hold) into tls_decrypt_async_wait() so the purge is centralized and every caller -- recvmsg's drain path, the -EBUSY fallback in tls_do_decryption(), and the new read_sock batch path -- releases held skbs on synchronization without each site managing the purge independently. This fixes a leak when tls_strp_msg_hold() fails part-way through, after having added some cloned skbs to the async_hold queue. tls_decrypt_sg() will then call tls_decrypt_async_wait() to process all pending decrypts, and drop back to synchronous mode, but tls_sw_recvmsg() only flushes the async_hold queue when one record has been processed in "fully-async" mode, which may not be the case here. [pabeni@redhat.com: added leak comment] The Linux kernel CVE team has assigned CVE-2026-23414 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6.114 with commit c61d4368197d65c4809d9271f3b85325a600586a and fixed in 6.6.131 with commit 2dcf324855c34e7f934ce978aa19b645a8f3ee71 Issue introduced in 6.12.55 with commit 39dec4ea3daf77f684308576baf483b55ca7f160 and fixed in 6.12.80 with commit 6dc11e0bd0a5466bcc76d275c09e5537bd0597dd Issue introduced in 6.18 with commit b8a6ff84abbcbbc445463de58704686011edc8e1 and fixed in 6.18.21 with commit 9f557c7eae127b44d2e863917dc986a4b6cb1269 Issue introduced in 6.18 with commit b8a6ff84abbcbbc445463de58704686011edc8e1 and fixed in 6.19.11 with commit fd8037e1f18ca5336934d0e0e7e1a4fe097e749d Issue introduced in 6.18 with commit b8a6ff84abbcbbc445463de58704686011edc8e1 and fixed in 7.0-rc6 with commit 84a8335d8300576f1b377ae24abca1d9f197807f Issue introduced in 6.1.158 with commit 9f83fd0c179e0f458e824e417f9d5ad53443f685 Issue introduced in 6.17.5 with commit 4fc109d0ab196bd943b7451276690fb6bb48c2e0 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-2026-23414 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: net/tls/tls_sw.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/2dcf324855c34e7f934ce978aa19b645a8f3ee71 https://git.kernel.org/stable/c/6dc11e0bd0a5466bcc76d275c09e5537bd0597dd https://git.kernel.org/stable/c/9f557c7eae127b44d2e863917dc986a4b6cb1269 https://git.kernel.org/stable/c/fd8037e1f18ca5336934d0e0e7e1a4fe097e749d https://git.kernel.org/stable/c/84a8335d8300576f1b377ae24abca1d9f197807f