Not scored
net: atlantic: free stranded TX buffers on ring deinit
- Severity
- Not scored
- Exploit likelihood
- 0.18% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: net: atlantic: free stranded TX buffers on ring deinit aq_vec_deinit() drains the TX rings with a single aq_ring_tx_clean() call, which frees at most AQ_CFG_TX_CLEAN_BUDGET (256) descriptors and stops at hw_head, which no longer moves once aq_vec_stop() has stopped the hardware and NAPI. Completed descriptors beyond the budget and everything still posted in [hw_head, sw_tail) keep their skb or xdp_frame when the interface goes down: aq_vec_ring_free() then frees the buffer ring and the references are lost for good. Today this is a silent memory leak on every interface down under TX/XDP_TX load. With the conversion of the RX path to page_pool posted for net-next it becomes much more visible: XDP_TX frames carry fragment references on the RX ring's page_pool, so a single stranded frame keeps the pool's inflight count above zero forever. page_pool_destroy() then never completes, the pool is leaked together with its pages, and "page_pool_release_retry() stalled pool shutdown" is warned every 60 seconds from that point on, on every ifdown, XDP detach or ring resize under XDP_TX load. Bring back aq_ring_tx_deinit() as it was before the removal and use it for teardown again, with one extension: TX rings can hold xdp_frames nowadays, so release those too. They are returned with xdp_return_frame() since this runs in process context.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from eb36bedf28be6d986bdbcfa375bab08ffa45efd8 before a14ceebd13bf857bfca052bc5a6bd49e737912be, from eb36bedf28be6d986bdbcfa375bab08ffa45efd8 before 4f1c20873f70b4b22ef86dc38dad1fda8e169bcd, from eb36bedf28be6d986bdbcfa375bab08ffa45efd8 before 307d80193b4a4a75b8dc4e0d3162be3755abbed7, from eb36bedf28be6d986bdbcfa375bab08ffa45efd8 before 7a3e1481f4ee6c581bccc6bfc6c970aac5be7b0c, from eb36bedf28be6d986bdbcfa375bab08ffa45efd8 before 3447641d361dcc5511841d986ad4d849b2900d9b, from eb36bedf28be6d986bdbcfa375bab08ffa45efd8 before b13202d401e1a20fec89b0cda733dcbaf279f79d, from eb36bedf28be6d986bdbcfa375bab08ffa45efd8 before dd633280de7fdfd60dc4fcf63d04e2ad95b43269, from eb36bedf28be6d986bdbcfa375bab08ffa45efd8 before 452636ea5410a96e02ebaaf80b21e3620b98e0dd and 1 more Not affected: before 4.11, from 5.10.266 up to 5.10.*, from 5.15.217 up to 5.15.*, from 6.1.183 up to 6.1.*, from 6.6.152 up to 6.6.*, from 6.12.104 up to 6.12.* | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: net: atlantic: free stranded TX buffers on ring deinit aq_vec_deinit() drains the TX rings with a single aq_ring_tx_clean() call, which frees at most AQ_CFG_TX_CLEAN_BUDGET (256) descriptors and stops at hw_head, which no longer moves once aq_vec_stop() has stopped the hardware and NAPI. Completed descriptors beyond the budget and everything still posted in [hw_head, sw_tail) keep their skb or xdp_frame when the interface goes down: aq_vec_ring_free() then frees the buffer ring and the references are lost for good. Today this is a silent memory leak on every interface down under TX/XDP_TX load. With the conversion of the RX path to page_pool posted for net-next it becomes much more visible: XDP_TX frames carry fragment references on the RX ring's page_pool, so a single stranded frame keeps the pool's inflight count above zero forever. page_pool_destroy() then never completes, the pool is leaked together with its pages, and "page_pool_release_retry() stalled pool shutdown" is warned every 60 seconds from that point on, on every ifdown, XDP detach or ring resize under XDP_TX load. Bring back aq_ring_tx_deinit() as it was before the removal and use it for teardown again, with one extension: TX rings can hold xdp_frames nowadays, so release those too. They are returned with xdp_return_frame() since this runs in process context.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net: atlantic: liberar búferes TX varados en la desinicialización del anillo aq_vec_deinit() vacía los anillos TX con una única llamada a aq_ring_tx_clean(), que libera como máximo AQ_CFG_TX_CLEAN_BUDGET (256) descriptores y se detiene en hw_head, que ya no se mueve una vez que aq_vec_stop() ha detenido el hardware y NAPI. Los descriptores completados más allá del presupuesto y todo lo que aún está publicado en [hw_head, sw_tail) conservan su skb o xdp_frame cuando la interfaz se desactiva: aq_vec_ring_free() luego libera el anillo de búferes y las referencias se pierden para siempre. Hoy esto es una fuga de memoria silenciosa en cada desactivación de interfaz bajo carga de TX/XDP_TX. Con la conversión de la ruta RX a page_pool publicada para net-next se vuelve mucho más visible: los frames XDP_TX llevan referencias de fragmentos en el page_pool del anillo RX, por lo que un único frame varado mantiene el contador 'inflight' del pool por encima de cero para siempre. page_pool_destroy() entonces nunca se completa, el pool se fuga junto con sus páginas, y se advierte 'page_pool_release_retry() stalled pool shutdown' cada 60 segundos a partir de ese momento, en cada ifdown, desvinculación de XDP o redimensionamiento de anillo bajo carga de XDP_TX. Recuperar aq_ring_tx_deinit() como estaba antes de su eliminación y usarlo para el desmantelamiento de nuevo, con una extensión: los anillos TX pueden contener xdp_frames hoy en día, así que liberar esos también. Se devuelven con xdp_return_frame() ya que esto se ejecuta en contexto de proceso.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-74623 changed 2026-11-06 | CVE Terms of Use |
| NVD | CVE-2026-74623 changed 2026-11-06 | Public domain |