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

5.5 · MEDIUM
Published May 21, 2024 linux CWE-476 EPSS 0.23% (14th pctl)

Overview

CVE-2021-47266 is a medium-severity vulnerability affecting linux linux_kernel. 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/ipoib: Fix warning caused by destroying non-initial netns

After the commit 5ce2dced8e95 ("RDMA/ipoib: Set rtnl_link_ops for ipoib

interfaces"), if the IPoIB device is moved to non-initial netns,

destroying that netns lets the device vanish instead of moving it back to

the initial netns, This is happening because default_device_exit() skips

the interfaces due to having rtnl_link_ops set.

Steps to reporoduce:

ip netns add foo

ip link set mlx5_ib0 netns foo

ip netns delete foo

WARNING: CPU: 1 PID: 704 at net/core/dev.c:11435 netdev_exit+0x3f/0x50

Modules linked in: xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT

nf_reject_ipv4 nft_compat nft_counter nft_chain_nat nf_nat nf_conntrack

nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink tun d

fuse

CPU: 1 PID: 704 Comm: kworker/u64:3 Tainted: G S W 5.13.0-rc1+ #1

Hardware name: Dell Inc. PowerEdge R630/02C2CP, BIOS 2.1.5 04/11/2016

Workqueue: netns clean

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.4.73, < 5.4.126 Affected

Frequently Asked Questions

What is CVE-2021-47266?

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

How severe is CVE-2021-47266?

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

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

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