Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2223720

Summary: libvma: Socketxtreme buffer reclaim leak
Product: Red Hat Enterprise Linux 8 Reporter: Kamal Heib <kheib>
Component: libvmaAssignee: Kamal Heib <kheib>
Status: CLOSED ERRATA QA Contact: Afom T. Michael <tmichael>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.9CC: ccheney, dbodnarc, hwkernel-mgr, infiniband-qe, rdma-dev-team, tmichael
Target Milestone: rcKeywords: Triaged
Target Release: 8.9Flags: pm-rhel: mirror+
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: libvma-9.8.20-2.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2223701 Environment:
Last Closed: 2023-11-14 15:34:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kamal Heib 2023-07-18 15:49:51 UTC
+++ This bug was initially created as a clone of Bug #2223701 +++

libvma was recently rebased to 9.8.20 but an upstream pre-release version (9.8.31) has a memory leak fix as noted below.

Could that patch be backported to the version in RHEL?

https://github.com/Mellanox/libvma/releases

VMA 9.8.31 Pre-release

Fixed:

    Socketxtreme buffer reclaim leak

--

VMA 9.8.30 Pre-release

Added:

    Support for ConnectX-7

--

VMA 9.8.20 Latest

Fixed:

    Fix compilation issue for gcc 13.0.1

--

Comment 1 Afom T. Michael 2023-08-01 23:46:18 UTC
Test with libvma-9.8.20-2.el8 passed and hence, marking this as "Verified: Tested".

$ grep DISTRO /etc/motd | uniq | tr -d " "
DISTRO=RHEL-8.9.0-20230801.18
$ cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.9 Beta (Ootpa)
$ uname -r
4.18.0-506.el8.x86_64
$ rpm -q rdma-core openmpi mpitests-openmpi ucx libvma libvma-utils
rdma-core-46.0-1.el8.1.x86_64
openmpi-4.1.1-5.el8.x86_64
mpitests-openmpi-7.1-2.el8.1.x86_64
ucx-1.14.1-1.el8.1.x86_64
libvma-9.8.20-2.el8.x86_64
libvma-utils-9.8.20-2.el8.x86_64
$

vma test results on rdma-qe-28/rdma-qe-29 & Beaker job J:8142381:
4.18.0-506.el8.x86_64, rdma-core-46.0-1.el8.1, mlx5, roce.45, ConnectX-5 & mlx5_0
    Result | Status | Test
  ---------+--------+------------------------------------
      PASS |      0 | sockperf pingpong multicast
      PASS |      0 | sockperf throughput multicast
      PASS |      0 | sockperf throughput unicast
      PASS |      0 | sockperf pingpong unicast
      PASS |      0 | sockperf (100 sockets) pingpong multicast
      PASS |      0 | sockperf (100 sockets) pingpong unicast
      PASS |      0 | sockperf pingpong multicast pkey/vlan
      PASS |      0 | sockperf pingpong unicast pkey/vlan

Comment 5 Afom T. Michael 2023-08-03 19:02:43 UTC
vma test passed & libvma-9.8.20-3.el8 is included with RHEL-8.9.0-20230803.17. Therefore, moving this to "Verified".

$ grep DISTRO /etc/motd | uniq | tr -d " "
DISTRO=RHEL-8.9.0-20230803.17
$ cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.9 Beta (Ootpa)
$ uname -r
4.18.0-506.el8.x86_64
$ rpm -qa | grep -E "rdma|vma"
libvma-utils-9.8.20-3.el8.x86_64
librdmacm-46.0-1.el8.1.x86_64
rdma-core-devel-46.0-1.el8.1.x86_64
librdmacm-utils-46.0-1.el8.1.x86_64
rdma-core-46.0-1.el8.1.x86_64
libvma-9.8.20-3.el8.x86_64
$

vma test results on rdma-qe-40/rdma-qe-41 & Beaker job J:8149544:
4.18.0-506.el8.x86_64, rdma-core-46.0-1.el8.1, mlx5, ib0, ConnectX-7 & mlx5_0
    Result | Status | Test
  ---------+--------+------------------------------------
      PASS |      0 | sockperf pingpong multicast
      PASS |      0 | sockperf throughput multicast
      PASS |      0 | sockperf throughput unicast
      PASS |      0 | sockperf pingpong unicast
      PASS |      0 | sockperf (100 sockets) pingpong multicast
      PASS |      0 | sockperf (100 sockets) pingpong unicast
      PASS |      0 | sockperf pingpong multicast pkey/vlan
      PASS |      0 | sockperf pingpong unicast pkey/vlan
Checking for failures and known issues:
  no test failures

vma test results on rdma-qe-40/rdma-qe-41 & Beaker job J:8149544:
4.18.0-506.el8.x86_64, rdma-core-46.0-1.el8.1, mlx5, roce.45, ConnectX-7 & mlx5_1
    Result | Status | Test
  ---------+--------+------------------------------------
      PASS |      0 | sockperf pingpong multicast
      PASS |      0 | sockperf throughput multicast
      PASS |      0 | sockperf throughput unicast
      PASS |      0 | sockperf pingpong unicast
      PASS |      0 | sockperf (100 sockets) pingpong multicast
      PASS |      0 | sockperf (100 sockets) pingpong unicast
      PASS |      0 | sockperf pingpong multicast pkey/vlan
      PASS |      0 | sockperf pingpong unicast pkey/vlan
Checking for failures and known issues:
  no test failures

Comment 7 errata-xmlrpc 2023-11-14 15:34:05 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (libvma bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:6988