cve.bz

CVE-2021-4083 Race Condition

7.0 highEPSS 0.3%Fix available

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

On this page
A read-after-free memory flaw was found in the Linux kernel's garbage collection for Unix domain socket file handlers in the way users call close() and fget() simultaneously and can potentially trigger a race condition. This flaw allows a local user to crash the system or escalate their privileges on the system. This flaw affects Linux kernel versions prior to 5.16-rc4.

Severity

CVSS 3.1

7.0 high
CVSS:3.1/AV:L/AC:H/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; 27th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
CWE-416 Use After Free
OWASP Top 10
A06:2025 Insecure Design
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-4083 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-4083?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-4083?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-4083 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_kernelbefore 4.4.294
linux:linux_kernelfrom 4.5 before 4.9.292
linux:linux_kernelfrom 4.10 before 4.14.257
linux:linux_kernelfrom 4.15 before 4.19.220
linux:linux_kernelfrom 4.20 before 5.4.164
linux:linux_kernelfrom 5.5.0 before 5.10.84
linux:linux_kernelfrom 5.11 before 5.15.7
linux:linux_kernel5.16:rc1
linux:linux_kernel5.16:rc2
linux:linux_kernel5.16:rc3
debian:debian_linux9.0
debian:debian_linux10.0
oracle:communications_cloud_native_core_binding_support_function22.1.3
oracle:communications_cloud_native_core_network_exposure_function22.1.1
oracle:communications_cloud_native_core_policy22.2.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9linux4.9.303-1DLA-2940-1
Debian9linux-4.194.19.232-1~deb9u1DLA-2941-1
Debian10linux4.19.232-1DSA-5096-1
Debian12, 13, 14linux5.15.5-2DEBIAN-CVE-2021-4083
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2021-4083
Ubuntu18.04:LTSlinux4.15.0-169.177UBUNTU-CVE-2021-4083 USN-5298-1
Ubuntu18.04:LTSlinux-aws4.15.0-1121.129UBUNTU-CVE-2021-4083 USN-5298-1
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1066.69~18.04.1UBUNTU-CVE-2021-4083 USN-5294-2
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1131.144UBUNTU-CVE-2021-4083 USN-5298-1
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1070.73~18.04.1UBUNTU-CVE-2021-4083 USN-5294-2
Ubuntu18.04:LTSlinux-dell300x4.15.0-1035.40UBUNTU-CVE-2021-4083 USN-5298-1
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 10 moreno fix listedUBUNTU-CVE-2021-4083
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1116.130UBUNTU-CVE-2021-4083 USN-5298-1
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1065.69~18.04.1UBUNTU-CVE-2021-4083 USN-5294-2
Ubuntu18.04:LTSlinux-gke-5.45.4.0-1063.66~18.04.1UBUNTU-CVE-2021-4083 USN-5297-1
Ubuntu18.04:LTSlinux-gkeop-5.45.4.0-1034.35~18.04.1UBUNTU-CVE-2021-4083 USN-5294-2
53 more for Ubuntu in the JSON and on Ubuntu's page.
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
59 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 2 morekernel-docs, kernel-syms, kernel-source and 2 more4.12.14-197.105.1SUSE-SU-2022:0366-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 7 morekernel-default-base5.3.18-24.99.1.9.46.1SUSE-SU-2022:0197-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 3 morekernel-docs, kernel-syms, kernel-source and 3 more5.3.18-24.99.1SUSE-SU-2022:0197-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP3-LTSS and 3 morekernel-syms, kernel-source, kernel-default4.4.180-94.153.1SUSE-SU-2022:0362-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-LTSS, Linux Enterprise Server for SAP Applications 12 SP3 and 2 morekgraft-patch-SLE12-SP3_Update_421-4.3.1SUSE-SU-2022:0362-1
SUSELinux Enterprise High Availability Extension 12 SP3kernel-default4.4.180-94.153.1SUSE-SU-2022:0362-1
SUSELinux Enterprise High Availability Extension 12 SP4, Linux Enterprise Live Patching 12 SP4kernel-default4.12.14-95.88.1SUSE-SU-2022:0371-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.110.1SUSE-SU-2022:0364-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Live Patching 15kernel-default4.12.14-150.83.1SUSE-SU-2022:0367-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1kernel-default4.12.14-197.105.1SUSE-SU-2022:0366-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2, Linux Enterprise Micro 5.0kernel-default5.3.18-24.99.1SUSE-SU-2022:0197-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.43.1SUSE-SU-2022:0198-1
75 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.3dtb-aarch64, kernel-64kb, kernel-docs and 9 more5.3.18-150300.59.43.1openSUSE-SU-2022:0198-1
openSUSELeap 15.3kernel-azure, kernel-syms-azure, kernel-source-azure5.3.18-150300.38.37.1openSUSE-SU-2022:0169-1
openSUSELeap 15.3kernel-debug, kernel-default, kernel-vanilla and 2 more4.12.14-197.105.1openSUSE-SU-2022:0366-1
openSUSELeap 15.3kernel-default-base5.3.18-150300.59.43.1.150300.18.27.1openSUSE-SU-2022:0198-1
AlmaLinux8perf, kernel, bpftool and 17 more4.18.0-372.9.1.el8ALSA-2022:1988
Rocky Linux8kernel0:4.18.0-372.9.1.el8RLSA-2022:1988
Rocky Linux8kernel-rt0:4.18.0-372.9.1.rt7.166.el8RLSA-2022:1975

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 · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't 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.99.1.el7Fixed 2022-03-29RHSA-2022:1104
Red Hat Enterprise Linux 7.6 Advanced Update Supportkernel-0:3.10.0-957.92.1.el7Fixed 2022-03-29RHSA-2022:1107
Red Hat Enterprise Linux 7.6 Telco Extended Update Supportkernel-0:3.10.0-957.92.1.el7Fixed 2022-03-29RHSA-2022:1107
Red Hat Enterprise Linux 7.6 Update Services for SAP Solutionskpatch-patchFixed 2022-03-29RHSA-2022:1103
Red Hat Enterprise Linux 7.6 Update Services for SAP Solutionskernel-0:3.10.0-957.92.1.el7Fixed 2022-03-29RHSA-2022:1107
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-372.9.1.rt7.166.el8Fixed 2022-05-10RHSA-2022:1975
Red Hat Enterprise Linux 8kernel-0:4.18.0-372.9.1.el8Fixed 2022-05-10RHSA-2022:1988
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 8.1 Update Services for SAP Solutionskpatch-patchFixed 2022-03-17RHSA-2022:0958
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 9kernelNot affected
8 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-4083.

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON