cve.bz

CVE-2021-47378 linux linux kernel: Use After Free

9.8 criticalEPSS 1.2%Fix available

Critical (9.8) in linux linux kernel. EPSS 1.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 68th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2025-01-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-47378 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-47378?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-47378?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-47378 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux4.8 and later

Fixed in

ProductRelease lineFixed in
Linux5.105.10.70
Linux5.145.14.9
Linuxlater releases5.15

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux5.14.9-1DEBIAN-CVE-2021-47378
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2021-47378
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2021-47378
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 25 moreno fix listedUBUNTU-CVE-2021-47378
Ubuntu22.04:LTSlinux-riscv, linux-aws-6.2, linux-gcp-6.2 and 20 moreno fix listedUBUNTU-CVE-2021-47378
Ubuntu24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2021-47378
UbuntuPro:14.04:LTSlinux-azure4.15.0-1205.220~14.04.1UBUNTU-CVE-2021-47378 USN-8635-1
UbuntuPro:16.04:LTSlinux-aws-hwe4.15.0-1195.208~16.04.1UBUNTU-CVE-2021-47378 USN-8633-2
UbuntuPro:16.04:LTSlinux-azure4.15.0-1205.220~16.04.1UBUNTU-CVE-2021-47378 USN-8633-2
UbuntuPro:16.04:LTSlinux-gcp4.15.0-1188.205~16.04.1UBUNTU-CVE-2021-47378 USN-8633-2
UbuntuPro:16.04:LTSlinux-hwe4.15.0-254.266~16.04.1UBUNTU-CVE-2021-47378 USN-8633-2
UbuntuPro:16.04:LTSlinux-oracle4.15.0-1158.169~16.04.1UBUNTU-CVE-2021-47378 USN-8645-1
UbuntuPro:18.04:LTSlinux4.15.0-254.266UBUNTU-CVE-2021-47378 USN-8633-1
32 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-425.3.1.el8RHSA-2022:7683
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-425.3.1.el8RHSA-2022:7683
Red Hatenterprise_linux:9::appstreamperf, kernel-doc, kernel-devel and 16 more0:5.14.0-162.6.1.el9_1RHSA-2022:8267
Red Hatenterprise_linux:9::baseoskernel, bpftool, kernel-core and 25 more0:5.14.0-162.6.1.el9_1RHSA-2022:8267
Red Hatenterprise_linux:9::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 9 more0:5.14.0-162.6.1.el9_1RHSA-2022:8267
Red Hatrhel_aus:8.6::baseos, rhel_tus:8.6::baseosperf, kernel, bpftool and 20 more0:4.18.0-372.121.1.el8_6RHSA-2024:6297
Red Hatrhel_e4s:8.6::baseosperf, kernel, bpftool and 29 more0:4.18.0-372.121.1.el8_6RHSA-2024:6297
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-syms and 4 more5.3.18-150300.59.164.1SUSE-SU-2024:2185-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 morekernel-default-base5.3.18-150300.59.164.1.150300.18.96.1SUSE-SU-2024:2185-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.219.1SUSE-SU-2024:2184-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.194.1SUSE-SU-2024:2183-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.164.1SUSE-SU-2024:2185-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 2 morekernel-default5.14.21-150400.24.122.2SUSE-SU-2024:2189-1
SUSELinux Enterprise High Availability Extension 15 SP5, Linux Enterprise Live Patching 15 SP5, Linux Enterprise Micro 5.5 and 2 morekernel-default5.14.21-150500.55.68.1SUSE-SU-2024:2190-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2kernel-default-base5.3.18-150200.24.194.1.150200.9.99.1SUSE-SU-2024:2183-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2kernel-docs, kernel-syms, kernel-source and 3 more5.3.18-150200.24.194.1SUSE-SU-2024:2183-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSSkernel-64kb, kernel-docs, kernel-default and 1 more5.14.21-150400.24.122.2SUSE-SU-2024:2189-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 morekernel-default-base5.14.21-150400.24.122.2.150400.24.58.2SUSE-SU-2024:2189-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 3 morekernel-syms, kernel-source5.14.21-150400.24.122.1SUSE-SU-2024:2189-1
72 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.5dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150500.55.68.1SUSE-SU-2024:2190-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.57.1SUSE-SU-2024:2019-1
openSUSELeap 15.5kernel-default-base5.14.21-150500.55.68.1.150500.6.31.1SUSE-SU-2024:2190-1
openSUSELeap 15.5kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150500.13.58.1SUSE-SU-2024:2008-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-default5.14.21-150400.24.122.2SUSE-SU-2024:2189-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-default-base5.14.21-150400.24.122.2.150400.24.58.2SUSE-SU-2024:2189-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-rt5.14.21-150400.15.82.1SUSE-SU-2024:2011-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as a Moderate severity. Although it can lead to system crashes due to improper memory access, it does not directly compromise data security or integrity.

This bug only affects Red Hat Enterprise Linux 9.0. A fix was commited to Red Hat Enterprise Linux 9.1, which is why the bug does not affect Red Hat Enterprise Linux 9.2 and later.

Red Hat's mitigation

Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-0:4.18.0-425.3.1.el8Fixed 2022-11-08RHSA-2022:7683
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportkernel-0:4.18.0-372.121.1.el8_6Fixed 2024-09-04RHSA-2024:6297
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicekernel-0:4.18.0-372.121.1.el8_6Fixed 2024-09-04RHSA-2024:6297
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionskernel-0:4.18.0-372.121.1.el8_6Fixed 2024-09-04RHSA-2024:6297
Red Hat Enterprise Linux 9kernel-0:5.14.0-162.6.1.el9_1Fixed 2022-11-15RHSA-2022:8267
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernel-rtWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-47378.

References

Check your stackJSON