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

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: palo_alto

Published: 2021-04-22T18:00:18.880759Z

Updated: 2024-09-16T19:04:20.684Z

Reserved: 2021-01-06T00:00:00

Link: CVE-2021-23133

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-04-22T18:15:08.123

Modified: 2023-11-07T03:30:47.290

Link: CVE-2021-23133

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-04-18T09:00:00Z

Links: CVE-2021-23133 - Bugzilla