CVE-2023-54201
Unknown Unknown - Not Provided
Reference Count Underflow in Linux Kernel RDMA EFA Component

Publication date: 2025-12-30

Last updated on: 2025-12-30

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-30
Last Modified
2025-12-30
Generated
2026-05-07
AI Q&A
2025-12-30
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability occurs in the Linux kernel's RDMA/efa component where the order of resource deallocation is incorrect. When destroying a Queue Pair (QP) or Completion Queue (CQ), the system first decreases the reference count and potentially frees memory regions before requesting the device to destroy the object. If the device fails to destroy the object, the object remains partially intact, allowing repeated destruction attempts that cause the reference count to underflow (go below zero). The fix involves deallocating resources in the reverse order of allocation to safely free them.


How can this vulnerability impact me? :

This vulnerability can lead to a reference count underflow, which may cause memory corruption or instability in the system. Such issues could potentially be exploited to cause crashes or unexpected behavior in the kernel, affecting system reliability and security.


What immediate steps should I take to mitigate this vulnerability?

Update the Linux kernel to a version where the RDMA/efa resource deallocation order issue is fixed. This will ensure that resources are deallocated safely and prevent refcount underflow errors when destroying QP or CQ objects.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart