net: macb: Shuffle the tx ring before enabling tx

Summary

CVECVE-2026-43371
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-05-08 15:16:48 UTC
Updated2026-05-08 15:16:48 UTC
DescriptionIn 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

Risk And Classification

EPSS: 0.000240000 probability, percentile 0.070210000 (date 2026-05-11)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected d89b8b17057e16fad4564c71160e68ca549c1b42 c6783bfa31a59f34fe4feb1bdbf67791ef3fb0b7 git Not specified
CNA Linux Linux affected ec4445ae9e58aed88561d3d1dfa849b039c7782e 0a47c3889fcd843c72aa57fa8c4d06f5801fced4 git Not specified
CNA Linux Linux affected 6e704e89f16fd4a1145756210bc210f14f174f94 88f974fe118cb4653f029929ecbca7cfe06132ae git Not specified
CNA Linux Linux affected 316d9fe71fb18bc9b1dba464fdb68dd201315eba 58f5d34f88e8f00910b692537f7b2efdb8c3705d git Not specified
CNA Linux Linux affected b3a7aa33ca7d46be513fccf832d3540acfe587d0 403182e0771b250cfde0fe7e1081d095ceaf8230 git Not specified
CNA Linux Linux affected bf9cf80cab81e39701861a42877a28295ade266f 881a0263d502e1a93ebc13a78254e9ad19520232 git Not specified
CNA Linux Linux affected 6.1.165 6.1.167 semver Not specified
CNA Linux Linux affected 6.6.128 6.6.130 semver Not specified
CNA Linux Linux affected 6.12.75 6.12.78 semver Not specified
CNA Linux Linux affected 6.18.16 6.18.20 semver Not specified
CNA Linux Linux affected 6.19.6 6.19.9 semver Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/c6783bfa31a59f34fe4feb1bdbf67791ef3fb0b7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/403182e0771b250cfde0fe7e1081d095ceaf8230 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/88f974fe118cb4653f029929ecbca7cfe06132ae 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0a47c3889fcd843c72aa57fa8c4d06f5801fced4 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/58f5d34f88e8f00910b692537f7b2efdb8c3705d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/881a0263d502e1a93ebc13a78254e9ad19520232 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report