Race Condition Affecting kernel-rt-debug-modules package, versions <0:4.18.0-348.rt7.130.el8


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.08% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL8-KERNELRTDEBUGMODULES-4131911
  • published26 Jul 2021
  • disclosed18 Apr 2021

Introduced: 18 Apr 2021

CVE-2021-23133  (opens in a new tab)
CWE-362  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade RHEL:8 kernel-rt-debug-modules to version 0:4.18.0-348.rt7.130.el8 or higher.
This issue was patched in RHSA-2021:4140.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-rt-debug-modules package and not the kernel-rt-debug-modules package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

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 Scores

version 3.1