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

5.3 · MEDIUM
Published May 22, 2024 linux CWE-544 EPSS 0.74% (52th pctl)

Overview

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

This vulnerability has a CVSS 3.1 base score of 5.3, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

net: batman-adv: fix error handling

Syzbot reported ODEBUG warning in batadv_nc_mesh_free(). The problem was

in wrong error handling in batadv_mesh_init().

Before this patch batadv_mesh_init() was calling batadv_mesh_free() in case

of any batadv_*_init() calls failure. This approach may work well, when

there is some kind of indicator, which can tell which parts of batadv are

initialized; but there isn't any.

All written above lead to cleaning up uninitialized fields. Even if we hide

ODEBUG warning by initializing bat_priv->nc.work, syzbot was able to hit

GPF in batadv_nc_purge_paths(), because hash pointer in still NULL. [1]

To fix these bugs we can unwind batadv_*_init() calls one by one.

It is good approach for 2 reasons: 1) It fixes bugs on error handling

path 2) It improves the performance, since we won't call unneeded

batadv_*_free() functions.

So, this patch makes all batadv_*_init() clean up all allocated

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 >= 2.6.38, < 4.4.293 Affected

Frequently Asked Questions

What is CVE-2021-47482?

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

How severe is CVE-2021-47482?

This vulnerability has a CVSS 3.1 base score of 5.3, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-47482?

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

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