Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 AD21B26A09A for ; Fri, 9 May 2025 06:44:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746773053; cv=none; b=FldmfDR91dia3ah4NGJoNZ6otwxoaPuKNQ9ozry66LbL5Z83AY34iFx2CXjfeP4aw3RYAlhToDTAXIF0+MBMpZPq9O4aCMaaDyqsLegmX0nx/17UhOf08A4JVbz3ZAuxte0E/dUg1HQGuu6cDAb0caC0k9WmMqJ9Qd/A8zhEnm8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746773053; c=relaxed/simple; bh=Yb7/iF3wUoGOZQqrEYrf8L6QaiAOX6qx/N1Q9rdPxOo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=V9z2SSByQtp/VQ+zRcBd3hL4vd2v9oZj4o8GTGwpJ7sOdVYPsJEyWG8ulhewkApmHwQBko7rF9QOmM5gLgRaJV2vRwRm1Ei7O9jKFeiWHSlPsxY8jEXB7uTxcGhm1wH40g8HZG1tClFU0Td7BfZepn4acU9KT4EjI8NNU49l88k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=e2F9zaHU; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="e2F9zaHU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9D466C4CEE9; Fri, 9 May 2025 06:44:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746773053; bh=Yb7/iF3wUoGOZQqrEYrf8L6QaiAOX6qx/N1Q9rdPxOo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=e2F9zaHUio8LjntawyfLminLTz6M0RN8mCa9cseAKeAZTivbaP3mnskVpJpNIEodi TWgViCt/i6u1qlHVkDOirl0Yf2pC7Wo/QHhESNw/dcvwYceltw6cfyVTCE8AB1vIlY y69fm0+QALQdrPt9JyyEGHIt6H/Zg8SOVWcveJNc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37873: eth: bnxt: fix missing ring index trim on error path Date: Fri, 9 May 2025 08:44:07 +0200 Message-ID: <2025050900-CVE-2025-37873-c3aa@gregkh> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2178; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lEMH/DLKfQR+wFi+xKdGHJoFo2s+tmQDZXxnG58/bCU=; b=owGbwMvMwCRo6H6F97bub03G02pJDBmySwzmbSxu691q4jzxuIfZyxsV/dHbp5yKs7mpbJ4yn 0V0vmplRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExkWzLDgin5xz+mx128L3p9 V3/K+YcsbPdWnGKYHz+n7+pC0VaVu/NmpZ1qic3YdFbgMAA= 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: eth: bnxt: fix missing ring index trim on error path Commit under Fixes converted tx_prod to be free running but missed masking it on the Tx error path. This crashes on error conditions, for example when DMA mapping fails. The Linux kernel CVE team has assigned CVE-2025-37873 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit 6d1add95536bafe585c500ad8114af7ed4225a0f and fixed in 6.12.25 with commit 21e70f694bc0dcb40174b0940cc52a7769fc19e0 Issue introduced in 6.8 with commit 6d1add95536bafe585c500ad8114af7ed4225a0f and fixed in 6.14.4 with commit 3742c55de00266fa7c8fd2c5d61a453d223a9cd1 Issue introduced in 6.8 with commit 6d1add95536bafe585c500ad8114af7ed4225a0f and fixed in 6.15-rc3 with commit 12f2d033fae957d84c2c0ce604d2a077e61fa2c0 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-2025-37873 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/bnxt/bnxt.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/21e70f694bc0dcb40174b0940cc52a7769fc19e0 https://git.kernel.org/stable/c/3742c55de00266fa7c8fd2c5d61a453d223a9cd1 https://git.kernel.org/stable/c/12f2d033fae957d84c2c0ce604d2a077e61fa2c0