CVE-2022-49671

RDMA/cm: Fix memory leak in ib_cm_insert_listen

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 02:24 AM UTC
Updated: June 17, 2026 at 05:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.535.16 ≤ v < 5.18.105.7 ≤ v < 5.10.1295.7 ≤ v < 5.15.535.7 ≤ v < 5.18.105.7 ≤ v < 5.195.19 rc15.19 rc25.19 rc35.19 rc498f67156a80f37db70ec64787020b1f9bc8aea8c
Vendor states this is fixed in 2990f223ffa7bb25422956b9f79f9176a5b38346 (fixed)
Vendor states this is fixed in 2febf09a8a8ae4accf908f043f1bab1421056568 (fixed)
Vendor states this is fixed in 889000874c1204e47c7f2a4945db262a47e7efc9 (fixed)
Vendor states this is fixed in b0cab8b517aeaf2592c3479294f934209c41a26f (fixed)
Vendor states this is fixed in 5.10.129 (unaffected)
Vendor states this is fixed in 5.15.53 (unaffected)
Vendor states this is fixed in 5.18.10 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 5.7 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2990f223ffa7bb25422956b9f79f9176a5b38346
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2febf09a8a8ae4accf908f043f1bab1421056568
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/889000874c1204e47c7f2a4945db262a47e7efc9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b0cab8b517aeaf2592c3479294f934209c41a26f

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card