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 05CE257D20A for ; Fri, 11 Sep 2026 19:54:25 +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=1789156472; cv=none; b=ESMZBYi8UzwDPLl3zQ2/kpcKVtaHT0U9yM5LSqfInV9bE8gzTkm8P4oQ2b9tMX9Mwp61HhVPU3kV9/yq0iXyFQ3ciyxgIbWjnJrec81Vunqpmy8sBmA67L11liHqJ/GSV0yxkI/IvKPSBYMe4pHBkPE6NVHTbP/tY9ZqsAXYZhA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156472; c=relaxed/simple; bh=H9CNOPYWtoVsrjrllAihH5i27RJtZzxyp0svyMKkERU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=aE6xj6gn5j334hBAbqN1xVIX31wTjBX3E9gxUCGCbFhruDzET5e/mtCylCDvkVN/XTAz6b1KMr9q8J5xbh6WC0kofiZ5TgSzq5pk6ZbUW47w3y3eQX47yfRxmJGa0k3a4QcfLTWZRaJjoTWhNiGHVyEJ2jtOwjwyJ5gpNDaBrtU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=q2w9QQPR; 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="q2w9QQPR" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 524F61F00898; Fri, 11 Sep 2026 19:54:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156464; bh=rlCSZIMeGP59gRk6po/BuXE4N7AbEs0asrZufxy781g=; h=From:To:Cc:Subject:Date:Reply-To; b=q2w9QQPRWh45eZlzQzZARFwyXlLn3HQ7Ps5J5CC0RrrVERWracTqzM2OibQufDe1B D+rnE2JxQavZ5hsatPE/jqErpX1VBb9v1WsClMSGSjyyECV6W+Iagbk0c8zhkeuoPX hJL3WsNvFkF8aLRVXyfQGaiwYGzJDBqkHnFsKUII= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89527: svcrdma: Use svc_xprt_put to free listener on create failure Date: Fri, 11 Sep 2026 21:43:36 +0200 Message-ID: <2026091116-CVE-2026-89527-237b@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=2628; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xeWZZpf3PPEDllRsIdU5dyi8Ot5yM1O8t2Uk52bjGIs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLImMa2AUDdQ4+9i37pFAycc3O5Ycn8P8JOPe1ao33X FGbrQ+7OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi/TIM80OquWvE95o/XLvk wBsNE8dKsR4Ve4YFl4wbZ51oP/YwQeRxIm/II71ohTotAA== 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: svcrdma: Use svc_xprt_put to free listener on create failure svc_rdma_create() calls kfree(cma_xprt) when svc_rdma_create_listen_id() fails. svc_xprt_init() has already acquired a net namespace reference via get_net_track(); kfree bypasses svc_xprt_free() which releases it. Replace the kfree() with svc_xprt_put() so the kref_init birth reference drops to zero and svc_xprt_free() dispatches svc_rdma_free() to clean up properly. sc_cm_id is still NULL at that point; the preceding patch added the necessary NULL guard in svc_rdma_free(). svc_xprt_free() also drops the module reference via module_put(), but the caller _svc_xprt_create() does the same on xpo_create failure, double-putting the single try_module_get() it acquired. Take a compensating __module_get() before the svc_xprt_put() to keep the count balanced, matching the convention in svc_rdma_accept()'s error path. The Linux kernel CVE team has assigned CVE-2026-89527 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.37 with commit 4fb8518bdac8e85f6580ea3f586adf396cd472bc and fixed in 7.2.4 with commit ac1dd6002f758ab7dd3e737757e5a1bb1c0b38d6 Issue introduced in 2.6.37 with commit 4fb8518bdac8e85f6580ea3f586adf396cd472bc and fixed in 7.3-rc1 with commit e346ef7bcb137f50c49f969330ab7dcf64ea1654 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-89527 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/xprtrdma/svc_rdma_transport.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/ac1dd6002f758ab7dd3e737757e5a1bb1c0b38d6 https://git.kernel.org/stable/c/e346ef7bcb137f50c49f969330ab7dcf64ea1654