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 9B5C7155C82 for ; Wed, 16 Apr 2025 14:18:02 +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=1744813082; cv=none; b=Bzx/Qm/c7OhyTeuL6jyRsatTVDAIgrJS9lRN7MSLJNB4ZBOeX8fqrXML+L549JgCYCxowvciDrSnRrJaoS+6hfFeYvjbHfKMGbE11qsrcc8tQff4JmbT5cnFnc03Z+pX95B7Iy35E7P/jYAzw1bgqR9hEiqrn2S9Uo/w2CQU3LM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744813082; c=relaxed/simple; bh=lkx/Hb2yEqgF75XCCn1kYVmOwpr7vxaetrTsPDK3neQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dzMV+IdywHWNFJRnJ2rPdGoc00LHRSSJ40pzD9BO/3Cv4ekDV04185kvRrdgEuc33MORDTkraSVQGOgBj8DpSjUn/cVe1G3c3eSaVhG5uUfAGPhBQd/vI2RiYThxeqfMcbnWa67ZjccxVeHlo4DMzoZknsq2k1hpxUnBsFEvt2I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=z9mDd2ZE; 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="z9mDd2ZE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0546BC4CEE2; Wed, 16 Apr 2025 14:18:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744813082; bh=lkx/Hb2yEqgF75XCCn1kYVmOwpr7vxaetrTsPDK3neQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=z9mDd2ZE86G7G7RlgrRhtWClQnIcmpINPahsGIERrTVGHK7wvkAdBiesUC0fREAF+ UWJcKJRwsGDxSqOWyRr3NrkkgA/t8lBLVl/i70Xp5Gy+rVST2T6YEfJEvuQD4Q7FFL eu7DLe2PcGbanTceOLLh/qHOXONO7GL3PkSNpWYQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-22112: eth: bnxt: fix out-of-range access of vnic_info array Date: Wed, 16 Apr 2025 16:13:23 +0200 Message-ID: <2025041624-CVE-2025-22112-845f@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=2102; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lkx/Hb2yEqgF75XCCn1kYVmOwpr7vxaetrTsPDK3neQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn/d538d+DA7Ps+b93ltjn++M9iEnRj3sItof8rJma+E W1cXei7tSOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmoqDDMIeLNW2O0iXB03PL rTv69x1/vsdfuophfnrDng88+5USTNJbzFJ2xb/rLfuSCwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: eth: bnxt: fix out-of-range access of vnic_info array The bnxt_queue_{start | stop}() access vnic_info as much as allocated, which indicates bp->nr_vnics. So, it should not reach bp->vnic_info[bp->nr_vnics]. The Linux kernel CVE team has assigned CVE-2025-22112 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit 661958552eda5bf64bfafb4821cbdded935f1f68 and fixed in 6.14.2 with commit b1e081d331ab3a0dea25425f2b6ddeb365fc9d22 Issue introduced in 6.14 with commit 661958552eda5bf64bfafb4821cbdded935f1f68 and fixed in 6.15-rc1 with commit 919f9f497dbcee75d487400e8f9815b74a6a37df Issue introduced in 6.12.20 with commit a6604717850e4c0fe39bd6084cfbc1bfc445d2b5 Issue introduced in 6.13.8 with commit b730dcab64d5f113af347cf8de696dab6ce88542 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-22112 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/b1e081d331ab3a0dea25425f2b6ddeb365fc9d22 https://git.kernel.org/stable/c/919f9f497dbcee75d487400e8f9815b74a6a37df