net: airoha: fix BQL imbalance in TX path
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.114, 6.18.33, 7.0.10
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From ca24fcac1daaa5e8a667981d81986a3eb4b9fb04 · fixed in fcd6a3bb48bb661876c2743e89f0a6567f5cea2c; From 1d304174106c93ce05f6088813ad7203b3eb381a · fixed in aaad53a55812acd2355c0e5478896381e78b0110; From 1d304174106c93ce05f6088813ad7203b3eb381a · fixed in ded2694247a55a16d0ebbe2d6f9139305c21457a; From 1d304174106c93ce05f6088813ad7203b3eb381a · fixed in 2d9f5a118205da2683ffcec78b9347f1f01a820e; From 6.12.91 · fixed in 6.12.114
- Linux Linux
6.13
- KernelLinux
fixed in 6.12.114; From 6.13.0 · fixed in 6.18.33; fixed in 7.0.10