Menu

Star on GitHub · 3.2k

CVE-2021-47371

7.1 · HIGH

In the Linux kernel, the following vulnerability has been resolved: nexthop: Fix memory leaks in nexthop notification chain listeners syzkaller discovered memory leaks [1] that can be reduced to…

Published May 21, 2024CWE-400EPSS 0.21%

Overview

CVE-2021-47371 is a high-severity vulnerability. It was published on May 21, 2024 and has a CVSS 3.1 base score of 7.1 (HIGH).

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

nexthop: Fix memory leaks in nexthop notification chain listeners

syzkaller discovered memory leaks [1] that can be reduced to the

following commands:

# ip nexthop add id 1 blackhole

# devlink dev reload pci/0000:06:00.0

As part of the reload flow, mlxsw will unregister its netdevs and then

unregister from the nexthop notification chain. Before unregistering

from the notification chain, mlxsw will receive delete notifications for

nexthop objects using netdevs registered by mlxsw or their uppers. mlxsw

will not receive notifications for nexthops using netdevs that are not

dismantled as part of the reload flow. For example, the blackhole

nexthop above that internally uses the loopback netdev as its nexthop

device.

One way to fix this problem is to have listeners flush their nexthop

tables after unregistering from the notification chain. This is

error-prone as evident by this patch and also not symmetric with the

r

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

CVE-2021-47371 is a high-severity vulnerability. It was published on May 21, 2024 and has a CVSS 3.1 base score of 7.1 (HIGH).

How severe is CVE-2021-47371?

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

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

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