{"id":"CVE-2026-52983","state":"PUBLISHED","title":"net: airoha: fix BQL imbalance in TX path","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: airoha: fix BQL imbalance in TX path\n\nFix a possible BQL imbalance in airoha_dev_xmit(), where inflight\npackets are accounted only for the AIROHA_NUM_TX_RING netdev TX\nqueues. The queue index is computed as:\n\n    qid = skb_get_queue_mapping(skb) % ARRAY_SIZE(qdma->q_tx)\n    txq = netdev_get_tx_queue(dev, qid);\n\nHowever, airoha_qdma_tx_napi_poll() accounts completions across all\nnetdev TX queues (num_tx_queues), leading to inconsistent BQL\naccounting.\n\nAlso reset all netdev TX queues in the ndo_stop callback.","publishedAt":"2026-06-24T16:28:58.437Z","updatedAt":"2026-10-21T12:41:43.028Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ca24fcac1daaa5e8a667981d81986a3eb4b9fb04","status":"affected","lessThan":"fcd6a3bb48bb661876c2743e89f0a6567f5cea2c","versionType":"git"},{"version":"1d304174106c93ce05f6088813ad7203b3eb381a","status":"affected","lessThan":"aaad53a55812acd2355c0e5478896381e78b0110","versionType":"git"},{"version":"1d304174106c93ce05f6088813ad7203b3eb381a","status":"affected","lessThan":"ded2694247a55a16d0ebbe2d6f9139305c21457a","versionType":"git"},{"version":"1d304174106c93ce05f6088813ad7203b3eb381a","status":"affected","lessThan":"2d9f5a118205da2683ffcec78b9347f1f01a820e","versionType":"git"},{"version":"6.12.91","status":"affected","lessThan":"6.12.114","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/airoha/airoha_eth.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.13","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.33","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.10","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/airoha/airoha_eth.c"]}],"references":["https://git.kernel.org/stable/c/fcd6a3bb48bb661876c2743e89f0a6567f5cea2c","https://git.kernel.org/stable/c/aaad53a55812acd2355c0e5478896381e78b0110","https://git.kernel.org/stable/c/ded2694247a55a16d0ebbe2d6f9139305c21457a","https://git.kernel.org/stable/c/2d9f5a118205da2683ffcec78b9347f1f01a820e"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/52xxx/CVE-2026-52983.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-52983","state":"PUBLISHED","datePublished":"2026-06-24T16:28:58.437Z","dateUpdated":"2026-10-21T12:41:43.028Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-06-09T07:44:35.376Z"},"containers":{"cna":{"title":"net: airoha: fix BQL imbalance in TX path","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: airoha: fix BQL imbalance in TX path\n\nFix a possible BQL imbalance in airoha_dev_xmit(), where inflight\npackets are accounted only for the AIROHA_NUM_TX_RING netdev TX\nqueues. The queue index is computed as:\n\n    qid = skb_get_queue_mapping(skb) % ARRAY_SIZE(qdma->q_tx)\n    txq = netdev_get_tx_queue(dev, qid);\n\nHowever, airoha_qdma_tx_napi_poll() accounts completions across all\nnetdev TX queues (num_tx_queues), leading to inconsistent BQL\naccounting.\n\nAlso reset all netdev TX queues in the ndo_stop callback."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ca24fcac1daaa5e8a667981d81986a3eb4b9fb04","status":"affected","lessThan":"fcd6a3bb48bb661876c2743e89f0a6567f5cea2c","versionType":"git"},{"version":"1d304174106c93ce05f6088813ad7203b3eb381a","status":"affected","lessThan":"aaad53a55812acd2355c0e5478896381e78b0110","versionType":"git"},{"version":"1d304174106c93ce05f6088813ad7203b3eb381a","status":"affected","lessThan":"ded2694247a55a16d0ebbe2d6f9139305c21457a","versionType":"git"},{"version":"1d304174106c93ce05f6088813ad7203b3eb381a","status":"affected","lessThan":"2d9f5a118205da2683ffcec78b9347f1f01a820e","versionType":"git"},{"version":"6.12.91","status":"affected","lessThan":"6.12.114","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/airoha/airoha_eth.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.13","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.33","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.10","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/airoha/airoha_eth.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/fcd6a3bb48bb661876c2743e89f0a6567f5cea2c"},{"url":"https://git.kernel.org/stable/c/aaad53a55812acd2355c0e5478896381e78b0110"},{"url":"https://git.kernel.org/stable/c/ded2694247a55a16d0ebbe2d6f9139305c21457a"},{"url":"https://git.kernel.org/stable/c/2d9f5a118205da2683ffcec78b9347f1f01a820e"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - The vulnerable path is the Airoha Ethernet transmit path, and in a reasonable router/gateway or server deployment remote unauthenticated traffic can be forwarded or elicit responses transmitted through the affected interface.\nAC:L - Once HTB offload/extra TX queues are present, packets mapped to those queues deterministically create mismatched BQL accounting and the TX completion path reaches dql_completed(); no race or hard-to-win condition is required.\nPR:N - The attacker does not need credentials to send or induce network traffic through the configured interface; CAP_NET_ADMIN is only needed to create the traffic-shaping setup and may already be present in the deployed system.\nUI:N - No victim interaction is required after the affected network interface and queue configuration are active.\nS:U - The impact remains within the Linux kernel/network device security authority and does not cross a VM, IOMMU, or other separate security boundary.\nC:N - The bug is a BQL accounting mismatch that triggers a BUG_ON in dql_completed, not a memory disclosure or memory corruption primitive.\nI:N - The investigated path does not provide arbitrary write, data modification, or control-flow corruption; it fails through a kernel assertion.\nA:H - The mismatched completion accounting can trigger a kernel BUG/oops in the TX completion path, causing a system crash or denial of service."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-21T12:41:43.028Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.91","versionEndExcluding":"6.12.114"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.18.33"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"7.0.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}