From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796048413; b=ivzWvzHs6e4JbMtCUSMZ7Q3PvhATVB7cyQKo4Iny9K7QKb8OxeaHrtX0fq+uKm43n5dZ v/6eD77UI54dK8WtNUbJ2zS8s2y6Ob1BtPWElm9k5st3BnJ0gr0Z+ykatFD2aO7VVubPW kvycYV0YX14SrzC5PqiLSQUeiFP5EUjZyeE+gOQOKoVKGHELt4pRo1n6teC8CiWZFJ4H+ JOYV9X2QSssJQpsZr8LKqhr9XYWRZptSIJbJYYXTy5jIl6K6ALWADFUWsAj0Ggt4+1xYV KHEDAoMJfhtRxL801S0RsoNk2FsgmeS71MCBLFgpYIi+/drbl2RrET7Xkw98Aj4YcjQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796048413; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=JAq8xyJv6yUwGPBESkhEd9m4KPvZZ9UKqTjSUGKDKPE=; b=vGkzurrf2g+ZxbdhL5KYmtW8WFWpoNVfC9CRfGnzbiIi6tj0DM+B7Jz/zcDH7YmQAgbl gcmJvAvzsT3ArRgnAgFBFqVCNhOXtwci8qwoKyvfEUzYXOLvp4aNmOBQp151+MwLKfMDa Cjx2SfU6wGz3q+gZSDvqIQTt0c2zz2TluxKHalGyagxlWfUinrwUIjj4lOrb4oLydhAQ9 vVYAPe6yA0cnAR95bD699hmOkLzcTWoF7Lr0cWMjVEGENrjbE07xTLfXNUN5VRoUoScmi Fnci/FuDmij3jOuhRVs2G9o3fTMQC45x4ya3c+qTPAZjQRWn3NKubF80UKWLflqMkwA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=CInBMtjw; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2EBC2606A32E for ; Mon, 30 Nov 2026 14:20:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=CInBMtjw Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6BD9C1F00919; Mon, 30 Nov 2026 14:20:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796048412; bh=JAq8xyJv6yUwGPBESkhEd9m4KPvZZ9UKqTjSUGKDKPE=; h=From:To:Cc:Subject:Date:Reply-To; b=CInBMtjwS24rKng6oDGZtRE+A26HEVwt/ZwNN+i1+no79G/KXYykKxF0IVUNfvO32 fR/s9Pj4eQ3BbMjrWif3/bZvMOuxHOt1YNW+9dGM2vWlpJPCuojnE/MS2ztyoMSmRn N/z6mdT0ZCnDuO/AYrj0Mca88dj1gAW5oIA/xoK4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-139592: RDMA/mlx5: Initialize QP/RQ/SQ resource refcount before publishing it Date: Mon, 30 Nov 2026 14:40:01 +0100 Message-ID: <2026113003-CVE-2026-139592-5274@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3552; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lFBrQqH2dNrL/oUDHPsu3MMJfGlDGUUso3gcq/Xas8E=; b=owGbwMvMwCRo6H6F97bub03G02pJDNm81fziHyzurt7//dTemgU3ysQfbJhZqpnGlTnPgVNO/ KTu36aOjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIhh3DPPU9+i9S5CKyj11X 8198rO7J/3d8uxjmO92M0YxtTvm7YCPPq2P9ohUSij9/AAA= 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/mlx5: Initialize QP/RQ/SQ resource refcount before publishing it create_resource_common() inserted the resource into the radix tree before its initialization was complete. A firmware EQE in that window finds a zero refcount_t and calls refcount_inc() on it; the refcount API treats this as a use-after-free, saturates the counter, and permanently breaks the resource's lifecycle tracking. Move the initialization before the radix_tree_insert(). The Linux kernel CVE team has assigned CVE-2026-139592 to this issue. Affected and fixed versions =========================== Issue introduced in 3.11 with commit e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c and fixed in 5.10.275 with commit d3d3ad4d0aa3aa3a204651ae47efa65afa45daae Issue introduced in 3.11 with commit e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c and fixed in 5.15.226 with commit a2fe324cdb430cd23d41948488b65a8529fb9ee1 Issue introduced in 3.11 with commit e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c and fixed in 6.1.193 with commit 69bcd39f042aab1b8b794c50f3affd038cee5056 Issue introduced in 3.11 with commit e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c and fixed in 6.6.163 with commit e147bdda7834ed4188c84c5ead9f417faf8fa698 Issue introduced in 3.11 with commit e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c and fixed in 6.12.119 with commit 3dfebc28751fde6f3be0ddc1c1bcb22b96a72360 Issue introduced in 3.11 with commit e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c and fixed in 6.18.65 with commit bca1076b86026bc6445fd97a1c5c1b86210c510e Issue introduced in 3.11 with commit e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c and fixed in 7.3.6 with commit 674005307775811354545959b2d614b9095deb59 Issue introduced in 3.11 with commit e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c and fixed in 7.4-rc1 with commit 829a0e65deff3f826a7870a52404aeaf1a3fec3f 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-139592 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/hw/mlx5/qpc.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/d3d3ad4d0aa3aa3a204651ae47efa65afa45daae https://git.kernel.org/stable/c/a2fe324cdb430cd23d41948488b65a8529fb9ee1 https://git.kernel.org/stable/c/69bcd39f042aab1b8b794c50f3affd038cee5056 https://git.kernel.org/stable/c/e147bdda7834ed4188c84c5ead9f417faf8fa698 https://git.kernel.org/stable/c/3dfebc28751fde6f3be0ddc1c1bcb22b96a72360 https://git.kernel.org/stable/c/bca1076b86026bc6445fd97a1c5c1b86210c510e https://git.kernel.org/stable/c/674005307775811354545959b2d614b9095deb59 https://git.kernel.org/stable/c/829a0e65deff3f826a7870a52404aeaf1a3fec3f