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 D09163AFD09 for ; Thu, 28 May 2026 09:41:50 +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=1779961312; cv=none; b=mMHazkhcJzu9WFCOR4AkeQX1JSnEQ6606HrcRZhnbvoajvmGcxq/CqzoV0MooAHyRRrV8ZDr7Ni6vwuIV+DptmC9O5K8PF4+vmPpdPhpkLcoLwpOO59Tak2HpdAfH5y+O00rp4MlKAZq0mZ5tDm4nI50GVXN1mhHdEUdR8fON/s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961312; c=relaxed/simple; bh=xneC65L+WCuYrN75utEUWWfXqy1GyvXp7Pc/Hz09gEk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cv1YgrIVfzcvvRq2vClmcSKV2SPpE3e5tKefICAtynI4eCM7KNBMnGRliwK5HK5t4yRoFLGuB4zOxUQ0aTRM7QvFHA4y3wSHknfdb/SVwq5ayt/tkb9AJy21z1iAJtAAJBv2LlKRECTsXIFrJB2VbRU7hr+PdhTgitCX27rk1GM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0kCVgZy7; 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="0kCVgZy7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2EEAF1F000E9; Thu, 28 May 2026 09:41:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779961310; bh=3Pvm/gnrOr9q91XXVsCaPFmd64lNVS/NsttUtLPV6KQ=; h=From:To:Cc:Subject:Date:Reply-To; b=0kCVgZy7ldBqZHx6DvZAYafp7hkp4vG9vCrhGZOJ0E9nPI+AFHzRZNJ6P1yxdlShA bsmgJK4pzZesAVG6jHVwlAVDhLBwGl8C2EA8Zcc4ZJt9y1wCcmp0zsZnIQL2wiZVi6 ppCTuuJ0WaYm/bmyfwf//7IZ6tkzTQjggA7PKzjg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46189: RDMA/vmw_pvrdma: Fix double free on pvrdma_alloc_ucontext() error path Date: Thu, 28 May 2026 11:37:34 +0200 Message-ID: <2026052831-CVE-2026-46189-c188@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=2629; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Hu2tY2riNJmD7elWiCFG/+O/9OuYdMsQnMY2Lu2trvs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkSPPNZ7+rsum8xSWmi0qXvmsGhF/5v21pl8thIU/yAg YFiyJWCjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhI6FKGBYuFZpvHikekHlcQ jnsj7vVGex9HNMOC7UyTvilnV3rPPWSgvqUuz+3jzQ8XAA== 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/vmw_pvrdma: Fix double free on pvrdma_alloc_ucontext() error path Sashiko points out that pvrdma_uar_free() is already called within pvrdma_dealloc_ucontext(), so calling it before triggers a double free. The Linux kernel CVE team has assigned CVE-2026-46189 to this issue. Affected and fixed versions =========================== Issue introduced in 4.10 with commit 29c8d9eba550c6d73d17cc1618a9f5f2a7345aa1 and fixed in 6.6.140 with commit ecc36a82ecfcfdf3c6606d209f22ec5543c410e0 Issue introduced in 4.10 with commit 29c8d9eba550c6d73d17cc1618a9f5f2a7345aa1 and fixed in 6.12.88 with commit 45d25e3ec17900bf5a9d6876ff16ceee31c4c0e0 Issue introduced in 4.10 with commit 29c8d9eba550c6d73d17cc1618a9f5f2a7345aa1 and fixed in 6.18.30 with commit 0c63333ff97bd1275294fd12840a0efe9d7a4c59 Issue introduced in 4.10 with commit 29c8d9eba550c6d73d17cc1618a9f5f2a7345aa1 and fixed in 7.0.7 with commit 935ee27d0904aa944cbcc979094c20e5ef62eead Issue introduced in 4.10 with commit 29c8d9eba550c6d73d17cc1618a9f5f2a7345aa1 and fixed in 7.1-rc3 with commit e38e86995df27f1f854063dab1f0c6a513db3faf 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-46189 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/vmw_pvrdma/pvrdma_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/ecc36a82ecfcfdf3c6606d209f22ec5543c410e0 https://git.kernel.org/stable/c/45d25e3ec17900bf5a9d6876ff16ceee31c4c0e0 https://git.kernel.org/stable/c/0c63333ff97bd1275294fd12840a0efe9d7a4c59 https://git.kernel.org/stable/c/935ee27d0904aa944cbcc979094c20e5ef62eead https://git.kernel.org/stable/c/e38e86995df27f1f854063dab1f0c6a513db3faf