From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1A42B30E84D for ; Wed, 24 Jun 2026 16:33:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782318810; cv=none; b=T9E3WqXqYvbtjr/CGBvkmzKdha03WoVU5sk99GD56NklCap3MM0nxdcNRuDJ7VDBhBLfGWXYdcIEPT71gQym0SId5oD4E6gXH2ejGWgthG7n1KH67/qFl+FXhBbXoaRiO5nCnSNJqRvyZNlV1AZ3rlDyphn02v9gFS/4/i+7QN4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782318810; c=relaxed/simple; bh=QdV03h+TVeBgVseGRb5KgPsFh2DmWdHt7wAXS87R88I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GVB6c8gE6s7jLGsP5juZjKmB84XbasOFOOYtAW18i5PMAV193L97miDT6mIeQtNPqMo9b7zBf5ZTzm3bETbZskdZN1yrXjuIBwJst8cnGbbuRPCwxhzt4mFvEnYU2T7HcASHKr5z0OxBrWRW9ktjpSmLWDwYou6r1RdInF+tcDY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FODRMna4; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="FODRMna4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 10E4E1F000E9; Wed, 24 Jun 2026 16:33:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782318808; bh=xwDcNqTqxpbFY33SWOui6sCmK7S1HDTwYBywJNH88rg=; h=From:To:Cc:Subject:Date:Reply-To; b=FODRMna47UhulgT1/2Iz426xREn2c6Vr74W2JNfSMrlMvW1JIjRsP/kBF2W4HZiQb fPJgWg1PS2DSsT3JUx7z65oL9dMynfp9qgHACnW+LMAdi73uvkBGJuPkz7NvX8A7N9 CFXqi22i/12LQTnIfrx3vYHvpIkFkL/94+8g7kxk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-52983: net: airoha: fix BQL imbalance in TX path Date: Wed, 24 Jun 2026 17:30:07 +0100 Message-ID: <2026062442-CVE-2026-52983-ceac@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2562; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lR6m4w+YA9Ekg6zKu0UA2CDT0m9jQ3J4jzLefPgo7Z4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2rN9yvy/QFz/+t6d6V9HWkrPSRpEbcr0aGwM481Ljb zw49lijI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACaSNJlhfn5fsEz0Zkl1QV2z mnith4tWG1z/yLCgQftN2PsGtRMZHZPW7jU5E7B2zdx6AA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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