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 49542318144 for ; Wed, 14 Jan 2026 15:08:28 +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=1768403308; cv=none; b=XEDiQePHMxKRy3YVYFD3XppIQ5++jrZWU7rhpnWBnHPpB//OxThQrvxmcDajp30Okq6g1AQjTibuTOUJfthUFh+ild8n857bt8EMiyZIwTSDpElAuDOdpqbLVstkY8WzCtStImzaCzaajv0icfDYvgE8OelQPiwiDEjdSoMQ/ow= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768403308; c=relaxed/simple; bh=RcH52fuj6EtX7q1+o3tDTURAIUf1NUaVCqP8mYMPDA4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=G15eXHF5vtlWRVc/gae6xnlhNplsVlIjz2pZrFHDply5Q6uAzzkxO1JJAqH3e4aA/8cgV9Mf1AO5hBOI3dwrJDKZRDcljhEqBQLuP6i0wVPqOrhXU7BVlL68U/RLF+tEndhS+mdLtC/7xJPUM3k9j6s4mJkLX4s/TcFHaEdgejY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=V8irEd8F; 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="V8irEd8F" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86C35C4CEF7; Wed, 14 Jan 2026 15:08:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768403307; bh=RcH52fuj6EtX7q1+o3tDTURAIUf1NUaVCqP8mYMPDA4=; h=From:To:Cc:Subject:Date:Reply-To:From; b=V8irEd8FOC8M4LuFlA8C7Vw4hsl2Cy02u5h6RihyMoDT8LZ9fifYQBpr0ySXZG+TE g1EU3Q1knU4KOpTPNnU1B2NBxVWD6iJhFd5QX+LmMKnFCi+SDeBsomJ9pNM0FVvZxC jkAznz01ezO8siyYdN72wA/BPkNvzFAqpbpqgEUc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71137: octeontx2-pf: fix "UBSAN: shift-out-of-bounds error" Date: Wed, 14 Jan 2026 16:08:01 +0100 Message-ID: <2026011454-CVE-2025-71137-6471@gregkh> X-Mailer: git-send-email 2.52.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=2678; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=C5jfVjUORMUIs+qcUnjucuD2cEhiJyNqpGl2mU2Ufjo=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnpG72S/ianOW7d95bBW8ZcJ7Myk2X552WbguT+M6RaS Sz73FHUEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABOJnsqwoK0w4uuq0LdavbPS poQqXimSWfLQlmG+/5/9RS8O3DA3SIq4WffCgjfYddYzAA== 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: octeontx2-pf: fix "UBSAN: shift-out-of-bounds error" This patch ensures that the RX ring size (rx_pending) is not set below the permitted length. This avoids UBSAN shift-out-of-bounds errors when users passes small or zero ring sizes via ethtool -G. The Linux kernel CVE team has assigned CVE-2025-71137 to this issue. Affected and fixed versions =========================== Issue introduced in 5.6 with commit d45d8979840d9c9ac93d3fe8cfc8e794b7228445 and fixed in 6.1.160 with commit 658caf3b8aad65f8b8e102670ca4f68c7030f655 Issue introduced in 5.6 with commit d45d8979840d9c9ac93d3fe8cfc8e794b7228445 and fixed in 6.6.120 with commit b23a2e15589466a027c9baa3fb5813c9f6a6c6dc Issue introduced in 5.6 with commit d45d8979840d9c9ac93d3fe8cfc8e794b7228445 and fixed in 6.12.64 with commit aa743b0d98448282b2cb37356db8db2a48524624 Issue introduced in 5.6 with commit d45d8979840d9c9ac93d3fe8cfc8e794b7228445 and fixed in 6.18.4 with commit 442848e457f5a9f71a4e7e14d24d73dae278ebe3 Issue introduced in 5.6 with commit d45d8979840d9c9ac93d3fe8cfc8e794b7228445 and fixed in 6.19-rc4 with commit 85f4b0c650d9f9db10bda8d3acfa1af83bf78cf7 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-71137 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/marvell/octeontx2/nic/otx2_ethtool.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/658caf3b8aad65f8b8e102670ca4f68c7030f655 https://git.kernel.org/stable/c/b23a2e15589466a027c9baa3fb5813c9f6a6c6dc https://git.kernel.org/stable/c/aa743b0d98448282b2cb37356db8db2a48524624 https://git.kernel.org/stable/c/442848e457f5a9f71a4e7e14d24d73dae278ebe3 https://git.kernel.org/stable/c/85f4b0c650d9f9db10bda8d3acfa1af83bf78cf7