5.5medium
net: airoha: Fix memory leak in airoha_qdma_rx_process()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.12% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: net: airoha: Fix memory leak in airoha_qdma_rx_process() If an error occurs on the subsequents buffers belonging to the non-linear part of the skb (e.g. due to an error in the payload length reported by the NIC or if we consumed all the available fragments for the skb), the page_pool fragment will not be linked to the skb so it will not return to the pool in the airoha_qdma_rx_process() error path. Fix the memory leak partially reverting commit 'd6d2b0e1538d ("net: airoha: Fix page recycling in airoha_qdma_rx_process()")' and always running page_pool_put_full_page routine in the airoha_qdma_rx_process() error path.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from d6d2b0e1538d5c381ec0ca95afaf772c096ea5dc before 4429b761874fb9c7767d12d98913a467ef2654f1, from d6d2b0e1538d5c381ec0ca95afaf772c096ea5dc before 7ee0063fbab8aea8f4e4e3165f541bf898b77b80, from d6d2b0e1538d5c381ec0ca95afaf772c096ea5dc before 285fa6b1e03cff78ead0383e1b259c44b95faf90, 6.15 Not affected: before 6.15, from 6.18.24 up to 6.18.*, from 6.19.14 up to 6.19.*, from 7.0 up to * | CVE List |
| linux linux_kernel | from 6.15.1 before 6.18.24, from 6.19 before 6.19.14, 6.15, 7.0 | NVD |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: net: airoha: Fix memory leak in airoha_qdma_rx_process() If an error occurs on the subsequents buffers belonging to the non-linear part of the skb (e.g. due to an error in the payload length reported by the NIC or if we consumed all the available fragments for the skb), the page_pool fragment will not be linked to the skb so it will not return to the pool in the airoha_qdma_rx_process() error path. Fix the memory leak partially reverting commit 'd6d2b0e1538d ("net: airoha: Fix page recycling in airoha_qdma_rx_process()")' and always running page_pool_put_full_page routine in the airoha_qdma_rx_process() error path.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net: airoha: Corrección de fuga de memoria en airoha_qdma_rx_process() Si ocurre un error en los búferes subsiguientes pertenecientes a la parte no lineal del skb (p. ej., debido a un error en la longitud de la carga útil informada por la NIC o si consumimos todos los fragmentos disponibles para el skb), el fragmento de page_pool no se vinculará al skb, por lo que no regresará al pool en la ruta de error de airoha_qdma_rx_process(). Se corrige la fuga de memoria revirtiendo parcialmente el commit ’d6d2b0e1538d (’net: airoha: Fix page recycling in airoha_qdma_rx_process()’)’ y ejecutando siempre la rutina page_pool_put_full_page en la ruta de error de airoha_qdma_rx_process().
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43102 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2026-43102 changed 2026-11-11 | Public domain |