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-47212

5.5 · MEDIUM
Published Apr 10, 2024 linux EPSS 0.20% (9th pctl)

Overview

CVE-2021-47212 is a medium-severity vulnerability affecting linux linux_kernel. It was published on April 10, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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/mlx5: Update error handler for UCTX and UMEM

In the fast unload flow, the device state is set to internal error,

which indicates that the driver started the destroy process.

In this case, when a destroy command is being executed, it should return

MLX5_CMD_STAT_OK.

Fix MLX5_CMD_OP_DESTROY_UCTX and MLX5_CMD_OP_DESTROY_UMEM to return OK

instead of EIO.

This fixes a call trace in the umem release process -

[ 2633.536695] Call Trace:

[ 2633.537518] ib_uverbs_remove_one+0xc3/0x140 [ib_uverbs]

[ 2633.538596] remove_client_context+0x8b/0xd0 [ib_core]

[ 2633.539641] disable_device+0x8c/0x130 [ib_core]

[ 2633.540615] __ib_unregister_device+0x35/0xa0 [ib_core]

[ 2633.541640] ib_unregister_device+0x21/0x30 [ib_core]

[ 2633.542663] __mlx5_ib_remove+0x38/0x90 [mlx5_ib]

[ 2633.543640] auxiliary_bus_remove+0x1e/0x30 [auxiliary]

[ 2633.544661] device_release_driver_internal+0x103/0x1f0

[ 2633.545679] bus_remove_device+0

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 >= 5.2, < 5.15.5 Affected

Frequently Asked Questions

What is CVE-2021-47212?

CVE-2021-47212 is a medium-severity vulnerability affecting linux linux_kernel. It was published on April 10, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2021-47212?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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-47212?

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-47212?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-47212 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.