CVE-2021-47378

CRITICAL EPSS 63.4%
Published May 21, 20242y ago · Modified Jun 17, 20262w ago
9.8 CVSS 3.1
Critical
Find Similar
Published May 21, 2024 2y ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
9.8
Exploitability
3.9
Impact
5.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
63.4% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-416 Use After Free Memory Safety

Affected Products 3

VendorProductVersionRange
linuxlinux_kernel* <5.10.70
linuxlinux_kernel*≥5.11  –  <5.14.9
linuxlinux_kernel5.15any

References 3

  • git.kernel.org https://git.kernel.org/stable/c/9817d763dbe15327b9b3ff4404fa6f27f927e744
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/d268a182c56e8361e19fb781137411643312b994
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/ecf0dc5a904830c926a64feffd8e01141f89822f
    Patch

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/9817d763dbe15327b9b3ff4404fa6f27f927e744
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/d268a182c56e8361e19fb781137411643312b994
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/ecf0dc5a904830c926a64feffd8e01141f89822f
    Patch