Linux Kernel sctp_destroy_sock race condition
Key Information:
- Vendor
Linux
- Status
- CVE ID
- CVE ID:
- CVE-2021-23133
- Vendor
- CVE Published:
- 22 April 2021
- Fixed in
- Fixed in:
- 5.12-rc8
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- No: Needs local access
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Monitor
Low risk for most. Patch in your normal cycle.
What to do
1Update to a fixed version
2Why it's rated "Monitor"
- Its CVSS severity is medium (6.7).
What is CVE-2021-23133?
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.
References
More Linux Vulnerabilities
Memory Ordering Flaw in Linux Kernel
Linux Kernel Vulnerability in SCTP Control Chunk Migration
Data Copy Vulnerability in Linux Kernel
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction