Menu

Star on GitHub · 3.4k

CVE-2021-47558

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: net: stmmac: Disable Tx queues when reconfiguring the interface The Tx queues were not disabled in situations where the driver…

Published May 24, 2024EPSS 0.18%

Overview

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

net: stmmac: Disable Tx queues when reconfiguring the interface

The Tx queues were not disabled in situations where the driver needed to

stop the interface to apply a new configuration. This could result in a

kernel panic when doing any of the 3 following actions:

* reconfiguring the number of queues (ethtool -L)

* reconfiguring the size of the ring buffers (ethtool -G)

* installing/removing an XDP program (ip l set dev ethX xdp)

Prevent the panic by making sure netif_tx_disable is called when stopping

an interface.

Without this patch, the following kernel panic can be observed when doing

any of the actions above:

Unable to handle kernel paging request at virtual address ffff80001238d040

[....]

Call trace:

dwmac4_set_addr+0x8/0x10

dev_hard_start_xmit+0xe4/0x1ac

sch_direct_xmit+0xe8/0x39c

__dev_queue_xmit+0x3ec/0xaf0

dev_queue_xmit+0x14/0x20

[...]

[ end trace 0000000000000002 ]---

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

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

How severe is CVE-2021-47558?

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

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

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