UBUNTU-CVE-2021-23133
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Systems
- ubuntu•linux
< 4.15.0-147.151 | < 5.4.0-77.86
- ubuntu•linux-aws
< 4.15.0-1106.113 | < 5.4.0-1051.53
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1051.53~18.04.1
- ubuntu•linux-aws-5.8
< 5.8.0-1038.40~20.04.1
- ubuntu•linux-aws-fips
< 4.15.0-2048.50 | all | < 5.4.0-1069.73+fips2
- ubuntu•linux-aws-hwe
< 4.15.0-1106.113~16.04.1
- ubuntu•linux-azure
< 4.15.0-1118.131~14.04.1 | < 4.15.0-1118.131~16.04.1 | all | < 5.4.0-1051.53
- ubuntu•linux-azure-4.15
< 4.15.0-1118.131
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1051.53~18.04.1
- ubuntu•linux-azure-5.8
< 5.8.0-1036.38~20.04.1
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde-5.19
all
- ubuntu•linux-azure-fips
< 4.15.0-2030.33 | all | < 5.4.0-1073.76+fips1
- ubuntu•linux-bluefield
< 5.4.0-1013.16 | all
- ubuntu•linux-dell300x
< 4.15.0-1022.26
- ubuntu•linux-fips
< 4.15.0-1063.71 | all | < 5.4.0-1028.32
- ubuntu•linux-gcp
< 4.15.0-1103.116~16.04.1 | all | < 5.4.0-1046.49
- ubuntu•linux-gcp-4.15
< 4.15.0-1103.116
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1046.49~18.04.1
- ubuntu•linux-gcp-5.8
< 5.8.0-1035.37~20.04.1
- ubuntu•linux-gcp-edge
all
- ubuntu•linux-gcp-fips
all | < 5.4.0-1067.71~20.04.1
- ubuntu•linux-gke
< 5.4.0-1046.48
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.4
< 5.4.0-1046.48~18.04.1
- ubuntu•linux-gkeop
< 5.4.0-1018.19
- ubuntu•linux-gkeop-5.4
< 5.4.0-1018.19~18.04.1
- ubuntu•linux-hwe
< 4.15.0-147.151~16.04.1 | all
- ubuntu•linux-hwe-5.4
< 5.4.0-77.86~18.04.1
- ubuntu•linux-hwe-5.8
< 5.8.0-59.66~20.04.1
- ubuntu•linux-hwe-edge
all | all
- ubuntu•linux-intel-iot-realtime
all
- ubuntu•linux-kvm
< 4.15.0-1094.96 | < 5.4.0-1041.42
- ubuntu•linux-nvidia
all
- ubuntu•linux-oem
all
- ubuntu•linux-oem-5.10
< 5.10.0-1032.33
- ubuntu•linux-oem-5.6
all
- ubuntu•linux-oracle
< 4.15.0-1075.83~16.04.1 | < 4.15.0-1075.83 | < 5.4.0-1048.52
- ubuntu•linux-oracle-5.0
all
- ubuntu•linux-oracle-5.3
all
- ubuntu•linux-oracle-5.4
< 5.4.0-1048.52~18.04.1
- ubuntu•linux-oracle-5.8
< 5.8.0-1033.34~20.04.1
- ubuntu•linux-raspi
< 5.4.0-1038.41
- ubuntu•linux-raspi-5.4
< 5.4.0-1038.41~18.04.1
- ubuntu•linux-raspi-realtime
all
- ubuntu•linux-raspi2
< 4.15.0-1089.94 | all
Showing first 50 affected entries in server-rendered view.
References (12)
- https://ubuntu.com/security/CVE-2021-23133
- https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=b166a20b07382b8bc1dcee2a448715c9c2c81b5b
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b166a20b07382b8bc1dcee2a448715c9c2c81b5b
- https://www.openwall.com/lists/oss-security/2021/04/18/2
- https://ubuntu.com/security/notices/USN-4997-1
- https://ubuntu.com/security/notices/USN-4999-1
- https://ubuntu.com/security/notices/USN-5000-1
- https://ubuntu.com/security/notices/USN-5001-1
- https://ubuntu.com/security/notices/USN-5003-1
- https://ubuntu.com/security/notices/USN-5000-2
- https://ubuntu.com/security/notices/USN-4997-2
- https://www.cve.org/CVERecord?id=CVE-2021-23133