# CVE-2021-23133: Linux Kernel sctp_destroy_sock race condition

- Severity: Medium 6.7 (CVSS:3.1, scored by palo_alto) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-04-22T18:00:18.880Z
- Modified: 2026-07-30T19:31:32.070Z
- Weaknesses: CWE-362
- Assigned by: palo_alto

## Description

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

(As written by CVE List.)

## Affected

- Linux Kernel Linux Kernel: from unspecified before 5.12-rc8
- linux linux_kernel: before 4.4.269; from 4.5 before 4.9.269; from 4.10 before 4.14.233; from 4.15 before 4.19.191; from 4.20 before 5.4.119; from 5.5 before 5.10.37; from 5.11 before 5.11.21; from 5.12 before 5.12.4
- fedoraproject fedora: 32; 33; 34
- debian debian_linux: 9.0
- netapp cloud_backup: no versions given
- netapp solidfire_&_hci_management_node: no versions given
- broadcom brocade_fabric_operating_system: no versions given
- netapp h410c_firmware: no versions given
- netapp h300s_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h300e_firmware: no versions given
- netapp h500e_firmware: no versions given
- netapp h700e_firmware: no versions given
- netapp h410s_firmware: no versions given
- netapp solidfire_baseboard_management_controller_firmware: no versions given

## Every score

- palo_alto: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: 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`
- NVD: CVSS:2.0 6.9 Medium `AV:L/AC:M/Au:N/C:C/I:C/A:C`

## References

- <https://www.openwall.com/lists/oss-security/2021/04/18/2> (exploit, mailing-list, patch, third-party-advisory)
- <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b166a20b07382b8bc1dcee2a448715c9c2c81b5b> (mailing-list, patch, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PAEQ3H6HKNO6KUCGRZVYSFSAGEUX23JL/> (third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CUX2CA63453G34C6KYVBLJXJXEARZI2X/> (third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XZASHZVCOFJ4VU2I3BN5W5EPHWJQ7QWX/> (third-party-advisory, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2021/05/10/1> (mailing-list, patch, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2021/05/10/2> (mailing-list, patch, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2021/05/10/4> (mailing-list, patch, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2021/05/10/3> (mailing-list, patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210611-0008/> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/06/msg00020.html> (mailing-list, mitigation, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/06/msg00019.html> (mailing-list, mitigation, third-party-advisory)

## Sources

- CVE List: [CVE-2021-23133](https://www.cve.org/CVERecord?id=CVE-2021-23133), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2021-23133](https://nvd.nist.gov/vuln/detail/CVE-2021-23133), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2021-23133 · Whole record: https://cve.day/CVE-2021-23133.json · Rebuilt by cve.day 2026-11-25T22:58:00.888Z
