Use After Free in Linux

CVE-2021-47378

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.

Vulnerability class: Use-After-Free

EPSS: 0.012 (64.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-47378?
CVE-2021-47378 is a critical-severity vulnerability in Linux, classified under Use After Free. CVSS score: 9.8/10. Published 2024-05-21.
How severe is CVE-2021-47378?
Critical severity. CVSS v3 base score is 9.8 out of 10.