Menu

Star on GitHub · 3.4k

CVE-2021-47265

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: RDMA: Verify port when creating flow rule Validate port value provided by the user and with that remove no longer needed valida…

Published May 21, 2024EPSS 0.20%

Overview

CVE-2021-47265 is a medium-severity vulnerability. It was published on May 21, 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:

RDMA: Verify port when creating flow rule

Validate port value provided by the user and with that remove no longer

needed validation by the driver. The missing check in the mlx5_ib driver

could cause to the below oops.

Call trace:

_create_flow_rule+0x2d4/0xf28 [mlx5_ib]

mlx5_ib_create_flow+0x2d0/0x5b0 [mlx5_ib]

ib_uverbs_ex_create_flow+0x4cc/0x624 [ib_uverbs]

ib_uverbs_handler_UVERBS_METHOD_INVOKE_WRITE+0xd4/0x150 [ib_uverbs]

ib_uverbs_cmd_verbs.isra.7+0xb28/0xc50 [ib_uverbs]

ib_uverbs_ioctl+0x158/0x1d0 [ib_uverbs]

do_vfs_ioctl+0xd0/0xaf0

ksys_ioctl+0x84/0xb4

__arm64_sys_ioctl+0x28/0xc4

el0_svc_common.constprop.3+0xa4/0x254

el0_svc_handler+0x84/0xa0

el0_svc+0x10/0x26c

Code: b9401260 f9615681 51000400 8b001c20 (f9403c1a)

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

CVE-2021-47265 is a medium-severity vulnerability. It was published on May 21, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2021-47265?

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

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

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2021-47265 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 MEDIUM CVEs from 2021

View all
LiveWatch live →