CVE-2021-47378
published 2024-05-21CVE-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…
PriorityP342critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
1.17%
64.1th percentile
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.
Affected
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.14.9-1 (bookworm) | linux 5.14.9-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 7110230719602852481c2793d054f866b2bf4a2b < ecf0dc5a904830c926a64feffd8e01141f89822f | ecf0dc5a904830c926a64feffd8e01141f89822f |
| linux | linux | >= 7110230719602852481c2793d054f866b2bf4a2b < d268a182c56e8361e19fb781137411643312b994 | d268a182c56e8361e19fb781137411643312b994 |
| linux | linux | >= 7110230719602852481c2793d054f866b2bf4a2b < 9817d763dbe15327b9b3ff4404fa6f27f927e744 | 9817d763dbe15327b9b3ff4404fa6f27f927e744 |
| linux | linux_kernel | < 5.10.70 | 5.10.70 |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 5.10.70-1 | 5.10.70-1 |
| linux | linux_kernel | >= 0 < 5.14.9-1 | 5.14.9-1 |
| linux | linux_kernel | >= 0 < 5.14.9-1 | 5.14.9-1 |
| linux | linux_kernel | >= 0 < 5.14.9-1 | 5.14.9-1 |
| linux | linux_kernel | >= 5.11 < 5.14.9 | 5.14.9 |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_redhat9.8CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: nvme-rdma: destroy cm id before destroy qp to avoid use after free
vendor_redhat·2024-05-21·CVSS 9.8
CVE-2021-47378 [CRITICAL] CWE-416 kernel: nvme-rdma: destroy cm id before destroy qp to avoid use after free
kernel: nvme-rdma: destroy cm id before destroy qp to avoid use after free
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.
A vulnerability was found in the Linux kernel's nvme-rdma driver where the driver failed to destroy a component cm_id before another component qp was destroyed. This issue occurs when the kernel incorrectly manages memory during RDMA, leading to a potential use-after-f
Debian
CVE-2021-47378: linux - In the Linux kernel, the following vulnerability has been resolved: nvme-rdma: ...
vendor_debian·2021·CVSS 9.8
CVE-2021-47378 [CRITICAL] CVE-2021-47378: linux - In the Linux kernel, the following vulnerability has been resolved: nvme-rdma: ...
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.
Scope: local
bookworm: resolved (fixed in 5.14.9-1)
bullseye: resolved (fixed in 5.10.70-1)
forky: resolved (fixed in 5.14.9-1)
sid: resolved (fixed in 5.14.9-1)
trixie: resolved (fixed in 5.14.9-1)
GHSA
GHSA-7fq3-h5p4-7j98: 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 alw
ghsa_unreviewed·2024-05-21
CVE-2021-47378 [CRITICAL] CWE-416 GHSA-7fq3-h5p4-7j98: 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 alw
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.
OSV
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 alway
osv·2024-05-21·CVSS 9.8
CVE-2021-47378 [CRITICAL] 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 alway
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.
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/9817d763dbe15327b9b3ff4404fa6f27f927e744https://git.kernel.org/stable/c/d268a182c56e8361e19fb781137411643312b994https://git.kernel.org/stable/c/ecf0dc5a904830c926a64feffd8e01141f89822fhttps://git.kernel.org/stable/c/9817d763dbe15327b9b3ff4404fa6f27f927e744https://git.kernel.org/stable/c/d268a182c56e8361e19fb781137411643312b994https://git.kernel.org/stable/c/ecf0dc5a904830c926a64feffd8e01141f89822f
2024-05-21
Published