{"id":"CVE-2022-50874","summary":"RDMA/erdma: Fix refcount leak in erdma_mmap","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/erdma: Fix refcount leak in erdma_mmap\n\nrdma_user_mmap_entry_get() take reference, we should release it when not\nneed anymore, add the missing rdma_user_mmap_entry_put() in the error\npath to fix it.","modified":"2026-08-12T03:51:40.600102939Z","published":"2025-12-30T12:23:15.388Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50874.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/410f0f46ffca4d0102470c1e0c747ecfece4204c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8372207b009d6abdd60bb05624640bd86386599f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ee84146c05ad2316b9a7222d0ec4413e0bf30eeb"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50874.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50874"},{"type":"PACKAGE","url":"https://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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.9.0"}