CVE-2021-47378
Last modified
CVE-2021-47378 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 1.17% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | < 5.10.70 | — |
| Linux | Linux Kernel | >= 5.11, < 5.14.9 | — |
| Linux | Linux Kernel | 5.15 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2021-47378?
How severe is CVE-2021-47378?
How do I fix CVE-2021-47378?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-47372In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47373In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47374In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47375In the Linux kernel, the following vulnerability has been re…6.2
- CVE-2021-47376In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47377Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2021-47379In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47380In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47381In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47382In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2021-47383In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2021-47384In the Linux kernel, the following vulnerability has been re…5.3
Are you affected by CVE-2021-47378?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
