CVE-2023-54201
RDMA/efa: Fix wrong resources deallocation order
- Published
- Updated
- Reserved
- Assigned by
- Linux
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Deferred | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.15% · top 95% of all CVEs (7 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected ff6629f88c529b07d9704c656c64dae76910e3e9 – < cf38960386f3cc4abf395e556af915e4babcafd2
- affected ff6629f88c529b07d9704c656c64dae76910e3e9 – < e79db2f51a564fd4daa3e508b987df5e81c34b20
- affected ff6629f88c529b07d9704c656c64dae76910e3e9 – < 24f9884971f9b34915b67baacf7350a3f6f19ea4
- affected ff6629f88c529b07d9704c656c64dae76910e3e9 – < dc202c57e9a1423aed528e4b8dc949509cd32191
- affected 5.7
- unaffected < 5.7
- unaffected 6.1.53 – ≤ 6.1.*
- unaffected 6.4.16 – ≤ 6.4.*
- unaffected 6.5.3 – ≤ 6.5.*
- unaffected 6.6 – ≤ *
References (4)
- https://git.kernel.org/stable/c/cf38960386f3cc4abf395e556af915e4babcafd2 (opens in a new tab)
- https://git.kernel.org/stable/c/e79db2f51a564fd4daa3e508b987df5e81c34b20 (opens in a new tab)
- https://git.kernel.org/stable/c/24f9884971f9b34915b67baacf7350a3f6f19ea4 (opens in a new tab)
- https://git.kernel.org/stable/c/dc202c57e9a1423aed528e4b8dc949509cd32191 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-54201)Record last updated .