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 79A4B308F1B for ; Thu, 18 Sep 2025 13:37:10 +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=1758202630; cv=none; b=mEbLE8y6mEzCzjtY4L6UKU3tKOrEavpwEXOuXvuFs/QtTxQ8i6eLRxEre2oiEWpcGFl5jPHxbVQKot861LJkPD2pzBNhE58HWxxJYV0nfzpK6PIoQtmbUVr85jhdg9dOgBjOxaXLaMluPEvukhBIFSoPnd3avEP5O1N+Kbu5CSA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758202630; c=relaxed/simple; bh=Ai0K/N5I3O7GhjZQHcmqhoD2SMW/FYnhNovP5cfc+Gw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EwMXLK9OdbKbkCXXksC24tCpUUn5PUqq1jPtI0tlfxiedzcFOSbHayeZ+dRQMAivnFNQrBDsW0L/FSU8rPcv1LpKqytDmFL03lVEXd5jmEg3PnWtuAauvkSqODc+E8Y66YfWhnT50JHby0DwpOiEf22d2/bsjtI9a6uDnQVJjNw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=e4uruZcT; 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="e4uruZcT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ED67AC4CEE7; Thu, 18 Sep 2025 13:37:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758202630; bh=Ai0K/N5I3O7GhjZQHcmqhoD2SMW/FYnhNovP5cfc+Gw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=e4uruZcTP8eTXfmS2U+JMenRLhCc+VIJylUT7aqg7EMiu7otTG/SxsiqBS7GaEL7x 75LNoAysuFEV9S+WxkRri4U+XjVzAcNwQxK19L+zpeo4SqzNGtCZd2aEK/fYEo24ae lk66GmBrPTwECkoPQM9EfIllwi3a01JK3o/Le4r8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53383: irqchip/gicv3: Workaround for NVIDIA erratum T241-FABRIC-4 Date: Thu, 18 Sep 2025 15:34:28 +0200 Message-ID: <2025091857-CVE-2023-53383-fea9@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=4204; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=TtXDPemXIBmK1jhdUMe40pM3qLvjmyURdBuk/jpkwr4=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlnuFwlX2xlCtXU/vT5QarLjGORuZ+z813+Bt2LiXq9O vjogmLvjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIoQKGecZXG0y5HA6v3iEm 9NVV89TVyTtb5jDM4bd6yCM/Z6lcz/W356IPn9v75OH2eAA= 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: irqchip/gicv3: Workaround for NVIDIA erratum T241-FABRIC-4 The T241 platform suffers from the T241-FABRIC-4 erratum which causes unexpected behavior in the GIC when multiple transactions are received simultaneously from different sources. This hardware issue impacts NVIDIA server platforms that use more than two T241 chips interconnected. Each chip has support for 320 {E}SPIs. This issue occurs when multiple packets from different GICs are incorrectly interleaved at the target chip. The erratum text below specifies exactly what can cause multiple transfer packets susceptible to interleaving and GIC state corruption. GIC state corruption can lead to a range of problems, including kernel panics, and unexpected behavior. >From the erratum text: "In some cases, inter-socket AXI4 Stream packets with multiple transfers, may be interleaved by the fabric when presented to ARM Generic Interrupt Controller. GIC expects all transfers of a packet to be delivered without any interleaving. The following GICv3 commands may result in multiple transfer packets over inter-socket AXI4 Stream interface: - Register reads from GICD_I* and GICD_N* - Register writes to 64-bit GICD registers other than GICD_IROUTERn* - ITS command MOVALL Multiple commands in GICv4+ utilize multiple transfer packets, including VMOVP, VMOVI, VMAPP, and 64-bit register accesses." This issue impacts system configurations with more than 2 sockets, that require multi-transfer packets to be sent over inter-socket AXI4 Stream interface between GIC instances on different sockets. GICv4 cannot be supported. GICv3 SW model can only be supported with the workaround. Single and Dual socket configurations are not impacted by this issue and support GICv3 and GICv4." Writing to the chip alias region of the GICD_In{E} registers except GICD_ICENABLERn has an equivalent effect as writing to the global distributor. The SPI interrupt deactivate path is not impacted by the erratum. To fix this problem, implement a workaround that ensures read accesses to the GICD_In{E} registers are directed to the chip that owns the SPI, and disable GICv4.x features. To simplify code changes, the gic_configure_irq() function uses the same alias region for both read and write operations to GICD_ICFGR. The Linux kernel CVE team has assigned CVE-2023-53383 to this issue. Affected and fixed versions =========================== Fixed in 6.1.30 with commit 86ba4f7b9f949e4c4bcb425f2a1ce490fea30df0 Fixed in 6.3.4 with commit 867a4f6cf1a8f511c06e131477988b3b3e7a0633 Fixed in 6.4 with commit 35727af2b15d98a2dd2811d631d3a3886111312e 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-53383 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: Documentation/arm64/silicon-errata.rst drivers/firmware/smccc/smccc.c drivers/firmware/smccc/soc_id.c drivers/irqchip/Kconfig drivers/irqchip/irq-gic-v3.c include/linux/arm-smccc.h 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/86ba4f7b9f949e4c4bcb425f2a1ce490fea30df0 https://git.kernel.org/stable/c/867a4f6cf1a8f511c06e131477988b3b3e7a0633 https://git.kernel.org/stable/c/35727af2b15d98a2dd2811d631d3a3886111312e