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 0120F386C3B for ; Sat, 15 Aug 2026 06:38:35 +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=1786775916; cv=none; b=U0jXAR0DfTS3zRZIMDia0Eus6S5iPkYL3p2TLExRNzHkrX4kTwyaB+cnkcwt+bEA+yZyg5c+HKqVb69nWniyPRHPBq8LzLb1qObC5s1U1/Y7HQGfzJGXT+u8Q/J2qQX9gNiLXLG/qB0+GSoSZKVAQAvo73Izc2KhxUZJI+EdYqk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775916; c=relaxed/simple; bh=RoMTjGna771wMkUeCX1zu1a4jkclu4Nc44hSW27nCRc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GWjgLJxGxdbsgAjSNKB09+5n4SQ4GBtFTeQZuYznngCubb4qlf/i88E4bhdGoIhNsdkJNuPlc22zpwEWCG2gifuERLknkiIUFHhAB24IxtM8OqkHIkLyvCLZpamE5oGG+Ik1tNB2qxQZm2sKf4g/+dtqBm5BGclqCBZwPouT++M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=F7vuLBJM; 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="F7vuLBJM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4234B1F000E9; Sat, 15 Aug 2026 06:38:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775914; bh=ISpr7o4uvLgV8oNRtcXkFNWCnqUAWHmWINshwUOyhRQ=; h=From:To:Cc:Subject:Date:Reply-To; b=F7vuLBJM4+SR66TQGgjGBrXwCVbCGBuI/UV38ze6OQFsBjKnBFvvhaNeQC8Nh3H1m PdRRI1ZJf4csXmk5FGM3HruNsYghTPNOCBUkZ4xdSiQ+0lfICnmArcAAIcUAUaGOHt C+VU9eYit14Kfcoj4MPrlZe0W/6NGxUf+dPjod5Q= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74397: IB/mlx5: Fix transport-domain rollback and initialize lb mutex earlier Date: Sat, 15 Aug 2026 15:12:04 +0900 Message-ID: <2026081508-CVE-2026-74397-f360@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=2836; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=bUe1q6MnVgXF6zotkkxH2lY6WJDpE067/Z4mYOf4bwM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNjDJbDNW5z6ur3JgjKhbSqvQw4snX6i3l2dtVfXUPc l2qDX7VEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABNhSmNYcK3nzaIT0Z6/o7Vv nHXJ8bCw2+RvzDBX8N9U3jt2al77fazZXrL9a5excuwHAA== 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: IB/mlx5: Fix transport-domain rollback and initialize lb mutex earlier mlx5_ib_alloc_transport_domain() allocates a transport domain and then may fail in mlx5_ib_enable_lb(). In that case, the allocated TD is leaked. Fix this by deallocating the TD when mlx5_ib_enable_lb() returns an error. Also return 0 explicitly in the no-loopback-capability success branch, and move dev->lb.mutex initialization to mlx5_ib_stage_init_init(). The Linux kernel CVE team has assigned CVE-2026-74397 to this issue. Affected and fixed versions =========================== Issue introduced in 4.5 with commit 146d2f1af3245a10b13eef263687e54f4e253d1d and fixed in 6.6.145 with commit 2c3b2667dad69d56774b79db763acb3a1bee0fc0 Issue introduced in 4.5 with commit 146d2f1af3245a10b13eef263687e54f4e253d1d and fixed in 6.12.97 with commit 37fc3cc0f924fd8d0f0cf87b92672dec75a32e57 Issue introduced in 4.5 with commit 146d2f1af3245a10b13eef263687e54f4e253d1d and fixed in 6.18.40 with commit 65e344925fa30abf50c8de8c150b397715fa2066 Issue introduced in 4.5 with commit 146d2f1af3245a10b13eef263687e54f4e253d1d and fixed in 7.1.5 with commit f88e12c95fc19f719e06ca1e9eb20fdad68ef61a Issue introduced in 4.5 with commit 146d2f1af3245a10b13eef263687e54f4e253d1d and fixed in 7.2-rc1 with commit e79389115b9d27287ff6230a9750675106ed7668 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-74397 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/main.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/2c3b2667dad69d56774b79db763acb3a1bee0fc0 https://git.kernel.org/stable/c/37fc3cc0f924fd8d0f0cf87b92672dec75a32e57 https://git.kernel.org/stable/c/65e344925fa30abf50c8de8c150b397715fa2066 https://git.kernel.org/stable/c/f88e12c95fc19f719e06ca1e9eb20fdad68ef61a https://git.kernel.org/stable/c/e79389115b9d27287ff6230a9750675106ed7668