Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-50775

RDMA/hns: Fix refcount leak in hns_roce_mmap

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: Fix refcount leak in hns_roce_mmap rdma_user_mmap_entry_get_pgoff() takes the reference. Add missing rdma_user_mmap_entry_put() to release the reference. Acked-by Haoyue Xu <xuhaoyue1@hisilicon.com>

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 0045e0d3f42ed7d05434bb5bc16acfc793ea4891 to < fa87cf2e756efe809ee8683d4f282f4de962dab6affected
  • 0045e0d3f42ed7d05434bb5bc16acfc793ea4891 to < 8abd2ff2256a2a99c11c7ecdcb5512429933620faffected
  • 0045e0d3f42ed7d05434bb5bc16acfc793ea4891 to < cf6a05c8494a8ae7fec8e5f1229b45ca5b4bcd30affected

Linux Linux

Default version status: affected

  • 5.17affected
  • 0 to < 5.17unaffected
  • 6.1.16 to ≤ 6.1.*unaffected
  • 6.2.3 to ≤ 6.2.*unaffected
  • 6.3 to ≤ *unaffected

References