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 3B13A48987E for ; Fri, 25 Sep 2026 10:34:34 +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=1790332476; cv=none; b=FKvtiFUSIybk/BDzDhS/mTA9dulO3ffwYPRYSOe4ObxW7OZ0kDSDaMn0HkIiFILWZea6QcGpvY0z/hTq42OMMabxAa4gjl3zwU8uk0oWLeeX4WA/cdNgxV+ER4hCVhx4HEVEQeZtGFkw89R6/nxnWUfGG1eoyxlTnRxyossNgys= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332476; c=relaxed/simple; bh=svuCGVvsYoRBDdJNRX1YLyFDFcyJcQxW5XzwQTcjCms=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XyMlF4QKDKACQmtkH/i0BF1f+QrBYKoIWVtZor7Ygmykc0idZE727q1xlHcryxoAmnz7KnEsVumYQkjIiokl1gwedW5rT3ySJmI3fVhCm9s2wmG74Yya6Z/CtzZoi9007A7yM/kD58MsKdnNInv/N4fhbSzLLYQ0SlUtu8hiDJM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=lgBtuDYy; 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="lgBtuDYy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4D7001F000FF; Fri, 25 Sep 2026 10:34:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332474; bh=ftjo/0DBLaVaMwi2D1ENFUnSX6/mYAYc39MLZF6mXCs=; h=From:To:Cc:Subject:Date:Reply-To; b=lgBtuDYytwhDiXUrm7d9DRelkl0CpraixoNgCaD9+259R0S8FvAR4U/P8RBm18aK9 urnLHCXWqbvuwr1RVxjlqoX+YyFabTrhplCSXQDag/4CqaZZg1HZTwaY+z4U5dvdDV EjZ+5kngghB9uAefrIdi013GRETcVmZrZ3dzAkyE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98051: net: bcmasp: fix tx_spb_ring_full() checking same slot cnt times Date: Fri, 25 Sep 2026 12:25:53 +0200 Message-ID: <2026092532-CVE-2026-98051-0b6f@gregkh> X-Mailer: git-send-email 2.55.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=2616; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Mlmznzwdgj8PbG0jdih2Z90vODX9fENoD6HLZBPn5uU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvDPMPKw5OT77avke1tr8d9r1X4o7Nk3a9flI77TOS 2XcqY8XdcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBETNsYFkx4syRMc/mGL0uO sERPXrCrsYVl/SmGBTsds1XqhNfM/V8/WXzX7K9ezcZPXQA= 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: bcmasp: fix tx_spb_ring_full() checking same slot cnt times The loop initialised next_index from intf->tx_spb_index on every iteration, so incr_ring() always produced the same result and only one slot was ever tested. Move the initialisation before the loop so each iteration advances next_index and the function correctly checks that cnt consecutive descriptor slots are available before allowing a new transmission. The Linux kernel CVE team has assigned CVE-2026-98051 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit 490cb412007de593e07c1d3e2b1ec4233886707c and fixed in 6.12.111 with commit f7f7a16dd46ace4e221336a184c7806f7de19547 Issue introduced in 6.6 with commit 490cb412007de593e07c1d3e2b1ec4233886707c and fixed in 6.18.53 with commit a8bddab54aa68b407f12294acb05bd552fb6a492 Issue introduced in 6.6 with commit 490cb412007de593e07c1d3e2b1ec4233886707c and fixed in 7.2.7 with commit 5df7ecd302488287665ab9767bacba7ed7e2842f Issue introduced in 6.6 with commit 490cb412007de593e07c1d3e2b1ec4233886707c and fixed in 7.3-rc3 with commit 0c5cf62e72d7a666ee4da757e122dc1600df1ecc 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-98051 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/broadcom/asp2/bcmasp_intf.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/f7f7a16dd46ace4e221336a184c7806f7de19547 https://git.kernel.org/stable/c/a8bddab54aa68b407f12294acb05bd552fb6a492 https://git.kernel.org/stable/c/5df7ecd302488287665ab9767bacba7ed7e2842f https://git.kernel.org/stable/c/0c5cf62e72d7a666ee4da757e122dc1600df1ecc