What’s Vulnerable › Vulnerabilities

CVE-2022-49671: RDMA/cm: Fix memory leak in ib_cm_insert_listen

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/cm: Fix memory leak in ib_cm_insert_listen cm_alloc_id_priv() allocates resource for the cm_id_priv. When cm_init_listen() fails it doesn't free it, leading to memory leak. Add the missing error unwind.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.129, 5.15.53, 5.18.10. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49671 or the next vulnerability affects your stack