CVE-2021-47378: nvme-rdma: destroy cm id before destroy qp to avoid use after free
Vulnerability summary
CVE-2021-47378 is a critical (CVSS 9.8) Use After Free vulnerability in linux. EPSS estimates a 1.18% chance of exploitation in the next 30 days, higher than 67.6% of scored vulnerabilities.
Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 65 · Related 62Timeline
- 21-05-2024PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
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 metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.18%
Chance of exploitation in the next 30 days
Percentile
68%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 1.17% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu89 products
- linux< 4.15.0-254.266 | < 5.4.0-234.254
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 4.15.0-1195.208 | < 5.4.0-1162.173
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Suse4 products
- kgraft-patch-SLE12-SP5_Update_47&distro=SUSE Linux Enterprise Live Patching 12 SP5< 14-2.1
- kgraft-patch-SLE12-SP5_Update_48&distro=SUSE Linux Enterprise Live Patching 12 SP5< 13-2.1
- kgraft-patch-SLE12-SP5_Update_49&distro=SUSE Linux Enterprise Live Patching 12 SP5< 12-2.1
- kgraft-patch-SLE12-SP5_Update_53&distro=SUSE Linux Enterprise Live Patching 12 SP5< 8-2.1
Linux2 products
- linux≥ 7110230719602852481c2793d054f866b2bf4a2b, < ecf0dc5a904830c926a64feffd8e01141f89822f | ≥ 7110230719602852481c2793d054f866b2bf4a2b, < d268a182c56e8361e19fb781137411643312b994 | ≥ 7110230719602852481c2793d054f866b2bf4a2b, < 9817d763dbe15327b9b3ff4404fa6f27f927e744 | 4.8
- linux_kernel< 5.10.70 | ≥ 5.11, < 5.14.9 | 5.15:rc1
Debian1 product
- linux< 5.14.9-1
4 vendors · 96 products