Vulnerability CVE-2021-23133: Information

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.

Severity: HIGH (7.0)
Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Severity: MEDIUM (6.9)
Vector: CVSS:2.0/AV:L/AC:M/Au:N/C:C/I:C/A:C
Published: April 22, 2021
Modified: Nov. 21, 2024
Error type identifier: CWE-362

Fixed packages

Package name
Branch
Fixed in version
Version from repository
Errata ID
Task #
State
kernel-image-mpsisyphus5.11.16-alt16.11.8-alt1ALT-PU-2021-1698-2270482Fixed
kernel-image-mpp105.11.16-alt16.1.19-alt1ALT-PU-2021-1698-2270482Fixed
kernel-image-mpp95.11.16-alt15.12.16-alt1ALT-PU-2021-1869-5271829Fixed
kernel-image-rpi-defsisyphus5.10.36-alt15.15.92-alt2ALT-PU-2021-1862-2272154Fixed
kernel-image-rpi-defp105.10.36-alt15.15.92-alt2ALT-PU-2021-1862-2272154Fixed
kernel-image-rpi-defp95.10.36-alt15.10.81-alt1ALT-PU-2021-1866-2272593Fixed
kernel-image-rpi-unsisyphus5.10.35-alt16.12.86-alt1ALT-PU-2021-1776-2271376Fixed
kernel-image-rpi-unp115.10.35-alt16.12.79-alt1ALT-PU-2021-1776-2271376Fixed
kernel-image-rpi-unp105.10.35-alt16.6.56-alt1ALT-PU-2021-1776-2271376Fixed
kernel-image-rpi-unp95.12.6-alt15.12.17-alt1ALT-PU-2021-1896-3273084Fixed
kernel-image-rtsisyphus4.19.189-alt1.rt786.12.87-alt1ALT-PU-2021-1768-2271271Fixed
kernel-image-rtp114.19.189-alt1.rt786.12.85-alt1ALT-PU-2021-1768-2271271Fixed
kernel-image-rtp104.19.189-alt1.rt785.10.255-alt1.rt151ALT-PU-2021-1768-2271271Fixed
kernel-image-rtp94.19.189-alt1.rt784.19.189-alt1.rt78ALT-PU-2021-3430-2287828Fixed
kernel-image-rtc9f24.19.199-alt1.rt864.19.199-alt2.rt86ALT-PU-2021-2671-2283461Fixed
kernel-image-std-defp105.10.32-alt15.10.253-alt1ALT-PU-2021-1706-2270544Fixed
kernel-image-std-defp95.4.111-alt25.4.302-alt1ALT-PU-2021-5081-1270768Fixed
kernel-image-std-defc9f25.10.32-alt0.c9f5.10.250-alt0.c9f.2ALT-PU-2021-1739-1270353Fixed
kernel-image-std-kvmp105.10.32-alt15.10.42-alt1ALT-PU-2021-1711-2270643Fixed
kernel-image-un-defsisyphus_riscv645.19.16-alt2.rv646.6.96-alt1.0.portALT-PU-2022-6777-1-Fixed
kernel-image-un-defp105.12.10-alt16.1.169-alt1ALT-PU-2021-1990-2274393Fixed
kernel-image-un-defp95.10.37-alt15.10.255-alt1ALT-PU-2021-1855-2271841Fixed
kernel-image-xenomaip104.19.192-alt1.cip50.184.19.252-alt1.cip78.23ALT-PU-2021-5019-1274410Fixed

References to Advisories, Solutions, and Tools

    1. cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
      Start including
      4.10
      End excluding
      4.14.232

      cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
      Start including
      4.15
      End excluding
      4.19.189

      cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
      Start including
      4.20
      End excluding
      5.4.114

      cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
      Start including
      5.5
      End excluding
      5.10.32

      cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
      Start including
      5.11
      End excluding
      5.11.16

      cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*

      cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*

      cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*

      cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

      cpe:2.3:a:netapp:cloud_backup:-:*:*:*:*:*:*:*

      cpe:2.3:a:netapp:solidfire_\&_hci_management_node:-:*:*:*:*:*:*:*

      cpe:2.3:o:broadcom:brocade_fabric_operating_system:-:*:*:*:*:*:*:*

      cpe:2.3:o:netapp:h410c_firmware:-:*:*:*:*:*:*:*

      cpe:2.3:h:netapp:h410c:-:*:*:*:*:*:*:*

      cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:*

      cpe:2.3:h:netapp:h300s:-:*:*:*:*:*:*:*

      cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:*

      cpe:2.3:h:netapp:h500s:-:*:*:*:*:*:*:*

      cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:*

      cpe:2.3:h:netapp:h700s:-:*:*:*:*:*:*:*

      cpe:2.3:o:netapp:h300e_firmware:-:*:*:*:*:*:*:*

      cpe:2.3:h:netapp:h300e:-:*:*:*:*:*:*:*

      cpe:2.3:o:netapp:h500e_firmware:-:*:*:*:*:*:*:*

      cpe:2.3:h:netapp:h500e:-:*:*:*:*:*:*:*

      cpe:2.3:o:netapp:h700e_firmware:-:*:*:*:*:*:*:*

      cpe:2.3:h:netapp:h700e:-:*:*:*:*:*:*:*

      cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:*

      cpe:2.3:h:netapp:h410s:-:*:*:*:*:*:*:*

      cpe:2.3:o:netapp:solidfire_baseboard_management_controller_firmware:-:*:*:*:*:*:*:*

      cpe:2.3:h:netapp:solidfire_baseboard_management_controller:-:*:*:*:*:*:*:*