Resource Exhaustion 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.04% (6th 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 Learn

Learn about Resource Exhaustion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-KERNELRTDEBUGMODULES-1350418
  • published26 Jul 2021
  • disclosed22 Jan 2021

Introduced: 22 Jan 2021

CVE-2021-20194  (opens in a new tab)
CWE-400  (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.

There is a vulnerability in the linux kernel versions higher than 5.2 (if kernel compiled with config params CONFIG_BPF_SYSCALL=y , CONFIG_BPF=y , CONFIG_CGROUPS=y , CONFIG_CGROUP_BPF=y , CONFIG_HARDENED_USERCOPY not set, and BPF hook to getsockopt is registered). As result of BPF execution, the local user can trigger bug in __cgroup_bpf_run_filter_getsockopt() function that can lead to heap overflow (because of non-hardened usercopy). The impact of attack could be deny of service or possibly privileges escalation.

CVSS Scores

version 3.1