Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2023-54201

RDMA/efa: Fix wrong resources deallocation order

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • ff6629f88c529b07d9704c656c64dae76910e3e9 to < cf38960386f3cc4abf395e556af915e4babcafd2affected
  • ff6629f88c529b07d9704c656c64dae76910e3e9 to < e79db2f51a564fd4daa3e508b987df5e81c34b20affected
  • ff6629f88c529b07d9704c656c64dae76910e3e9 to < 24f9884971f9b34915b67baacf7350a3f6f19ea4affected
  • ff6629f88c529b07d9704c656c64dae76910e3e9 to < dc202c57e9a1423aed528e4b8dc949509cd32191affected

Linux Linux

Default version status: affected

  • 5.7affected
  • 0 to < 5.7unaffected
  • 6.1.53 to ≤ 6.1.*unaffected
  • 6.4.16 to ≤ 6.4.*unaffected
  • 6.5.3 to ≤ 6.5.*unaffected
  • 6.6 to ≤ *unaffected

References