Vulnerability · Published Apr 22, 2021 · Assigned by palo_alto

CVE-2021-23133Linux Kernel sctp_destroy_sock race condition

Medium 6.7

In plain English

A medium-severity race condition in Linux Kernel from Linux Kernel. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.7Medium
Exploit odds (30 days)0.5%top 58.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8kernel-tools-libs-devel4.18.0-348.el8ALSA-2021:4356
Debian:12linux5.10.38-1DEBIAN-CVE-2021-23133
Debian:13linux5.10.38-1DEBIAN-CVE-2021-23133
Debian:14linux5.10.38-1DEBIAN-CVE-2021-23133
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2021-23133
Ubuntu:22.04:LTSlinux-intel-iot-realtimeno fix listedUBUNTU-CVE-2021-23133
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2021-23133
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2021-23133

Affected products (as reported)

VendorProductVersions
Linux Kernel Linux Kernel unspecified – before 5.12-rc8

Weakness: CWE-362 · Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

References