Skip to content
9.8 Critical

CVE-2021-47378 In the Linux kernel, the following vulnerability has been resolved: nvme-rdma: destroy cm id before destroy qp to…

Description

In the Linux kernel, the following vulnerability has been resolved: nvme-rdma: destroy cm id before destroy qp to avoid use after free We should always destroy cm_id before destroy qp to avoid to get cma event after qp was destroyed, which may lead to use after free. In RDMA connection establishment error flow, don't destroy qp in cm event handler.Just report cm_error to upper level, qp will be destroy in nvme_rdma_alloc_queue() after destroy cm id.

Affected products and versions

Product Affected versions Fixed in
Linux 5.15 earliest → < 5.15 5.15
Linux 5.14 earliest → < 5.14.9 5.14.9
Linux 5.10 earliest → < 5.10.70 5.10.70
Linux 4.8 No fix stated
linux_kernel 5.15 earliest → < 5.15 5.15

References

Timeline

  1. Published
  2. Last modified
The 18283 CVEs of Linux →
Track this CVE