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 ACA9231AA83 for ; Tue, 13 Jan 2026 15:36:46 +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=1768318606; cv=none; b=FB7CQypQ1SdZCEiibRDNzaYeSLR7vN2/hXJELhAX9Sen+IzYqef2sX363oJdZalZ4A/E+gLd/RkLRm8LgQk2FrcH/Tz93KUoiddkwyKmXdEb1nJn89AcriUoJYxGGZ41yMvNoQGd/0JuiB8WbiFDsyTV4UEuZXm9DyZ69ff8Ep8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768318606; c=relaxed/simple; bh=Rgt2+lWmYtVZ1vBp/xMjBdM66pwdQt5myxZetlbCmjw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SqxmhobgKCw3aJat8Stq5dfbfuzGIzjBVed0JzsBfbuiD5FjQdmFHxjjJheoAsMEjrQYihGfyATTas5EKO1HspGqncjrW5OugK4PR2zw/+ARk4D9M//WTqA6LKaQ4qtWhdKo85i0ju2VJa4Zfs/HTDMdeeERjf9pxbbJJyKo6uU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=niP20xii; 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="niP20xii" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2A6E0C116C6; Tue, 13 Jan 2026 15:36:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768318606; bh=Rgt2+lWmYtVZ1vBp/xMjBdM66pwdQt5myxZetlbCmjw=; h=From:To:Cc:Subject:Date:Reply-To:From; b=niP20xiiJx2+ea4BJk8C8M3S+j0loEw7Flx7DCLMLcrT7yqXM/146Q1EMs0Dc0fUV 9dXLzjWe91VQ7bGGAK5TRadMDKbLgz23hqECCmSSpst5/mhkAEwkOAK/iqM3VRTi+d Hf5VnIcziSJkUq1kwIOEAPwBavvfkuGlF9Y6byL4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71084: RDMA/cm: Fix leaking the multicast GID table reference Date: Tue, 13 Jan 2026 16:35:43 +0100 Message-ID: <2026011339-CVE-2025-71084-52a2@gregkh> X-Mailer: git-send-email 2.52.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=3258; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=0gf52jL+8y6nrdfBge7u0rMTvceWxBSgxkVewc33cF4=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlpad4fvp7uOLI64tnapD03338O/X/b4vRUbadTFzX4L xhyFwgzdcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEco8xLGjzZD7BtX6ibL7W acbq3rqgjROk0hnmu1/z3PL1KtfNsvtZi/L4+8O329nkAwA= 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: RDMA/cm: Fix leaking the multicast GID table reference If the CM ID is destroyed while the CM event for multicast creating is still queued the cancel_work_sync() will prevent the work from running which also prevents destroying the ah_attr. This leaks a refcount and triggers a WARN: GID entry ref leak for dev syz1 index 2 ref=573 WARNING: CPU: 1 PID: 655 at drivers/infiniband/core/cache.c:809 release_gid_table drivers/infiniband/core/cache.c:806 [inline] WARNING: CPU: 1 PID: 655 at drivers/infiniband/core/cache.c:809 gid_table_release_one+0x284/0x3cc drivers/infiniband/core/cache.c:886 Destroy the ah_attr after canceling the work, it is safe to call this twice. The Linux kernel CVE team has assigned CVE-2025-71084 to this issue. Affected and fixed versions =========================== Issue introduced in 5.12 with commit fe454dc31e84f8c14cb8942fcb61666c9f40745b and fixed in 6.1.160 with commit ab668a58c4a2ccb6d54add7a76f2f955d15d0196 Issue introduced in 5.12 with commit fe454dc31e84f8c14cb8942fcb61666c9f40745b and fixed in 6.6.120 with commit c0acdee513239e1d6e1b490f56be0e6837dfd162 Issue introduced in 5.12 with commit fe454dc31e84f8c14cb8942fcb61666c9f40745b and fixed in 6.12.64 with commit 5cb34bb5fd726491b809efbeb5cfd63ae5bf9cf3 Issue introduced in 5.12 with commit fe454dc31e84f8c14cb8942fcb61666c9f40745b and fixed in 6.18.4 with commit 3ba6d01c4b3c584264dc733c6a2ecc5bbc8e0bb5 Issue introduced in 5.12 with commit fe454dc31e84f8c14cb8942fcb61666c9f40745b and fixed in 6.19-rc4 with commit 57f3cb6c84159d12ba343574df2115fb18dd83ca Issue introduced in 5.10.20 with commit 60d613b39e8d0c9f3b526e9c96445422b4562d76 Issue introduced in 5.11.3 with commit a3262b3884dd67b4c5632ce7cdf9cff9d1a575d4 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-2025-71084 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: drivers/infiniband/core/cma.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/ab668a58c4a2ccb6d54add7a76f2f955d15d0196 https://git.kernel.org/stable/c/c0acdee513239e1d6e1b490f56be0e6837dfd162 https://git.kernel.org/stable/c/5cb34bb5fd726491b809efbeb5cfd63ae5bf9cf3 https://git.kernel.org/stable/c/3ba6d01c4b3c584264dc733c6a2ecc5bbc8e0bb5 https://git.kernel.org/stable/c/57f3cb6c84159d12ba343574df2115fb18dd83ca