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 C3D812E62B4 for ; Tue, 7 Oct 2025 15:26:05 +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=1759850765; cv=none; b=AyjzxS64DaO5e9ri3lvtUDd1zkgZi3/ZT6+r8URmHDDl5CbqkQfTI0l4od/YRNTnGyU9vyAXaV+Se9khuQrD1CwCnBDyKaIrkRnxysIP1NYW3nYMDtnVpgMNt6IOt2/zApCrGoAxXL7a+IyG7dEP+kTZWL/FJ+LCZ/shfrzDqwk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759850765; c=relaxed/simple; bh=lmMXO6bGAf5mLmRvpTgT70l7IdO50GvSxkkHJcu5RDs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LBOMCi666ykSsstb2z8Bj5Mt7a9uHEoYY0ahWPT16v76eWkOxPRvdWld7ysr2EBdcZPDTVhm1vycGN5pmLUA2dPnxM9W6eTmrtArf32Rd/fd31D/hTW/tER/MLlSsX4vVMeHaBX6/+B8kFBdA6rAt78DfgyucFWYdhhQ7rBIa5o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=JsyhXVzu; 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="JsyhXVzu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4DF63C4CEF1; Tue, 7 Oct 2025 15:26:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759850765; bh=lmMXO6bGAf5mLmRvpTgT70l7IdO50GvSxkkHJcu5RDs=; h=From:To:Cc:Subject:Date:Reply-to:From; b=JsyhXVzu2UBW5NwMgFTof4IIaO6deoI920rMEE00Leb1YTGG6xjajO2r8xhB+EWHD dK35Pfhp4fxdBgpKLXtfBHWeJHt8QJnOnj64sISiUc+/E25GR+e8FeSPeg25Ofkzsr YvgWtCFIIF5PDunaNGsXzk38RAzgL+yDhp3QEOrk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53661: bnxt: avoid overflow in bnxt_get_nvram_directory() Date: Tue, 7 Oct 2025 17:21:20 +0200 Message-ID: <2025100702-CVE-2023-53661-6142@gregkh> X-Mailer: git-send-email 2.51.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=2227; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=EngY8o+wwkuUnZWrI6TfrkPXB77jCmUJrR0A1LBOTBs=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlP9e+tNDf5Xvl0062F5kK/imdcsF2qKzvTUD6lUlhz3 emGuOjCjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI7gKG+QWTH9749/orC8uD 9VJhchn/3A6X32JYsJpNeuJ2puRjUVM2ZdntzGJfaSCnAwA= 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: bnxt: avoid overflow in bnxt_get_nvram_directory() The value of an arithmetic expression is subject of possible overflow due to a failure to cast operands to a larger data type before performing arithmetic. Used macro for multiplication instead operator for avoiding overflow. Found by Security Code and Linux Verification Center (linuxtesting.org) with SVACE. The Linux kernel CVE team has assigned CVE-2023-53661 to this issue. Affected and fixed versions =========================== Fixed in 5.15.113 with commit d5eaf2a6b077f32a477feb1e9e1c1f60605b460e Fixed in 6.1.30 with commit efb1a257513438d43f4335f09b2f684e8167cad2 Fixed in 6.3.4 with commit 17e0453a7523ad7a25bb47af941b150a6c66d7b6 Fixed in 6.4 with commit 7c6dddc239abe660598c49ec95ea0ed6399a4b2a 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-2023-53661 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_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/d5eaf2a6b077f32a477feb1e9e1c1f60605b460e https://git.kernel.org/stable/c/efb1a257513438d43f4335f09b2f684e8167cad2 https://git.kernel.org/stable/c/17e0453a7523ad7a25bb47af941b150a6c66d7b6 https://git.kernel.org/stable/c/7c6dddc239abe660598c49ec95ea0ed6399a4b2a