CVE-2021-23133: Linux Kernel sctp_destroy_sock race condition

Published Apr 12, 2021
·
Updated

A 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 sctpdestroysock is called without socknet(sk)->sctp.addrwqlock then an element is removed from the autoasconfsplist 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 BPFCGROUPINETSOCKCREATE is attached which denies creation of some SCTP socket.

Other sources

A use-after-free flaw was found in the Linux kernel's SCTP socket functionality that triggers a race condition. This flaw allows a local user to escalate their privileges on the system. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.

Affected Software

60 affected componentsFixes available
redhat/kernel-rt<0:4.18.0-348.rt7.130.el8
0:4.18.0-348.rt7.130.el8
redhat/kernel<0:4.18.0-348.el8
0:4.18.0-348.el8
redhat/Kernel<5.12
5.12
Linux Linux kernel>=4.10<4.14.232
Linux Linux kernel>=4.15<4.19.189
Linux Linux kernel>=4.20<5.4.114
Linux Linux kernel>=5.5<5.10.32
Linux Linux kernel>=5.11<5.11.16
Fedoraproject Fedora=32
Fedoraproject Fedora=33
Fedoraproject Fedora=34
Debian Debian Linux=9.0
NetApp Cloud Backup
NetApp Solidfire \& Hci Management Node
Broadcom Brocade Fabric Operating System
All of the following
NetApp H410c Firmware
NetApp H410c
All of the following
NetApp H300s Firmware
NetApp H300s
All of the following
NetApp H500s Firmware
NetApp H500s
All of the following
NetApp H700s Firmware
NetApp H700s
All of the following
NetApp H300e Firmware
NetApp H300e
All of the following
NetApp H500e Firmware
NetApp H500e
All of the following
NetApp H700e Firmware
NetApp H700e
All of the following
NetApp H410s Firmware
NetApp H410s
All of the following
NetApp Solidfire Baseboard Management Controller Firmware
NetApp Solidfire Baseboard Management Controller
NetApp H410c Firmware
NetApp H410c
NetApp H300s Firmware
NetApp H300s
NetApp H500s Firmware
NetApp H500s
NetApp H700s Firmware
NetApp H700s
NetApp H300e Firmware
NetApp H300e
NetApp H500e Firmware
NetApp H500e
NetApp H700e Firmware
NetApp H700e
NetApp H410s Firmware
NetApp H410s
NetApp Solidfire Baseboard Management Controller Firmware
NetApp Solidfire Baseboard Management Controller
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1
Linux Linux kernel<4.4.269
Linux Linux kernel>=4.5<4.9.269
Linux Linux kernel>=4.10<4.14.233
Linux Linux kernel>=4.15<4.19.191
Linux Linux kernel>=4.20<5.4.119
Linux Linux kernel>=5.5<5.10.37
Linux Linux kernel>=5.11<5.11.21
Linux Linux kernel>=5.12<5.12.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-348.rt7.130.el8
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-348.el8
  3. Upgrade

    Upgrade redhat/Kernel to a version that resolves this vulnerability.

    Fixed in 5.12
  4. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1
  5. Upgrade

    Upgrade linux kernel to a version that resolves this vulnerability.

    Fixed in 5.12-rc8
  6. Compensating control

    Mitigation: prevent the kernel module "sctp" from being loaded (blacklist the "sctp" kernel module) to prevent the vulnerable SCTP code from running; this is described as being so by default for Red Hat Enterprise Linux 8.

Event History

Apr 18, 2021
CVE Published
09:00 AM
Apr 22, 2021
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:54 PM
Description
Apr 28, 2025
Data Sourced
via Ubuntu·04:25 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-23133?

CVE-2021-23133 has a high severity rating due to the potential for kernel privilege escalation.

2

How do I fix CVE-2021-23133?

To resolve CVE-2021-23133, upgrade to the kernel versions 0:4.18.0-348.rt7.130.el8 or 0:4.18.0-348.el8 on Red Hat systems.

3

Which Linux versions are affected by CVE-2021-23133?

CVE-2021-23133 affects Linux kernel versions prior to 5.12-rc8, including several versions between 4.10 and 5.11.

4

What type of vulnerability is CVE-2021-23133?

CVE-2021-23133 is classified as a race condition vulnerability in SCTP sockets of the Linux kernel.

5

Can CVE-2021-23133 be exploited by unprivileged users?

Yes, CVE-2021-23133 can potentially be exploited by unprivileged users or network services to escalate their privileges.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203