CVE-2023-54201

published 30 Dec 2025 · updated 5 Aug 2026

RDMA/efa: Fix wrong resources deallocation order

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 24f9884971f9b34915b67baacf7350a3f6f19ea4, Kernel cf38960386f3cc4abf395e556af915e4babcafd2, Kernel dc202c57e9a1423aed528e4b8dc949509cd32191 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.7, >=ff6629f88c529b07d9704c656c64dae76910e3e9 <24f9884971f9b34915b67baacf7350a3f6f19ea4, >=ff6629f88c529b07d9704c656c64dae76910e3e9 <cf38960386f3cc4abf395e556af915e4babcafd2, >=ff6629f88c529b07d9704c656c64dae76910e3e9 <dc202c57e9a1423aed528e4b8dc949509cd32191, >=ff6629f88c529b07d9704c656c64dae76910e3e9 <e79db2f51a564fd4daa3e508b987df5e81c34b2024f9884971f9b34915b67baacf7350a3f6f19ea4, cf38960386f3cc4abf395e556af915e4babcafd2, dc202c57e9a1423aed528e4b8dc949509cd32191, e79db2f51a564fd4daa3e508b987df5e81c34b20

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-54201 severity on Zeptric[![CVE-2023-54201](https://zeptric.io/badge/cve/CVE-2023-54201.svg)](https://zeptric.io/cve/CVE-2023-54201)