cve.bz

CVE-2021-4028 Use After Free

7.8 highEPSS 0.3%Fix available

High (7.8). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw in the Linux kernel's implementation of RDMA communications manager listener code allowed an attacker with local access to setup a socket to listen on a high port allowing for a list element to be used after free. Given the ability to execute code, a local attacker could leverage this use-after-free to crash the system or possibly escalate privileges on the system.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 25th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-4028 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-4028?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-4028?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-4028 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 NVD's CPE matches.

ProductAffected
linux:linux_kernelfrom 5.10 before 5.10.71
linux:linux_kernelfrom 5.11 before 5.14.10
suse:linux_enterprise15.0:sp3
suse:linux_enterprise15.0:sp4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux5.14.12-1DEBIAN-CVE-2021-4028
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2021-4028
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 10 moreno fix listedUBUNTU-CVE-2021-4028
Ubuntu20.04:LTSlinux-aws-5.11, linux-azure-5.11, linux-oracle-5.115.11.0-1023.24~20.04.1UBUNTU-CVE-2021-4028
Ubuntu20.04:LTSlinux-gcp-5.115.11.0-1024.26~20.04.1UBUNTU-CVE-2021-4028
Ubuntu20.04:LTSlinux-hwe-5.135.13.0-23.23~20.04.2UBUNTU-CVE-2021-4028
Ubuntu20.04:LTSlinux-oem-5.105.10.0-1051.53UBUNTU-CVE-2021-4028
Ubuntu20.04:LTSlinux-oem-5.135.13.0-1026.32UBUNTU-CVE-2021-4028
Ubuntu20.04:LTSlinux-oem-5.145.14.0-1007.7UBUNTU-CVE-2021-4028
Ubuntu20.04:LTSlinux-riscv, linux-raspi2, linux-aws-5.8 and 8 moreno fix listedUBUNTU-CVE-2021-4028
Ubuntu20.04:LTSlinux-riscv-5.115.11.0-1024.25~20.04.1UBUNTU-CVE-2021-4028
Red Hatenterprise_linux:7::client, enterprise_linux:7::workstationperf, kernel, bpftool and 16 more0:3.10.0-1160.62.1.el7RHSA-2022:1198
Red Hatenterprise_linux:7::computenodeperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 5 more0:3.10.0-1160.62.1.el7RHSA-2022:1198
Red Hatenterprise_linux:7::hypervisorredhat-virtualization-host, redhat-virtualization-host-image-update0:4.3.22-20220330.1.el7_9RHSA-2022:1263
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_24_1, kpatch-patch-3_10_0-1160_25_1, kpatch-patch-3_10_0-1160_24_1-debuginfo and 1 more0:1-8.el7RHSA-2022:1185
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_31_1, kpatch-patch-3_10_0-1160_31_1-debuginfo0:1-7.el7RHSA-2022:1185
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_36_2, kpatch-patch-3_10_0-1160_36_2-debuginfo0:1-6.el7RHSA-2022:1185
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_41_1, kpatch-patch-3_10_0-1160_41_1-debuginfo0:1-5.el7RHSA-2022:1185
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_42_2, kpatch-patch-3_10_0-1160_42_2-debuginfo0:1-4.el7RHSA-2022:1185
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_45_1, kpatch-patch-3_10_0-1160_45_1-debuginfo0:1-3.el7RHSA-2022:1185
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_49_1, kpatch-patch-3_10_0-1160_53_1, kpatch-patch-3_10_0-1160_49_1-debuginfo and 1 more0:1-2.el7RHSA-2022:1185
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_59_1, kpatch-patch-3_10_0-1160_59_1-debuginfo0:1-1.el7RHSA-2022:1185
Red Hatenterprise_linux:7::serverperf, kernel, bpftool and 23 more0:3.10.0-1160.62.1.el7RHSA-2022:1198
62 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_010-3.2SUSE-SU-2022:0293-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_1, kernel-livepatch-SLE15-SP3_Update_38-150300.2.2SUSE-SU-2022:0295-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_28-150300.2.2SUSE-SU-2022:0257-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_47-150300.2.2SUSE-SU-2022:0257-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_56-150300.2.2SUSE-SU-2022:0257-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_6, kernel-livepatch-SLE15-SP3_Update_74-150300.2.2SUSE-SU-2022:0270-1
AlmaLinux8kernel-tools-libs-devel4.18.0-348.23.1.el8_5ALSA-2022:1550
Rocky Linux8kernel0:4.18.0-348.23.1.el8_5RLSA-2022:1550
Rocky Linux8kernel-rt0:4.18.0-348.23.1.rt7.153.el8_5RLSA-2022:1555

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; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options does not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7kernel-rt-0:3.10.0-1160.62.1.rt56.1203.el7Fixed 2022-04-05RHSA-2022:1199
Red Hat Enterprise Linux 7kpatch-patchFixed 2022-04-05RHSA-2022:1185
Red Hat Enterprise Linux 7kernel-0:3.10.0-1160.62.1.el7Fixed 2022-04-05RHSA-2022:1198
Red Hat Enterprise Linux 7.3 Advanced Update Supportkernel-0:3.10.0-514.101.1.el7Fixed 2022-05-11RHSA-2022:2189
Red Hat Enterprise Linux 7.4 Advanced Update Supportkernel-0:3.10.0-693.100.1.el7Fixed 2022-05-11RHSA-2022:2188
Red Hat Enterprise Linux 7.6 Advanced Update Supportkernel-0:3.10.0-957.94.1.el7Fixed 2022-05-11RHSA-2022:2186
Red Hat Enterprise Linux 7.6 Telco Extended Update Supportkernel-0:3.10.0-957.94.1.el7Fixed 2022-05-11RHSA-2022:2186
Red Hat Enterprise Linux 7.6 Update Services for SAP Solutionskernel-0:3.10.0-957.94.1.el7Fixed 2022-05-11RHSA-2022:2186
Red Hat Enterprise Linux 7.6 Update Services for SAP Solutionskpatch-patchFixed 2022-05-11RHSA-2022:2211
Red Hat Enterprise Linux 7.7 Advanced Update Supportkernel-0:3.10.0-1062.66.1.el7Fixed 2022-04-12RHSA-2022:1324
Red Hat Enterprise Linux 7.7 Telco Extended Update Supportkernel-0:3.10.0-1062.66.1.el7Fixed 2022-04-12RHSA-2022:1324
Red Hat Enterprise Linux 7.7 Update Services for SAP Solutionskernel-0:3.10.0-1062.66.1.el7Fixed 2022-04-12RHSA-2022:1324
Red Hat Enterprise Linux 7.7 Update Services for SAP Solutionskpatch-patchFixed 2022-04-13RHSA-2022:1373
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-348.23.1.rt7.153.el8_5Fixed 2022-04-26RHSA-2022:1555
Red Hat Enterprise Linux 8kpatch-patchFixed 2022-04-26RHSA-2022:1535
Red Hat Enterprise Linux 8kernel-0:4.18.0-348.23.1.el8_5Fixed 2022-04-26RHSA-2022:1550
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionskernel-0:4.18.0-147.64.1.el8_1Fixed 2022-03-10RHSA-2022:0823
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionskpatch-patchFixed 2022-03-14RHSA-2022:0851
Red Hat Enterprise Linux 6kernelAffected
Red Hat Enterprise Linux 9kernelNot affected
9 more in the JSON and on Red Hat's page.

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-4028.

References

Check your stackJSON