Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-47438

7.1 · HIGH
Published May 22, 2024 linux CWE-401 EPSS 0.23% (14th pctl)

Overview

CVE-2021-47438 is a high-severity vulnerability affecting linux linux_kernel. It was published on May 22, 2024 and has a CVSS 3.1 base score of 7.1 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

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

net/mlx5e: Fix memory leak in mlx5_core_destroy_cq() error path

Prior to this patch in case mlx5_core_destroy_cq() failed it returns

without completing all destroy operations and that leads to memory leak.

Instead, complete the destroy flow before return error.

Also move mlx5_debug_cq_remove() to the beginning of mlx5_core_destroy_cq()

to be symmetrical with mlx5_core_create_cq().

kmemleak complains on:

unreferenced object 0xc000000038625100 (size 64):

comm "ethtool", pid 28301, jiffies 4298062946 (age 785.380s)

hex dump (first 32 bytes):

60 01 48 94 00 00 00 c0 b8 05 34 c3 00 00 00 c0 `.H.......4.....

02 00 00 00 00 00 00 00 00 db 7d c1 00 00 00 c0 ..........}.....

backtrace:

[<000000009e8643cb>] add_res_tree+0xd0/0x270 [mlx5_core]

[<00000000e7cb8e6c>] mlx5_debug_cq_add+0x5c/0xc0 [mlx5_core]

[<000000002a12918f>] mlx5_core_create_cq+0x1d0/0x2d0 [mlx5_core]

[<00000000cef0a696>] mlx5e

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 3.11, < 5.10.75 Affected

Frequently Asked Questions

What is CVE-2021-47438?

CVE-2021-47438 is a high-severity vulnerability affecting linux linux_kernel. It was published on May 22, 2024 and has a CVSS 3.1 base score of 7.1 (HIGH).

How severe is CVE-2021-47438?

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-47438?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-47438?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-47438 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.