KernelScan.io

HIGH

rdma UContext DoubleFree

CVE-2026-46189

CVSS 7.0 / 10.0 KernelScan AI

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

01

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.

02

Engine v0.2.0

Risk summary

Local users with RDMA device access can trigger a double free vulnerability in the VMware PVRDMA driver during user context allocation failures. This can lead to kernel memory corruption and system crashes, with potential for privilege escalation in multi-tenant environments.

Affecteddrivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c (RDMA VMware PVRDMA)

Vulnerability analysis

The vulnerability occurs in pvrdma_alloc_ucontext() when ib_copy_to_udata() fails. The error path incorrectly calls pvrdma_uar_free() before pvrdma_dealloc_ucontext(), but pvrdma_dealloc_ucontext() already frees the UAR internally, causing a double free. The fix removes the redundant pvrdma_uar_free() call. Attack surface is local-only, requiring access to RDMA devices, typically available to users in the rdma group on systems with VMware PVRDMA hardware.

03

BranchFixed inPatch commit
5.105.10.258269967d76933
5.155.15.2091df5711121cd
6.16.1.1753a231c34c5bc
6.126.12.8845d25e3ec179
6.186.18.300c63333ff97b
6.66.6.140ecc36a82ecfc
7.07.0.7935ee27d0904
mainline7.1-rc3e38e86995df2