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 0B523436372 for ; Wed, 6 May 2026 11:33:56 +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=1778067236; cv=none; b=rgvJyXzTlZ1cQ9p5L4FAEhdcaPi7uYjzouGmcNAs3YUKPy0V6GO/Vo4fju2Ud5aw/33e9P/CePxuPSaeAZDDjZMnkN80zTiQkfUcMzjAwGmfkbyXqWwGdp1uS5n4JXqD7U5w2doQD8y/TeSVwgBd5WY/qacV1S0jykq6tIgiJUI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778067236; c=relaxed/simple; bh=MQXLqm8kjLQZb6E06mOfFVxn9W8/nA4eA5OTDWUz5Tw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XSaUv4TA2KC7Ojfmr8+ltdm3M4yxV4a9IWbF/u4QHNdrIh7DITA71VyFyW9jpKDOEif6RUa9enyoV1BT9UfjmhYPgXGLzjzaPhaW9EkY7m3xaT4Z8yxbhNC8kQxlS3kkGXvzWjJTOhxN30U16McY2/o3PuYpeb81zBIvWYiQHdA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=VnH409Q1; 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="VnH409Q1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8FBBFC2BCB8; Wed, 6 May 2026 11:33:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778067235; bh=MQXLqm8kjLQZb6E06mOfFVxn9W8/nA4eA5OTDWUz5Tw=; h=From:To:Cc:Subject:Date:Reply-To:From; b=VnH409Q17spyKVfA58fY+JPEITOkDsTPaL/M9EYPd4ZlgR5AiohIY7cdHZfUBjWd6 1RM7R8RLa/bmOGp5Kjk9zlygiJtsVrOg7H3QR8QEAaPeTlnoXZJXBCY1flL4+gF5LM i0NDVPEvuEj6l52oCVWWdcvejePAfnSc9jRLkrgQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43241: ntb: ntb_hw_switchtec: Fix array-index-out-of-bounds access Date: Wed, 6 May 2026 13:29:17 +0200 Message-ID: <2026050600-CVE-2026-43241-b0ad@gregkh> X-Mailer: git-send-email 2.54.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=2725; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=gkbQheYKb3M+VICeYOi/uHefetX9PPw5a35jPZ7OSE0=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/VQ8EsrvZR21Q8nqodFGrM/HStZoLEjbhJtyhgSo3X 3SlNb7qiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIlwhjHMsxY/NPfiRp1W6QfN N66tb53KvK1/HcNs1mnZ1t6ndDbu9Cpqu+u2OuCK9OZFAA== 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: ntb: ntb_hw_switchtec: Fix array-index-out-of-bounds access Number of MW LUTs depends on NTB configuration and can be set to MAX_MWS, This patch protects against invalid index out of bounds access to mw_sizes When invalid access print message to user that configuration is not valid. The Linux kernel CVE team has assigned CVE-2026-43241 to this issue. Affected and fixed versions =========================== Fixed in 5.10.252 with commit 348e1ac9ad983ed7e62de14e1daf47f1695a4ce9 Fixed in 5.15.202 with commit ee02c4f980c91820845dd8e469ec7dc670ab6d9d Fixed in 6.1.165 with commit 740945de896021b9a859e71f38f6aea72a6393cf Fixed in 6.6.128 with commit 85c9daa1f8319bbb3dfee71dc6a2f969cd3b4c92 Fixed in 6.12.75 with commit 0e930420945106151c6eb3d7837b4e6154e9b144 Fixed in 6.18.16 with commit 2346856b74823a2a78109002e479a3d02526a9ce Fixed in 6.19.6 with commit 47ce292dd45dc689747c40603222691638919189 Fixed in 7.0 with commit c8ba7ad2cc1c7b90570aa347b8ebbe279f1eface 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-43241 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/ntb/hw/mscc/ntb_hw_switchtec.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/348e1ac9ad983ed7e62de14e1daf47f1695a4ce9 https://git.kernel.org/stable/c/ee02c4f980c91820845dd8e469ec7dc670ab6d9d https://git.kernel.org/stable/c/740945de896021b9a859e71f38f6aea72a6393cf https://git.kernel.org/stable/c/85c9daa1f8319bbb3dfee71dc6a2f969cd3b4c92 https://git.kernel.org/stable/c/0e930420945106151c6eb3d7837b4e6154e9b144 https://git.kernel.org/stable/c/2346856b74823a2a78109002e479a3d02526a9ce https://git.kernel.org/stable/c/47ce292dd45dc689747c40603222691638919189 https://git.kernel.org/stable/c/c8ba7ad2cc1c7b90570aa347b8ebbe279f1eface