Bug 2426049 (CVE-2023-54201) - CVE-2023-54201 kernel: RDMA/efa: Fix wrong resources deallocation order
Summary: CVE-2023-54201 kernel: RDMA/efa: Fix wrong resources deallocation order
Keywords:
Status: NEW
Alias: CVE-2023-54201
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-30 13:04 UTC by OSIDB Bzimport
Modified: 2025-12-31 12:54 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-30 13:04:54 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.