Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-47378

published critical CVSS 3.1 · 9.8

nvme-rdma: destroy cm id before destroy qp to avoid use after free

Published
21 May 2024, 15:03:41 UTC
Updated
05 Aug 2026, 08:47:31 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux7110230719602852481c2793d054f866b2bf4a2b to < ecf0dc5a904830c926a64feffd8e01141f89822f · 7110230719602852481c2793d054f866b2bf4a2b to < d268a182c56e8361e19fb781137411643312b994 · 7110230719602852481c2793d054f866b2bf4a2b to < 9817d763dbe15327b9b3ff4404fa6f27f927e744 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.8 (affected) · 0 to < 4.8 (unaffected · semver) · 5.10.70 through 5.10.* (unaffected · semver) · 5.14.9 through 5.14.* (unaffected · semver) · 5.15 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
linux — linux_kernel1da177e4c3f4 · Other versions: unknown Affected Not stated CISA-ADP
linux — linux_kernel5.10.70 · Other versions: unknown Unaffected Not stated CISA-ADP
Amazon Linux AL2 Release evaluation Pending Fix; Not Affected Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2022-007 Fixed Not stated Amazon Linux assessment
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Show 101 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
linux — linux_kernel5.14.9 · Other versions: unknown Unaffected Not stated CISA-ADP
linux — linux_kernel5.15 · Other versions: unknown Unaffected Not stated CISA-ADP
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernelx86_64 Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernelx86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-abi-stablelistsnoarch Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-abi-stablelistsnoarch Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-coreaarch64 Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-coreaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-coreppc64le Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-coreppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-cores390x Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-cores390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-corex86_64 Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-corex86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debugaarch64 Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debugaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debugppc64le Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debugppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debugs390x Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debugs390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debugx86_64 Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debugx86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreaarch64 Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreppc64le Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-cores390x Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debug-cores390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-corex86_64 Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debug-corex86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoaarch64 Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoppc64le Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfos390x Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfos390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfox86_64 Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfox86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-develaarch64 Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debug-develaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-develppc64le Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debug-develppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-devels390x Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debug-devels390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-develx86_64 Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debug-develx86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesaarch64 Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesppc64le Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-moduless390x Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debug-moduless390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesx86_64 Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesx86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extraaarch64 Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extraaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrappc64le Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrappc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extras390x Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extras390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrax86_64 Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrax86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoaarch64 Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoaarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoppc64le Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debuginfos390x Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debuginfos390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debuginfox86_64 Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debuginfox86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-aarch64aarch64 Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-aarch64aarch64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-ppc64leppc64le Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-ppc64leppc64le Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-s390xs390x Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-s390xs390x Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-x86_64x86_64 Advisory build 4.18.0-372.121.1.el8_6 RHSA-2024:6297
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-x86_64x86_64 Advisory build 4.18.0-425.3.1.el8 RHSA-2022:7683

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

88

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:N - The nvme-rdma initiator processes RDMA CM events (REJECTED/CONNECT_ERROR/UNREACHABLE/DISCONNECTED) from a remote NVMe-oF peer over InfiniBand/RoCE/iWARP; a malicious or compromised target drives the buggy destroy-QP-before-cm_id paths via fabric protocol messages on connect/reconnect/teardown. AC:L - The remote peer fully controls CM handshake failures and disconnects that enter nvme_rdma_cm_handler and later free_queue, so it can reliably cause QP destruction while cm_id remains live and deliver further CMA events into the UAF window. PR:N - Once an NVMe-RDMA controller session exists (typical datacenter autoconnect), the attacker needs no account or capabilities on the victim host and triggers the bug solely as the unauthenticated fabric peer. UI:N - No extra victim action is required at exploit time beyond a pre-existing or auto-reconnecting NVMe-RDMA attachment; CM error and disconnect handling runs in kernel context from peer events. S:U - The use-after-free corrupts host-kernel RDMA/NVMe structures under the same OS security authority and does not cross a VM, IOMMU, or other distinct boundary. C:H - Destroying the QP/ring while cm_id can still deliver CMA callbacks is a kernel heap use-after-free; per UAF guidance this enables heap reuse and arbitrary kernel read primitives. I:H - The same freed QP-related objects are sprayable for arbitrary write and control-flow hijacking in kernel context once reclaimed. A:H - Use-after-free of the queue IB resources can oops/panic the kernel during CM handling or teardown even without a full exploit, fully denying availability.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 9.8 critical CISA-ADP · adp CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 7110230719602852481c2793d054f866b2bf4a2b to < ecf0dc5a904830c926a64feffd8e01141f89822f (affected · git)7110230719602852481c2793d054f866b2bf4a2b to < d268a182c56e8361e19fb781137411643312b994 (affected · git)7110230719602852481c2793d054f866b2bf4a2b to < 9817d763dbe15327b9b3ff4404fa6f27f927e744 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.8 (affected)0 to < 4.8 (unaffected · semver)5.10.70 through 5.10.* (unaffected · semver)5.14.9 through 5.14.* (unaffected · semver)5.15 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna
linux linux_kernel 1da177e4c3f4 (affected)Default: unknown CISA-ADP · adp
linux linux_kernel 5.10.70 (unaffected)Default: unknown CISA-ADP · adp
linux linux_kernel 5.14.9 (unaffected)Default: unknown CISA-ADP · adp
linux linux_kernel 5.15 (unaffected)Default: unknown CISA-ADP · adp

Weaknesses

1
  • CWE-416 CWE-416 Use After Free (CISA-ADP · adp)

References

3

Provider assertions

3

Linux · cna

nvme-rdma: destroy cm id before destroy qp to avoid use after free

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
67675876a3cb5347b35751c101b04400a737f36153b8f4c3f743460ae7650ebb
Ingested
23 Sep 2026, 07:57:11 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected