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 23F0B3AFB12 for ; Thu, 28 May 2026 09:42:41 +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=1779961362; cv=none; b=LBxkmR7EPdP7GDnPP5DWSQFe6hZrGU/npsqyriSsexC39zIj8iuANqDPQaHO0qV/rvjZ/TTZqvmsJulrWjvsxuBFXReZ3neoq2X/Blrn3VcRjppv7v6ATvOg7UBfvG384qU8GfdE4SrqOJNq/mcS6ke9OOsKo3AKFsOPo+4NSHU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961362; c=relaxed/simple; bh=1IrprlooV7ajEUk5iAYRZfGPj+xtRp6boShs/JbYKiM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uBK+YdcVOZdpQV+L+1vOHgjBUK48wVoJ01MH2vQR6oPN5zjMWqx7YkY1RDk5MtzttB5+CkVg2NxZbsdYNEcI4w1KDaZTxDYzPuygCW/VDiQ/+HyT+7Qvn3fRHw0Qx1GCK5F7qwuca45bA5rUuLDnTbB2RL4b5RBw4Ew6g/2vFok= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=thziHrAN; 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="thziHrAN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7C0D61F000E9; Thu, 28 May 2026 09:42:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779961361; bh=9ZalpFfU8mlxY/MDOMX1+qcoDYoVmmRN0Up3WDnWF8w=; h=From:To:Cc:Subject:Date:Reply-To; b=thziHrANDmI7PwjJlkQrqs9c8qANC9sxPFB20RownD54gF/i9bo1HLi67LO1rP0oe IaM7JScZm1bUsMf778Sv+2Alj8bphetUQbE/PgJ4IwDQyJvTYvDtnNqqRFuVMERRQr 5qpjNAhNKck0kPcTc4gjiLitPB/L2LmFIaUdofnw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46178: RDMA/mlx4: Fix resource leak on error in mlx4_ib_create_srq() Date: Thu, 28 May 2026 11:37:23 +0200 Message-ID: <2026052828-CVE-2026-46178-75b8@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=2594; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=kMGDt4/z0NJULP5Nd9tWoYEj+OBYIMBCgWNH8lB4bJo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkSPHN3NBodCdX4fWAG1yUrmd5IfbGZEnodbxoCz286x XWk6dWtjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIkxsM8xNfHLu12qdB415t 5f/+FzO/JEuUzGVYMGHda4Zvnwy0eL6vybum/FCmMjJqEQA= 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/mlx4: Fix resource leak on error in mlx4_ib_create_srq() Sashiko points out that mlx4_srq_alloc() was not undone during error unwind, add the missing call to mlx4_srq_free(). The Linux kernel CVE team has assigned CVE-2026-46178 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.22 with commit 225c7b1feef1b41170f7037a5b10a65cd8a42c54 and fixed in 6.6.140 with commit c5dc30da990045105c9762248d23076223e7878a Issue introduced in 2.6.22 with commit 225c7b1feef1b41170f7037a5b10a65cd8a42c54 and fixed in 6.12.88 with commit 0dbd619716fb07b7de1acd64fec673ee6e1adde7 Issue introduced in 2.6.22 with commit 225c7b1feef1b41170f7037a5b10a65cd8a42c54 and fixed in 6.18.30 with commit e01b8c9286c470b71a38acd320106f2c4f2826a1 Issue introduced in 2.6.22 with commit 225c7b1feef1b41170f7037a5b10a65cd8a42c54 and fixed in 7.0.7 with commit 388617f44d81604a760742a0b5de292d411e63e3 Issue introduced in 2.6.22 with commit 225c7b1feef1b41170f7037a5b10a65cd8a42c54 and fixed in 7.1-rc3 with commit c54c7e4cb679c0aaa1cb489b9c3f2cd98e63a44c 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-46178 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/mlx4/srq.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/c5dc30da990045105c9762248d23076223e7878a https://git.kernel.org/stable/c/0dbd619716fb07b7de1acd64fec673ee6e1adde7 https://git.kernel.org/stable/c/e01b8c9286c470b71a38acd320106f2c4f2826a1 https://git.kernel.org/stable/c/388617f44d81604a760742a0b5de292d411e63e3 https://git.kernel.org/stable/c/c54c7e4cb679c0aaa1cb489b9c3f2cd98e63a44c