← CVE Intelligence

CVE-2022-50874

RDMA/erdma: Fix refcount leak in erdma_mmap PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: RDMA/erdma: Fix refcount leak in erdma_mmap rdma_user_mmap_entry_get() take reference, we should release it when not need anymore, add the missing rdma_user_mmap_entry_put() in the error path to fix it.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 155055771704f8cbb5c176a4309b7dc30a50450c before 8372207b009d6abdd60bb05624640bd86386599f; affected 155055771704f8cbb5c176a4309b7dc30a50450c before 410f0f46ffca4d0102470c1e0c747ecfece4204c; affected 155055771704f8cbb5c176a4309b7dc30a50450c before ee84146c05ad2316b9a7222d0ec4413e0bf30eeb
Linux / Linuxaffected 6.0; unaffected 0 before 6.0; unaffected 6.1.16 through 6.1.*; unaffected 6.2.3 through 6.2.*; unaffected 6.3 through *

CWE

No CWE identifiers supplied.

References