CVE-2023-54201 Details
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.
A vulnerability exists in the Linux kernel's RDMA/EFA component, specifically related to the order of resource deallocation when destroying Queue Pairs (QPs) or Completion Queues (CQs). The issue arises because the reference count is decreased and memory regions may be freed before the device is requested to destroy the object. If the device fails to complete the destruction, the object remains partially intact, leading to a situation where the reference count can underflow by attempting to decrement an already zeroed count. This vulnerability affects the Linux kernel stable tree.
The vulnerability has been addressed by modifying the resource deallocation process to occur in the reverse order of allocation, ensuring that resources are freed safely. Users can apply the latest patches available in the Linux kernel stable tree to mitigate this issue.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/24f9884971f9b34915b67baacf7350a3f6f19ea4 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/cf38960386f3cc4abf395e556af915e4babcafd2 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/dc202c57e9a1423aed528e4b8dc949509cd32191 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/e79db2f51a564fd4daa3e508b987df5e81c34b20 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| Amazon RDMA EFA | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 28, 2026 | CVE Translated | [email protected] |
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 30, 2025 | New CVE Received | kernel.org |
Volerion