Menu

Star on GitHub · 3.2k

CVE-2021-47196

7.8 · HIGH

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 th…

Published Apr 10, 2024CWE-416EPSS 0.22%

Overview

CVE-2021-47196 is a high-severity vulnerability. 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, patches, and mitigation guidance. 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.

Frequently asked questions

What is CVE-2021-47196?

CVE-2021-47196 is a high-severity vulnerability. 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, patches, and mitigation guidance. 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 is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2021-47196 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2021

View all