net: xilinx: axienet: Fix BQL accounting for multi-BD TX packets
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d1978d03e86785872871bff9c2623174b10740de, Kernel 6.19.12, Kernel 3c3a6b9020c01fde7b22e8550105de0b59904f61 and 2 more.
In the Linux kernel, the following vulnerability has been resolved: net: xilinx: axienet: Fix BQL accounting for multi-BD TX packets When a TX packet spans multiple buffer descriptors (scatter-gather), axienet_free_tx_chain sums the per-BD actual length from descriptor status into a caller-provided accumulator. That sum is reset on each NAPI poll. If the BDs for a single packet complete across different polls, the earlier bytes are lost and never credited to BQL. This causes BQL to think bytes are permanently in-flight, eventually stalling the TX queue. The SKB pointer is stored only on the last BD of a packet. When that BD completes, use skb->len for the byte count instead of summing per-BD status lengths. This matches netdev_sent_queue(), which debits skb->len, and naturally survives across polls because no partial packet contributes to the accumulator.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=c900e49d58eb32b192b6d200ace4ae3ab89779d4 <d1978d03e86785872871bff9c2623174b10740de, >=6.19 <6.19.12, =7.0, >=c900e49d58eb32b192b6d200ace4ae3ab89779d4 <3c3a6b9020c01fde7b22e8550105de0b59904f61, >=6.15 <6.18.22, =6.15, >=c900e49d58eb32b192b6d200ace4ae3ab89779d4 <2a0323a913109b52bfc9f5ea7b92a1b249e07d3e | d1978d03e86785872871bff9c2623174b10740de, 6.19.12, 3c3a6b9020c01fde7b22e8550105de0b59904f61, 6.18.22, 2a0323a913109b52bfc9f5ea7b92a1b249e07d3e |
| linux-kernel: Kernel | >=6.15.0 <6.18.22, >=6.19.0 <6.19.12 | 6.18.22, 6.19.12 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket