CVE Database›Document archive›CVE-2023-54201

CVE-2023-54201

kernel: RDMA/efa: Fix wrong resources deallocation order

Loading…

Severity

Moderate

Red Hat Product Security

4.7

CVSS 3.1

Review impact separately from score.

Published · December 30, 2025

Updated · October 30, 2026

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.

Statement

This vulnerability is rated as Moderate severity for Red Hat Enterprise Linux because exploitation requires local access to an Amazon Elastic Fabric Adapter (EFA) RDMA device and relies on an uncommon device-level teardown failure. Under typical cloud deployments, systems without EFA networking hardware attached or without the RDMA subsystem in use remain unaffected. A local user able to trigger an underlying hardware destruction error during queue pair or completion queue release could induce a reference count underflow, resulting in a kernel crash and local denial of service.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 4.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-911 · Improper Update of Reference Count