NetSight
medium5.5

CVE-2022-49671

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 t…

Impact

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

VendorProductAffected versions
LinuxLinux Kernel
from 5.7 before 5.10.129
from 5.11 before 5.15.53
from 5.16 before 5.18.10
Version 5.19

Weakness classification

References