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 731403932C2 for ; Thu, 28 May 2026 09:38:24 +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=1779961105; cv=none; b=TjPO5wokkLPw9Ovxy7xB8ifBqn+UJRkSUHY4pukK6clyWp/nhxSqSlZqk6/OOFy2lXFCJRL/Dud8t5ley260BJKQflJP/T+Ji3ORGTgOcUnRxcWMl4TtsrkmC6jEEKlBw4y7P7AAYVpBMOCBowfg+x9dxw9BqJ5Jy/ExvUGfHoA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961105; c=relaxed/simple; bh=2qvG5ahwXjjNMrFY1mHguqSHC12JMkjQP9BIPphdeCo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Sd/4UzFxrRHT+5YvdPMqbKyXSq7hnu+NtT81ZiJPpz/peiYJf2XkEum6m6bAUiAnofye7TPRmhrZipl7YudqZYrcyNMd21W7TAbsoGYAbnD/zGuHWDX1YRrsKtlvrwXvbfRkuKQCy6G/8KmgADBLuW2pmqKnHFXN+jNP5n3Z6Nw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SW9Xq62+; 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="SW9Xq62+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C7FBD1F000E9; Thu, 28 May 2026 09:38:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779961104; bh=lFGf3OJZkmYclAX42d6+aPNlyfk/opAym5n6SEg7qRU=; h=From:To:Cc:Subject:Date:Reply-To; b=SW9Xq62+SZQrRvV9of3XRJStZrTzJtZE9IknizNkN7hlS+X5I2IdCNYLQepNBDDZM rbQLJapUUNEOb/hJpV6Bla/jkFmHrRflDuumu3jo59DQbewi9fELwnFu24KA9vzr4K c7/NK54AKvRIz+bwJRFcHVmC3bJ2Q0CKqruHTMWw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46126: RDMA/mana: Fix mana_destroy_wq_obj() cleanup in mana_ib_create_qp_rss() Date: Thu, 28 May 2026 11:36:31 +0200 Message-ID: <2026052816-CVE-2026-46126-2575@gregkh> X-Mailer: git-send-email 2.54.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=2567; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ghet0qRY7imc5J/+LUJz+8tc33aPoTosOLOcO5LI5x4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkSPBM2h16Z/OpDZ3FU2pmT3A19N34FpzPWmqcofIiQ2 RuyeSV7RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEyk6DjDHB6m1zM8JnwIWq0t kXDx8WUxs415CxjmhzROCf+QocGRHlhmV837X/HorDJ+AA== 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/mana: Fix mana_destroy_wq_obj() cleanup in mana_ib_create_qp_rss() Sashiko points out there are two bugs here in the error unwind flow, both related to how the WQ table is unwound. First there is a double i-- on the first failure path due to the while loop having a i--, remove it. Second if mana_ib_install_cq_cb() fails then mana_create_wq_obj() is not undone due to the above i--. The Linux kernel CVE team has assigned CVE-2026-46126 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit c15d7802a42402a87880a17eee89ff023e49ecc0 and fixed in 6.12.88 with commit 8f23eb6c50f1a4bf32fc4d62cfb9fc39e8e586cf Issue introduced in 6.8 with commit c15d7802a42402a87880a17eee89ff023e49ecc0 and fixed in 6.18.30 with commit bb9cb36eaefa4dcb7c0d9f7a01e5c739abdd53a8 Issue introduced in 6.8 with commit c15d7802a42402a87880a17eee89ff023e49ecc0 and fixed in 7.0.7 with commit 9a05a6798177e44dfbe18393be2c1ebb89ab06fd Issue introduced in 6.8 with commit c15d7802a42402a87880a17eee89ff023e49ecc0 and fixed in 7.1-rc3 with commit 34ecf795692ee57c393109f4a24ccc313091e137 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-46126 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/mana/qp.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/8f23eb6c50f1a4bf32fc4d62cfb9fc39e8e586cf https://git.kernel.org/stable/c/bb9cb36eaefa4dcb7c0d9f7a01e5c739abdd53a8 https://git.kernel.org/stable/c/9a05a6798177e44dfbe18393be2c1ebb89ab06fd https://git.kernel.org/stable/c/34ecf795692ee57c393109f4a24ccc313091e137