Use After Free Affecting kernel-modules package, versions <0:4.18.0-372.121.1.el8_6


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.05% (17th 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-RHEL8-KERNELMODULES-7892013
  • published4 Sept 2024
  • disclosed21 May 2024

Introduced: 21 May 2024

CVE-2021-47378  (opens in a new tab)
CWE-416  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade RHEL:8 kernel-modules to version 0:4.18.0-372.121.1.el8_6 or higher.
This issue was patched in RHSA-2024:6297.

NVD Description

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

In the Linux kernel, the following vulnerability has been resolved:

nvme-rdma: destroy cm id before destroy qp to avoid use after free

We should always destroy cm_id before destroy qp to avoid to get cma event after qp was destroyed, which may lead to use after free. In RDMA connection establishment error flow, don't destroy qp in cm event handler.Just report cm_error to upper level, qp will be destroy in nvme_rdma_alloc_queue() after destroy cm id.

CVSS Scores

version 3.1