From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 515DE585980 for ; Fri, 11 Sep 2026 19:54:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156504; cv=none; b=GYlF/2Fc+a0wSkDGI36hDhLMPh1+DyWWMga3YTFOy3wbvdsi8I1nwB6mpPiKKg/r4dSxolmiAtDIXe5buh7XZf6USgPSySk89+fnN6PdbPM4yalZ2op/iTfvkcI8IXKp3KNizwssz4Jg4AGnyG8UGNljAclQ3ft7AE9t2f6JgX0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156504; c=relaxed/simple; bh=uItzbhSBBgaFstKEQehkt9vj9G9xm9y+FYKSRme3hWY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NFAulouk5gOrQqtXzpId8QlHvjWNx7a1bHIvs8aypriYGXdxmbaxBmkpajY4jnyDmea1b+72J/8NYL6E7v0yGKsiX9PDOQm9OdemF31MZ9HYDl9NKXRHo3B81YvCQ2gkf+riedDXHopjb21QEQmQljmBqcpDNXUUV92159vI+g8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qCuCxRO/; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="qCuCxRO/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19D721F000FF; Fri, 11 Sep 2026 19:54:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156494; bh=F4BWakPsWGxurLhoEbAnvXnK3K5CdymJU+M2VbrLh2c=; h=From:To:Cc:Subject:Date:Reply-To; b=qCuCxRO/AP+yTra29lrfl/vp2LHSakK3NYRLBzEVhgZE6+F0KCeuLSnjEy+pMFKor +OhuzN25d9i9JjETdkpwnObv8MgGocFAiZOnVJBBSsJOq0DiZeVFJKWc8RktPKtDZz mt2Wr1SZto1x06jcQb5QxKv6711yLX7vxAnPpoz4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89536: SUNRPC: wait for in-flight client TLS handshake callback Date: Fri, 11 Sep 2026 21:43:45 +0200 Message-ID: <2026091118-CVE-2026-89536-9ef9@gregkh> X-Mailer: git-send-email 2.55.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=3041; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/zZgGUPDw8YgQhdVU67Pznz+HGV3b8hqzhp+wTrg1MU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIuOsb6S88OGTUX2pWaW54/+RlxYipeUnbKcEXoq8M /NTXPKWjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiImSPDgktsUee5GVRdth5m vrQzvmKevvZHW4YFRzc86JqZFGn/IXF9DEt29F/WU2+dAA== 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: SUNRPC: wait for in-flight client TLS handshake callback xs_tls_handshake_sync() gives xs_tls_handshake_done() a reference to the lower transport before submitting the handshake request. On timeout or signal, the synchronous waiter drops that reference after calling tls_handshake_cancel(). handshake_req_cancel() returns false when handshake_complete() has already marked the request complete. In that case the completion callback can still be running, so dropping the callback-owned reference in the waiter can free the lower transport before xs_tls_handshake_done() stores xprt_err or drops its own reference. If cancellation loses to completion, wait until xs_tls_handshake_done() signals handshake_done and let the callback release its reference. This mirrors the server-side handshake lifetime handling and keeps the timeout or signal return value unchanged. The Linux kernel CVE team has assigned CVE-2026-89536 to this issue. Affected and fixed versions =========================== Issue introduced in 6.5 with commit 75eb6af7acdf566c68d61e98e67ee2f235201c02 and fixed in 6.12.109 with commit 15431820f448e09f8029b670d5c82aa5917d4625 Issue introduced in 6.5 with commit 75eb6af7acdf566c68d61e98e67ee2f235201c02 and fixed in 6.18.50 with commit 1de391e8b94e31b45c19c16dbf315e294810c7de Issue introduced in 6.5 with commit 75eb6af7acdf566c68d61e98e67ee2f235201c02 and fixed in 7.2.4 with commit 7fbb6d2ab0391eb8d1f1a68e6bc263ef02cea61b Issue introduced in 6.5 with commit 75eb6af7acdf566c68d61e98e67ee2f235201c02 and fixed in 7.3-rc1 with commit a89dd597458848b463d284b15e42a8078beeb046 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-89536 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/sunrpc/xprtsock.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/15431820f448e09f8029b670d5c82aa5917d4625 https://git.kernel.org/stable/c/1de391e8b94e31b45c19c16dbf315e294810c7de https://git.kernel.org/stable/c/7fbb6d2ab0391eb8d1f1a68e6bc263ef02cea61b https://git.kernel.org/stable/c/a89dd597458848b463d284b15e42a8078beeb046