CVE-2022-50874

Source
https://cve.org/CVERecord?id=CVE-2022-50874
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50874.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50874
Downstream
Published
2025-12-30T12:23:15.388Z
Modified
2026-04-02T08:28:48.894204Z
Summary
RDMA/erdma: Fix refcount leak in erdma_mmap
Details

In the Linux kernel, the following vulnerability has been resolved:

RDMA/erdma: Fix refcount leak in erdma_mmap

rdmausermmapentryget() take reference, we should release it when not need anymore, add the missing rdmausermmapentryput() in the error path to fix it.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50874.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
155055771704f8cbb5c176a4309b7dc30a50450c
Fixed
8372207b009d6abdd60bb05624640bd86386599f
Fixed
410f0f46ffca4d0102470c1e0c747ecfece4204c
Fixed
ee84146c05ad2316b9a7222d0ec4413e0bf30eeb

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50874.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.0.0
Fixed
6.1.16
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.2.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50874.json"