CVE-2026-52983: net: airoha: fix BQL imbalance in TX path
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
net: airoha: fix BQL imbalance in TX path
Fix a possible BQL imbalance in airoha_dev_xmit(), where inflight packets are accounted only for the AIROHA_NUM_TX_RING netdev TX queues. The queue index is computed as:
qid = skb_get_queue_mapping(skb) % ARRAY_SIZE(qdma->q_tx)
txq = netdev_get_tx_queue(dev, qid);However, airoha_qdma_tx_napi_poll() accounts completions across all netdev TX queues (num_tx_queues), leading to inconsistent BQL accounting.
Also reset all netdev TX queues in the ndo_stop callback.
The Linux kernel CVE team has assigned CVE-2026-52983 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.13 with commit 1d304174106c93ce05f6088813ad7203b3eb381a and fixed in 6.18.33 with commit aaad53a55812acd2355c0e5478896381e78b0110 Issue introduced in 6.13 with commit 1d304174106c93ce05f6088813ad7203b3eb381a and fixed in 7.0.10 with commit ded2694247a55a16d0ebbe2d6f9139305c21457a Issue introduced in 6.13 with commit 1d304174106c93ce05f6088813ad7203b3eb381a and fixed in 7.1 with commit 2d9f5a118205da2683ffcec78b9347f1f01a820e Issue introduced in 6.12.91 with commit ca24fcac1daaa5e8a667981d81986a3eb4b9fb04
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-52983
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/aaad53a55812acd2355c0e5478896381e78b0110 https://git.kernel.org/stable/c/ded2694247a55a16d0ebbe2d6f9139305c21457a https://git.kernel.org/stable/c/2d9f5a118205da2683ffcec78b9347f1f01a820e