CVE-2026-43031
JSON

7.5high

net: xilinx: axienet: Fix BQL accounting for multi-BD TX packets

Severity
7.5high CVSS:3.1 by Linux
Exploit likelihood
0.44% (higher than 40% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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

Product or packageVersionsReported by
Linux Linuxfrom c900e49d58eb32b192b6d200ace4ae3ab89779d4 before 2a0323a913109b52bfc9f5ea7b92a1b249e07d3e, from c900e49d58eb32b192b6d200ace4ae3ab89779d4 before 3c3a6b9020c01fde7b22e8550105de0b59904f61, from c900e49d58eb32b192b6d200ace4ae3ab89779d4 before d1978d03e86785872871bff9c2623174b10740de, 6.15
Not affected: before 6.15, from 6.18.22 up to 6.18.*, from 6.19.12 up to 6.19.*, from 7.0 up to *
CVE List
linux linux_kernelfrom 6.15 before 6.18.22, from 6.19 before 6.19.12, 7.0NVD

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net: xilinx: axienet: Corrección de la contabilidad BQL para paquetes TX multi-BD Cuando un paquete TX abarca múltiples descriptores de búfer (scatter-gather), axienet_free_tx_chain suma la longitud real por BD del estado del descriptor en un acumulador proporcionado por el llamador. Esa suma se restablece en cada sondeo NAPI. Si los BDs para un solo paquete se completan a través de diferentes sondeos, los bytes anteriores se pierden y nunca se acreditan a BQL. Esto hace que BQL piense que los bytes están permanentemente en tránsito, lo que eventualmente detiene la cola TX. El puntero SKB se almacena solo en el último BD de un paquete. Cuando ese BD se completa, use skb -> len para el recuento de bytes en lugar de sumar las longitudes de estado por BD. Esto coincide con netdev_sent_queue(), que debita skb -> len, y naturalmente sobrevive a través de los sondeos porque ningún paquete parcial contribuye al acumulador.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-43031 changed 2026-08-05CVE Terms of Use
NVDCVE-2026-43031 changed 2026-11-11Public domain