CVE-2023-54201

RDMA/efa: Fix wrong resources deallocation order

HIGH
7.8
CVSS Score
Published: December 30, 2025 at 12:09 PM UTC
Updated: October 28, 2026 at 07:10 PM 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.2%

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/efa: Fix wrong resources deallocation order When trying to destroy QP or CQ, we first decrease the refcount and potentially free memory regions allocated for the object and then request the device to destroy the object. If the device fails, the object isn't fully destroyed so the user/IB core can try to destroy the object again which will lead to underflow when trying to decrease an already zeroed refcount. Deallocate resources in reverse order of allocating them to safely free them.

Affected

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

5.7ff6629f88c529b07d9704c656c64dae76910e3e9
Vendor states this is fixed in 24f9884971f9b34915b67baacf7350a3f6f19ea4 (fixed)
Vendor states this is fixed in cf38960386f3cc4abf395e556af915e4babcafd2 (fixed)
Vendor states this is fixed in dc202c57e9a1423aed528e4b8dc949509cd32191 (fixed)
Vendor states this is fixed in e79db2f51a564fd4daa3e508b987df5e81c34b20 (fixed)
Vendor states this is fixed in 5.7 (unaffected)
Vendor states this is fixed in 6.1.53 (unaffected)
Vendor states this is fixed in 6.4.16 (unaffected)
Vendor states this is fixed in 6.5.3 (unaffected)
Vendor states this is fixed in 6.6 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusDEFERRED

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