همهٔ گزارش‌ها
متوسط

kernel: RDMA/efa: Fix wrong resources deallocation order

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده
نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2023-54201

احتمال بهره‌برداری در ۳۰ روز آینده: 0.15%

FIRST EPSS · ۱۴۰۵/۰۹/۰۱

شرح آسیب‌پذیری

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.

A flaw was found in the Linux kernel's Amazon Elastic Fabric Adapter (EFA) Remote Direct Memory Access (RDMA) driver. When releasing queue resources, the driver decrements reference counts and frees memory before confirming hardware teardown. If the underlying device fails during the operation, repeated deallocation attempts can trigger a reference count underflow. A local user with access to an EFA network interface could exploit this vulnerability to crash the system, resulting in a denial of service (DoS).