CVE-2021-47378nvme-rdma: destroy cm id before destroy qp to avoid use after free
- 9.8CriticalCVSS base score
- 1.2%Exploitation in 30 daysEPSS · top 32% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CISA-ADPADP (enrichment) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.2% · top 32% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
- affected 7110230719602852481c2793d054f866b2bf4a2b – < ecf0dc5a904830c926a64feffd8e01141f89822f
- affected 7110230719602852481c2793d054f866b2bf4a2b – < d268a182c56e8361e19fb781137411643312b994
- affected 7110230719602852481c2793d054f866b2bf4a2b – < 9817d763dbe15327b9b3ff4404fa6f27f927e744
- affected 4.8
- unaffected < 4.8
- unaffected 5.10.70 – ≤ 5.10.*
- unaffected 5.14.9 – ≤ 5.14.*
- unaffected 5.15 – ≤ *
References
References3
- https://git.kernel.org/stable/c/ecf0dc5a904830c926a64feffd8e01141f89822f (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/d268a182c56e8361e19fb781137411643312b994 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/9817d763dbe15327b9b3ff4404fa6f27f927e744 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-34383 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-47378)Record last updated .