Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 577C037C926 for ; Sat, 15 Aug 2026 06:29:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775352; cv=none; b=RefaoqiMuMYzuFX6RzCb1VLUuFmLw+UTXFBTbakaVqGSI9/VN/cNiwZhHlv8vxjou/aY4ArcAEkArSDb003geByprW9HmFeacs4uoR5MeH3RPMPnLnr9DvoIp1qoQFHXtbDfDbuAB2nbJ+KPH1gMHL6UlzJCPVlY7ybpp/+3IZc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775352; c=relaxed/simple; bh=JBIRChXBtfW9v02SWXCS4fEl0kv9g32h+WnutWlVxKg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IF2Ayi7HJw7mxxisgWNp1VWJU53ZtyT7wUCW61k3VtGCRxqCD2Esm/z2YtXGUDOQ2WdIKNixuwqv/JBY/0KgKkUkeuH4yGnJJCKR651iqvgsdhMs14HQD63S0aV/G8mocbrV9m+cN+/OKuSzx6SrDD08XLoCj2yHdXrn3Iv1hv0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=DojRI0q5; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="DojRI0q5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 90CE71F000E9; Sat, 15 Aug 2026 06:29:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775351; bh=XbH7agz8t2VVDmHVQo9dBISAh8JixAgPnoNNmqJWI6A=; h=From:To:Cc:Subject:Date:Reply-To; b=DojRI0q5BbhPwqs5wfLKrE/qEd3rOJDEzB85ab7RDSU9H+5gecTK4ImRA1F1Cx3pD NGsI3BnNlzKaljUN6Ondm/G5RFRofWX49kQBU57ZFyQm5lOyBVJAtqHWub5+Sf0xOH Gb2ieii2OEE6oB8iQYIvwZPnbNwQo8xTw7xG4vBw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72454: i3c: mipi-i3c-hci: Fix race in i3c_hci_addr_to_dev() Date: Sat, 15 Aug 2026 15:08:53 +0900 Message-ID: <2026081531-CVE-2026-72454-396b@gregkh> X-Mailer: git-send-email 2.55.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=3034; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5vIALNbysmnlvSISk0xjyAfkCkLrN0Gd68fRTMxJQD0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDD80cicpKnyTVVDo2//zyU/3zZoaot/X7rL3VGH6p WXpZL21I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbydC7D/KK+7LXOKW3BLJ8u G6ZKdk8tcdXxYFiwvN/UnUU/J9CjWru1zK/0suJDpXAA 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: i3c: mipi-i3c-hci: Fix race in i3c_hci_addr_to_dev() i3c_hci_addr_to_dev() walks bus->devs.i3c, which is protected by bus.lock (rwsem). However, it is invoked from the MIPI I3C HCI IRQ handler, which cannot take bus.lock. This allows concurrent device addition/removal in the I3C core to modify the list while it is being traversed, potentially leading to use-after-free or crashes. Remove the dependency on the bus device list and introduce a dedicated lookup table. Add an ibi_devs[] array indexed by DAT entry, maintained under hci->lock. Update the array when IBIs are enabled or disabled, so that it always reflects the set of devices allowed to generate IBIs. Also update when IBIs are freed, to cover the corner case when an IBI is freed without first being disabled (e.g. oldedev in i3c_master_add_i3c_dev_locked()). Move i3c_hci_addr_to_dev() into core.c, reimplement it using the new array, and add a lockdep assertion to enforce that hci->lock is held by callers. Demote a message in PIO and DMA IBI handling, from an error to a debug message, because there is a race window when the condition can arise normally. The Linux kernel CVE team has assigned CVE-2026-72454 to this issue. Affected and fixed versions =========================== Issue introduced in 5.11 with commit 9ad9a52cce2828d932ae9495181e3d6414f72c07 and fixed in 7.1.5 with commit 8f851cab401c28287d536b1347d76f6e219c0db6 Issue introduced in 5.11 with commit 9ad9a52cce2828d932ae9495181e3d6414f72c07 and fixed in 7.2-rc1 with commit 650716f23eac488c6696babdc7805f6a6b7427ad 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-72454 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/i3c/master/mipi-i3c-hci/core.c drivers/i3c/master/mipi-i3c-hci/dma.c drivers/i3c/master/mipi-i3c-hci/hci.h drivers/i3c/master/mipi-i3c-hci/ibi.h drivers/i3c/master/mipi-i3c-hci/pio.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/8f851cab401c28287d536b1347d76f6e219c0db6 https://git.kernel.org/stable/c/650716f23eac488c6696babdc7805f6a6b7427ad