CVE-2026-43102: net: airoha: Fix memory leak in airoha_qdma_rx_process()
From: Greg Kroah-Hartman <[email protected]>
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.
The Linux kernel CVE team has assigned CVE-2026-43102 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.15 with commit d6d2b0e1538d5c381ec0ca95afaf772c096ea5dc and fixed in 6.18.24 with commit 4429b761874fb9c7767d12d98913a467ef2654f1 Issue introduced in 6.15 with commit d6d2b0e1538d5c381ec0ca95afaf772c096ea5dc and fixed in 6.19.14 with commit 7ee0063fbab8aea8f4e4e3165f541bf898b77b80 Issue introduced in 6.15 with commit d6d2b0e1538d5c381ec0ca95afaf772c096ea5dc and fixed in 7.0 with commit 285fa6b1e03cff78ead0383e1b259c44b95faf90
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-43102
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/net/ethernet/airoha/airoha_eth.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/4429b761874fb9c7767d12d98913a467ef2654f1 https://git.kernel.org/stable/c/7ee0063fbab8aea8f4e4e3165f541bf898b77b80 https://git.kernel.org/stable/c/285fa6b1e03cff78ead0383e1b259c44b95faf90