CVE-2023-54201
Unknown Unknown - Not Provided

Reference Count Underflow in Linux Kernel RDMA EFA Component

Vulnerability report for CVE-2023-54201, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

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-07-06
AI Q&A
2025-12-30
EPSS Evaluated
2026-07-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 Quick Actions

Instant insights powered by AI
Executive Summary

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.

Impact Analysis

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.

Mitigation Strategies

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.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2023-54201. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart