CVE-2021-23133

published 22 Apr 2021 · updated 16 Sep 2024

Linux Kernel sctp_destroy_sock race condition

6.7MediumCVSS 6.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.12-rc8.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel<5.12-rc85.12-rc8

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-23133 severity on Zeptric[![CVE-2021-23133](https://zeptric.io/badge/cve/CVE-2021-23133.svg)](https://zeptric.io/cve/CVE-2021-23133)