CVE-2021-23133Linux Kernel sctp_destroy_sock race condition
- 6.7MediumCVSS base score
- 0.47%Exploitation in 30 daysEPSS · top 58% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By palo_alto
- 4 months later
· 4 months later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| palo_altoCNA (assigner) | 3.1 | Medium6.7 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | High7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.47% · top 58% of all CVEs (16 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.7.
Affected products
- affected unspecified – < 5.12-rc8
What to do
Solution: This issue is fixed in Linux kernel 5.12-rc8.
References
References12
- https://www.openwall.com/lists/oss-security/2021/04/18/2 (opens in a new tab)x_refsource_MISCx_transferred
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b166a20b07382b8bc1dcee2a448715c9c2c81b5b (opens in a new tab)x_refsource_MISCx_transferred
- FEDORA-2021-8cd093f639 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2021-e6b4847979 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2021-a963f04012 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- [oss-security] 20210510 Re: CVE-2021-23133: Linux kernel: race condition in sctp sockets (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20210510 Re: CVE-2021-23133: Linux kernel: race condition in sctp sockets (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20210510 Re: CVE-2021-23133: Linux kernel: race condition in sctp sockets (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20210510 Re: CVE-2021-23133: Linux kernel: race condition in sctp sockets (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://security.netapp.com/advisory/ntap-20210611-0008/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- [debian-lts-announce] 20210623 [SECURITY] [DLA 2689-1] linux security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [debian-lts-announce] 20210623 [SECURITY] [DLA 2690-1] linux-4.19 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-10251 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-23133)Record last updated .