CVE-2021-23133
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.
Description as published by the source, in English.
Key facts
- Published
- 2021-04-22
- Last modified
- 2026-07-30
- Assigned by
- psirt@paloaltonetworks.com
- CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.5 %
higher than 38 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Broadcom | Brocade Fabric Operating System | all versions listed | Affected |
| Debian | Debian Linux | 9.0 | Affected |
| Fedoraproject | Fedora | 32 | Affected |
| Fedoraproject | Fedora | 33 | Affected |
| Fedoraproject | Fedora | 34 | Affected |
| Linux | Linux Kernel | < 4.4.269 | Affected |
| Linux | Linux Kernel | ≥ 4.10, < 4.14.233 | Affected |
| Linux | Linux Kernel | ≥ 4.15, < 4.19.191 | Affected |
| Linux | Linux Kernel | ≥ 4.20, < 5.4.119 | Affected |
| Linux | Linux Kernel | ≥ 4.5, < 4.9.269 | Affected |
| Linux | Linux Kernel | ≥ 5.11, < 5.11.21 | Affected |
| Linux | Linux Kernel | ≥ 5.12, < 5.12.4 | Affected |
| Linux | Linux Kernel | ≥ 5.5, < 5.10.37 | Affected |
| Netapp | Cloud Backup | all versions listed | Affected |
| Netapp | H300e | all versions listed | Not affected |
| Netapp | H300e Firmware | all versions listed | Affected |
| Netapp | H300s | all versions listed | Not affected |
| Netapp | H300s Firmware | all versions listed | Affected |
| Netapp | H410c | all versions listed | Not affected |
| Netapp | H410c Firmware | all versions listed | Affected |
| Netapp | H410s | all versions listed | Not affected |
| Netapp | H410s Firmware | all versions listed | Affected |
| Netapp | H500e | all versions listed | Not affected |
| Netapp | H500e Firmware | all versions listed | Affected |
| Netapp | H500s | all versions listed | Not affected |
| Netapp | H500s Firmware | all versions listed | Affected |
| Netapp | H700e | all versions listed | Not affected |
| Netapp | H700e Firmware | all versions listed | Affected |
| Netapp | H700s | all versions listed | Not affected |
| Netapp | H700s Firmware | all versions listed | Affected |
| Netapp | Solidfire & Hci Management Node | all versions listed | Affected |
| Netapp | Solidfire Baseboard Management Controller | all versions listed | Not affected |
| Netapp | Solidfire Baseboard Management Controller Firmware | all versions listed | Affected |
Weakness type
-
CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization
The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating …
References
- http://www.openwall.com/lists/oss-security/2021/05/10/1
- http://www.openwall.com/lists/oss-security/2021/05/10/2
- http://www.openwall.com/lists/oss-security/2021/05/10/3
- http://www.openwall.com/lists/oss-security/2021/05/10/4
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b166a20b073…
- https://lists.debian.org/debian-lts-announce/2021/06/msg00019.html
- https://lists.debian.org/debian-lts-announce/2021/06/msg00020.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://security.netapp.com/advisory/ntap-20210611-0008/
- https://www.openwall.com/lists/oss-security/2021/04/18/2
- http://www.openwall.com/lists/oss-security/2021/05/10/1
- http://www.openwall.com/lists/oss-security/2021/05/10/2
- http://www.openwall.com/lists/oss-security/2021/05/10/3
- http://www.openwall.com/lists/oss-security/2021/05/10/4
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b166a20b073…
- https://lists.debian.org/debian-lts-announce/2021/06/msg00019.html
- https://lists.debian.org/debian-lts-announce/2021/06/msg00020.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.