CVE-2026-43371

net: macb: Shuffle the tx ring before enabling tx

MEDIUM
5.5
CVSS Score
Published: May 8, 2026 at 02:21 PM UTC
Updated: June 17, 2026 at 10:49 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

Description

In the Linux kernel, the following vulnerability has been resolved: net: macb: Shuffle the tx ring before enabling tx Quanyang observed that when using an NFS rootfs on an AMD ZynqMp board, the rootfs may take an extended time to recover after a suspend. Upon investigation, it was determined that the issue originates from a problem in the macb driver. According to the Zynq UltraScale TRM [1], when transmit is disabled, the transmit buffer queue pointer resets to point to the address specified by the transmit buffer queue base address register. In the current implementation, the code merely resets `queue->tx_head` and `queue->tx_tail` to '0'. This approach presents several issues: - Packets already queued in the tx ring are silently lost, leading to memory leaks since the associated skbs cannot be released. - Concurrent write access to `queue->tx_head` and `queue->tx_tail` may occur from `macb_tx_poll()` or `macb_start_xmit()` when these values are reset to '0'. - The transmission may become stuck on a packet that has already been sent out, with its 'TX_USED' bit set, but has not yet been processed. However, due to the manipulation of 'queue->tx_head' and 'queue->tx_tail', `macb_tx_poll()` incorrectly assumes there are no packets to handle because `queue->tx_head == queue->tx_tail`. This issue is only resolved when a new packet is placed at this position. This is the root cause of the prolonged recovery time observed for the NFS root filesystem. To resolve this issue, shuffle the tx ring and tx skb array so that the first unsent packet is positioned at the start of the tx ring. Additionally, ensure that updates to `queue->tx_head` and `queue->tx_tail` are properly protected with the appropriate lock. [1] https://docs.amd.com/v/u/en-US/ug1085-zynq-ultrascale-trm

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.1.165 ≤ v < 6.1.1676.12.75 ≤ v < 6.12.786.18.16 ≤ v < 6.18.206.19.6 ≤ v < 6.19.96.6.128 ≤ v < 6.6.130316d9fe71fb18bc9b1dba464fdb68dd201315eba6.1.1656.12.756.18.166.19.66.6.1286e704e89f16fd4a1145756210bc210f14f174f94b3a7aa33ca7d46be513fccf832d3540acfe587d0bf9cf80cab81e39701861a42877a28295ade266fd89b8b17057e16fad4564c71160e68ca549c1b42ec4445ae9e58aed88561d3d1dfa849b039c7782e
Vendor states this is fixed in 0a47c3889fcd843c72aa57fa8c4d06f5801fced4 (fixed)
Vendor states this is fixed in 403182e0771b250cfde0fe7e1081d095ceaf8230 (fixed)
Vendor states this is fixed in 58f5d34f88e8f00910b692537f7b2efdb8c3705d (fixed)
Vendor states this is fixed in 881a0263d502e1a93ebc13a78254e9ad19520232 (fixed)
Vendor states this is fixed in 88f974fe118cb4653f029929ecbca7cfe06132ae (fixed)
Vendor states this is fixed in c6783bfa31a59f34fe4feb1bdbf67791ef3fb0b7 (fixed)
Affected range stops below 6.1.167, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.12.78, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.18.20, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.19.9, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.6.130, so it looks safe — our inference, not a vendor statement

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card