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

7.8 · HIGH
Published Apr 10, 2024 linux CWE-416 EPSS 0.22% (12th pctl)

Overview

CVE-2021-47196 is a high-severity vulnerability affecting linux linux_kernel. It was published on April 10, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, 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:

RDMA/core: Set send and receive CQ before forwarding to the driver

Preset both receive and send CQ pointers prior to call to the drivers and

overwrite it later again till the mlx4 is going to be changed do not

overwrite ibqp properties.

This change is needed for mlx5, because in case of QP creation failure, it

will go to the path of QP destroy which relies on proper CQ pointers.

BUG: KASAN: use-after-free in create_qp.cold+0x164/0x16e [mlx5_ib]

Write of size 8 at addr ffff8880064c55c0 by task a.out/246

CPU: 0 PID: 246 Comm: a.out Not tainted 5.15.0+ #291

Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.13.0-0-gf21b5a4aeb02-prebuilt.qemu.org 04/01/2014

Call Trace:

dump_stack_lvl+0x45/0x59

print_address_description.constprop.0+0x1f/0x140

kasan_report.cold+0x83/0xdf

create_qp.cold+0x164/0x16e [mlx5_ib]

mlx5_ib_create_qp+0x358/0x28a0 [mlx5_ib]

create_qp.part.0+0x45b/0x6a0 [ib_core]

ib_

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.15, < 5.15.5 Affected

Frequently Asked Questions

What is CVE-2021-47196?

CVE-2021-47196 is a high-severity vulnerability affecting linux linux_kernel. It was published on April 10, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2021-47196?

This vulnerability has a CVSS 3.1 base score of 7.8, 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-47196?

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

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