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

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.012 (66.5th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 67th percentile — 66.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2021-47378: held from 0.012 to 0.012.

EPSS over last 30 days · oldest: 0.012 · newest: 0.012 · change: +0.000

Affected products

  • Linux — versions 7110230719602852481c2793d054f866b2bf4a2b, 4.8, 0
  • Linux Kernel — versions 5.15

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.