6.7
Medium
CVE-2021-23133 A race condition in Linux kernel SCTP sockets (net/sctp/socket.c) before 5.12-rc8 can lead to kernel privilege…
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 products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux Kernel 5.12 | earliest → < 5.12-rc8 | 5.12-rc8 |
References
- www.openwall.com www.openwall.com
- git.kernel.org git.kernel.org
- FEDORA-2021-8cd093f639 lists.fedoraproject.org
- FEDORA-2021-e6b4847979 lists.fedoraproject.org
- FEDORA-2021-a963f04012 lists.fedoraproject.org
- [oss-security] 20210510 Re: CVE-2021-23133: Linux kernel: race condition in sctp sockets www.openwall.com
- [oss-security] 20210510 Re: CVE-2021-23133: Linux kernel: race condition in sctp sockets www.openwall.com
- [oss-security] 20210510 Re: CVE-2021-23133: Linux kernel: race condition in sctp sockets www.openwall.com
- [oss-security] 20210510 Re: CVE-2021-23133: Linux kernel: race condition in sctp sockets www.openwall.com
- security.netapp.com security.netapp.com
- [debian-lts-announce] 20210623 [SECURITY] [DLA 2689-1] linux security update lists.debian.org
- [debian-lts-announce] 20210623 [SECURITY] [DLA 2690-1] linux-4.19 security update lists.debian.org
Timeline
- Published
- Last modified
Other CVEs of Linux Kernel
The 11 CVEs of Linux Kernel →
CVE-2022-2503
Dm-verity is used for extending root-of-trust to root filesystems
6.9
Medium
CVE-2022-2327
io_uring use work_flags to determine which identity need to grab from the calling process to make sure it is…
7.5
High
CVE-2021-22543
An issue was discovered in Linux: KVM through Improper handling of VM_IO|VM_PFNMAP vmas in KVM can bypass RO checks…
8.7
High
CVE-2021-23134
Use After Free vulnerability in nfc sockets in the Linux Kernel before 5.12.4 allows local attackers to elevate their…
7.8
High