CVE-2021-47378
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 1.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.2% in the next 30 days (EPSS).
- Severity: 9.8 CRITICAL (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.2% · EPSS, next 30 days
- Weakness
- CWE-416 · Use after free
- Record status
- Analyzed
Affected
- Linux Kernel < 5.10.70
- Linux Kernel < 5.14.9
- Linux Kernel 5.15
Attack profile CVSS 3.1 · 9.8
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2021-47378.md and follow it. Check whether this project is affected by CVE-2021-47378. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- 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
References
- 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