Linux Kernel sctp_destroy_sock race condition

Summary

CVECVE-2021-23133
StatePUBLISHED
Assignerpalo_alto
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-04-22 18:15:08 UTC
Updated2026-07-30 19:31:32 UTC
DescriptionA race condition in Linux kernel SCTP sockets (net/sctp/socket.c) before 5.12-rc8 can lead to kernel privilege escalation from the context of a network service or an unprivileged process. If sctp_destroy_sock is called without sock_net(sk)->sctp.addr_wq_lock then an element is removed from the auto_asconf_splist list without any proper locking. This can be exploited by an attacker with network service privileges to escalate to root or from the context of an unprivileged user directly if a BPF_CGROUP_INET_SOCK_CREATE is attached which denies creation of some SCTP socket.

Risk And Classification

Primary CVSS: v3.1 7 HIGH from [email protected]

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Problem Types: CWE-362 | CWE-362 CWE-362 Race Condition (Concurrent Execution using Shared Resource with Improper Synchronization)


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7HIGHCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1[email protected]Secondary6.7MEDIUMCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
3.1CNADECLARED6.7MEDIUMCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
2.0[email protected]Primary6.9AV:L/AC:M/Au:N/C:C/I:C/A:C

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Medium
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:L/AC:M/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Kernel Linux Kernel affected unspecified 5.12-rc8 custom Not specified

References

ReferenceSourceLinkTags
CVE-2021-23133 Linux Kernel Vulnerability in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com Third Party Advisory
oss-security - Re: CVE-2021-23133: Linux kernel: race condition in sctp sockets af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Patch, Third Party Advisory
[SECURITY] Fedora 34 Update: kernel-5.11.16-300.fc34 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Third Party Advisory
oss-security - Re: CVE-2021-23133: Linux kernel: race condition in sctp sockets af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Patch, Third Party Advisory
oss-security - Re: CVE-2021-23133: Linux kernel: race condition in sctp sockets af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Patch, Third Party Advisory
kernel/git/torvalds/linux.git - Linux kernel source tree af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Mailing List, Patch, Vendor Advisory
oss-security - Re: CVE-2021-23133: Linux kernel: race condition in sctp sockets af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Patch, Third Party Advisory
oss-security - CVE-2021-23133: Linux kernel: race condition in sctp sockets af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Exploit, Mailing List, Patch, Third Party Advisory
[SECURITY] Fedora 33 Update: kernel-5.11.16-200.fc33 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Third Party Advisory
[SECURITY] Fedora 32 Update: kernel-5.11.16-100.fc32 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Third Party Advisory
[SECURITY] [DLA 2689-1] linux security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mitigation, Third Party Advisory
[SECURITY] [DLA 2690-1] linux-4.19 security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mitigation, Third Party Advisory
[SECURITY] Fedora 32 Update: kernel-5.11.16-100.fc32 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 34 Update: kernel-5.11.16-300.fc34 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 33 Update: kernel-5.11.16-200.fc33 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Or Cohen from Palo Alto Networks (en)

Additional Advisory Data

Solutions

CNA: This issue is fixed in Linux kernel 5.12-rc8.

Legacy QID Mappings

  • 159277 Oracle Enterprise Linux Security Update for Unbreakable Enterprise kernel (ELSA-2021-9306)
  • 159278 Oracle Enterprise Linux Security Update for Unbreakable Enterprise kernel-container (ELSA-2021-9307)
  • 159304 Oracle Enterprise Linux Security Update for Unbreakable Enterprise kernel (ELSA-2021-9349)
  • 159305 Oracle Enterprise Linux Security Update for Unbreakable Enterprise kernel-container (ELSA-2021-9351)
  • 159306 Oracle Enterprise Linux Security Update for Unbreakable Enterprise kernel (ELSA-2021-9362)
  • 159307 Oracle Enterprise Linux Security Update for Unbreakable Enterprise kernel-container (ELSA-2021-9363)
  • 159492 Oracle Enterprise Linux Security Update for kernel (ELSA-2021-4356)
  • 178679 Debian Security Update for linux-4.19 (DLA 2690-1)
  • 178680 Debian Security Update for linux (DLA 2689-1)
  • 179939 Debian Security Update for linux (CVE-2021-23133)
  • 198416 Ubuntu Security Notification for Linux kernel vulnerabilities (USN-4997-1)
  • 198417 Ubuntu Security Notification for Linux kernel vulnerabilities (USN-4999-1)
  • 198418 Ubuntu Security Notification for Linux kernel vulnerabilities (USN-5000-1)
  • 198419 Ubuntu Security Notification for Linux kernel (OEM) vulnerabilities (USN-5001-1)
  • 198421 Ubuntu Security Notification for Linux kernel vulnerabilities (USN-5003-1)
  • 198425 Ubuntu Security Notification for Linux kernel (KVM) vulnerabilities (USN-5000-2)
  • 198426 Ubuntu Security Notification for Linux kernel (KVM) vulnerabilities (USN-4997-2)
  • 239816 Red Hat Update for kernel security (RHSA-2021:4356)
  • 239879 Red Hat Update for kernel-rt (RHSA-2021:4140)
  • 281274 Fedora Security Update for kernel (FEDORA-2021-a963f04012)
  • 281275 Fedora Security Update for kernel (FEDORA-2021-e6b4847979)
  • 281276 Fedora Security Update for kernel (FEDORA-2021-8cd093f639)
  • 352366 Amazon Linux Security Advisory for kernel: ALAS-2021-1503
  • 352375 Amazon Linux Security Advisory for kernel: ALAS2-2021-1636
  • 353148 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.4-2022-003
  • 353159 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.10-2022-001
  • 376371 F5 BIG-IP Application Security Manager (ASM), Local Traffic Manager (LTM), Access Policy Manager (APM) Linux kernel Vulnerability (K67416037)
  • 6140265 AWS Bottlerocket Security Update for kernel (GHSA-x849-g985-wxr9)
  • 670416 EulerOS Security Update for kernel (EulerOS-SA-2021-1983)
  • 670438 EulerOS Security Update for kernel (EulerOS-SA-2021-2062)
  • 670449 EulerOS Security Update for kernel (EulerOS-SA-2021-2051)
  • 750117 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2021:1891-1)
  • 750125 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2021:1887-1)
  • 750139 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2021:1913-1)
  • 750140 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2021:1912-1)
  • 750864 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2021:2421-1)
  • 900096 CBL-Mariner Linux Security Update for kernel 5.10.52.1
  • 900304 CBL-Mariner Linux Security Update for kernel 5.10.57.1
  • 900319 CBL-Mariner Linux Security Update for kernel 5.10.60.1
  • 901089 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (6530-1)
  • 902857 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (4156)
  • 905762 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (4156-1)
  • 940265 AlmaLinux Security Update for kernel (ALSA-2021:4356)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report