Use After Free Affecting kernel-debug-modules-extra package, versions <0:4.18.0-305.25.1.el8_4


Severity

Recommended
0.0
high
0
10

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.13% (49th 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 Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ROCKY8-KERNELDEBUGMODULESEXTRA-3289743
  • published3 Feb 2023
  • disclosed7 Jun 2021

Introduced: 7 Jun 2021

CVE-2020-36385  (opens in a new tab)
CWE-416  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade Rocky-Linux:8 kernel-debug-modules-extra to version 0:4.18.0-305.25.1.el8_4 or higher.
This issue was patched in RLSA-2021:4056.

NVD Description

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

An issue was discovered in the Linux kernel before 5.10. drivers/infiniband/core/ucma.c has a use-after-free because the ctx is reached via the ctx_list in some ucma_migrate_id situations where ucma_close is called, aka CID-f5449e74802c.

CVSS Scores

version 3.1