CVE-2021-47378
Severity CVSS v4.0:
Pending analysis
Type:
CWE-416
Use After Free
Publication date:
21/05/2024
Last modified:
02/04/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
nvme-rdma: destroy cm id before destroy qp to avoid use after free<br />
<br />
We should always destroy cm_id before destroy qp to avoid to get cma<br />
event after qp was destroyed, which may lead to use after free.<br />
In RDMA connection establishment error flow, don&#39;t destroy qp in cm<br />
event handler.Just report cm_error to upper level, qp will be destroy<br />
in nvme_rdma_alloc_queue() after destroy cm id.
Impact
Base Score 3.x
9.80
Severity 3.x
CRITICAL
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.10.70 (excluding) | |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.11 (including) | 5.14.9 (excluding) |
| cpe:2.3:o:linux:linux_kernel:5.15:rc1:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/9817d763dbe15327b9b3ff4404fa6f27f927e744
- https://git.kernel.org/stable/c/d268a182c56e8361e19fb781137411643312b994
- https://git.kernel.org/stable/c/ecf0dc5a904830c926a64feffd8e01141f89822f
- https://git.kernel.org/stable/c/9817d763dbe15327b9b3ff4404fa6f27f927e744
- https://git.kernel.org/stable/c/d268a182c56e8361e19fb781137411643312b994
- https://git.kernel.org/stable/c/ecf0dc5a904830c926a64feffd8e01141f89822f



