CVE-2021-47558: net: stmmac: Disable Tx queues when reconfiguring the interface
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 ]---
Security readout for executives and security teams
Plain-English summary
This Linux kernel issue can crash a system when an affected STMMAC network interface is reconfigured. The trigger is administrative network changes, not normal traffic based on the provided sources. Business risk is mainly service interruption on systems using this Ethernet driver.
Executive priority
Treat as a targeted availability risk. Prioritize patching where STMMAC-based systems support critical network paths, appliances, embedded platforms, or edge services.
Technical view
The STMMAC driver failed to disable transmit queues while stopping the interface for configuration changes. Reconfiguring queue count, ring buffer size, or XDP attachment could leave transmission paths active and lead to a kernel panic. The fix calls netif_tx_disable when stopping the interface.
Likely exposure
Exposure is likely limited to Linux systems using the STMMAC Ethernet driver on affected kernel versions or unpatched downstream builds. Exact exposure depends on distro backports and hardware inventory.
Exploitation context
The source bundle does not show KEV listing or active exploitation. The described crash requires interface reconfiguration actions such as queue, ring buffer, or XDP changes, which typically require administrative privileges.
Researcher notes
Evidence supports a driver-level denial-of-service condition through a race or unsafe transmit path during interface stop and reconfiguration. No CVSS, CWE, public exploit status, or distro-specific fixed package data is provided.
Mitigation direction
Apply Linux stable or distribution kernel updates containing the referenced STMMAC fix.
Check vendor advisories for backported fixes matching deployed kernel builds.
Avoid nonessential STMMAC interface reconfiguration until patched.
Schedule patching for exposed network appliances, embedded systems, and edge hosts.
Validation and detection
Inventory Linux hosts using the STMMAC Ethernet driver.
Compare deployed kernel builds against vendor-fixed packages or referenced stable commits.
Review change automation that modifies queues, ring buffers, or XDP state.
Confirm no recent unexplained kernel panics align with interface reconfiguration events.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2021-47558 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.