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 5FCBA3CE49F for ; Wed, 22 Apr 2026 13:56:51 +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=1776866211; cv=none; b=bRwCiDMzlO4JT+lnZujGdYSXczl7TbCKlR/LcG8PQUiYuQ8svkWEL3pwgJWdZjU3uVY15Raap1Vt14leatfUyTO50727ZiVERj3xU5HQWqt7EdAAGkNaLkahSIi+LbJIHjqSlDpe/tdvLiWxclfKh39pYnWOaz71iBpscsxO0WU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776866211; c=relaxed/simple; bh=F/t+Jk709ZBuJVdq/YI2DA5ZFNfNdA7+fE9fFbO/0n8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=G9fnR4bxhhr7oGfwI00ZBWL/kqwn5PwRXcoqSGUxJ/Jf9C1WuKdRNxQ1niXOeSp0p97rDPLt1/YbP0xeSBv57SO6/1etyQSH26MN7fSCwldlb+OcTaE36d/HI7dLNJz3pA0W1sofUFIgjn41NOthx+RghSq/Te1Djqxi6GF/dys= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TXYgA7N8; 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="TXYgA7N8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EB232C19425; Wed, 22 Apr 2026 13:56:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1776866211; bh=F/t+Jk709ZBuJVdq/YI2DA5ZFNfNdA7+fE9fFbO/0n8=; h=From:To:Cc:Subject:Date:Reply-To:From; b=TXYgA7N8+6BMpeLB6P+R+7eJpT7Iwr4tyvd7s/YV2E6GCc2T24AiiDIkI4GrUVPqI JzsFsD9yipBUsbfNv5fdnS8ZwB+mMfwXSqVKzBV5vSNizfZNGf6K+klVrOz8JGp8Xx bhFVi7wEeOz+6rl8bGnJNs/TPVfV9tFla9v9ZBL4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31492: RDMA/irdma: Initialize free_qp completion before using it Date: Wed, 22 Apr 2026 15:54:38 +0200 Message-ID: <2026042202-CVE-2026-31492-2f6c@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=2941; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=6wq702G7bq4KEHebrwfJMFCO3BUS9A33TkMvFpqEONo=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkvLv06ZM7b8zbc6V/Ih3uuXx5JGxyyj8qYv0N379Tzh /1fna662RHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATqZnHMD9qVmJChERVW3Va xv6d87/wLlHKL2SYZ/xZ+upC3d3xapuXPtd/HK6vMz18AgA= 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/irdma: Initialize free_qp completion before using it In irdma_create_qp, if ib_copy_to_udata fails, it will call irdma_destroy_qp to clean up which will attempt to wait on the free_qp completion, which is not initialized yet. Fix this by initializing the completion before the ib_copy_to_udata call. The Linux kernel CVE team has assigned CVE-2026-31492 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit b48c24c2d710cf34810c555dcef883a3d35a9c08 and fixed in 6.1.168 with commit ac1da7bd224d406b6f1b84414f0f652ab43b6bd8 Issue introduced in 5.14 with commit b48c24c2d710cf34810c555dcef883a3d35a9c08 and fixed in 6.6.131 with commit af310407f79d5816fc0ab3638e1588b6193316dd Issue introduced in 5.14 with commit b48c24c2d710cf34810c555dcef883a3d35a9c08 and fixed in 6.12.80 with commit cd1534c8f4984432382c240f6784408497f5bb0a Issue introduced in 5.14 with commit b48c24c2d710cf34810c555dcef883a3d35a9c08 and fixed in 6.18.21 with commit 3cb88c12461b71c7d9c604aa2e6a9a477ecfa147 Issue introduced in 5.14 with commit b48c24c2d710cf34810c555dcef883a3d35a9c08 and fixed in 6.19.11 with commit f72996834f7bdefc2b95e3eec30447ee195df44e Issue introduced in 5.14 with commit b48c24c2d710cf34810c555dcef883a3d35a9c08 and fixed in 7.0 with commit 11a95521fb93c91e2d4ef9d53dc80ef0a755549b 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-31492 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/irdma/verbs.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/ac1da7bd224d406b6f1b84414f0f652ab43b6bd8 https://git.kernel.org/stable/c/af310407f79d5816fc0ab3638e1588b6193316dd https://git.kernel.org/stable/c/cd1534c8f4984432382c240f6784408497f5bb0a https://git.kernel.org/stable/c/3cb88c12461b71c7d9c604aa2e6a9a477ecfa147 https://git.kernel.org/stable/c/f72996834f7bdefc2b95e3eec30447ee195df44e https://git.kernel.org/stable/c/11a95521fb93c91e2d4ef9d53dc80ef0a755549b