CVE-2022-50137

RDMA/irdma: Fix a window for use-after-free

HIGH
7.8
CVSS Score
Published: June 18, 2025 at 11:03 AM UTC
Updated: August 5, 2026 at 09:24 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
HIGH7.8
Exploit prediction
EPSS 0.3%

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/irdma: Fix a window for use-after-free During a destroy CQ an interrupt may cause processing of a CQE after CQ resources are freed by irdma_cq_free_rsrc(). Fix this by moving the call to irdma_cq_free_rsrc() after the irdma_sc_cleanup_ceqes(), which is called under the cq_lock.

Affected

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

5.14 ≤ v < 5.15.615.14 ≤ v < 5.18.185.14 ≤ v < 5.19.25.14 ≤ v < 6.05.16 ≤ v < 5.18.185.19 ≤ v < 5.19.25.14b48c24c2d710cf34810c555dcef883a3d35a9c08
Vendor states this is fixed in 0abf2eef80295923b819ce89ff9edc1fe61be17c (fixed)
Vendor states this is fixed in 350ac793a03c8a30a3f2b27fc282cd1c67070763 (fixed)
Vendor states this is fixed in 8ecef7890b3aea78c8bbb501a4b5b8134367b821 (fixed)
Vendor states this is fixed in 92520864ef9f912f38b403d172a0ded020683d55 (fixed)
Vendor states this is fixed in 5.14 (unaffected)
Vendor states this is fixed in 5.15.61 (unaffected)
Vendor states this is fixed in 5.18.18 (unaffected)
Vendor states this is fixed in 5.19.2 (unaffected)
Vendor states this is fixed in 6.0 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0abf2eef80295923b819ce89ff9edc1fe61be17c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/350ac793a03c8a30a3f2b27fc282cd1c67070763
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8ecef7890b3aea78c8bbb501a4b5b8134367b821
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/92520864ef9f912f38b403d172a0ded020683d55

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

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