# CVE-2026-72454: i3c: mipi-i3c-hci: Fix race in i3c_hci_addr_to_dev()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-08-15T05:57:01.558Z
- Modified: 2026-10-15T11:17:43.930Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 9ad9a52cce2828d932ae9495181e3d6414f72c07 before 308d7951ca221e8c8896b563c4e98d28a4400f2e; from 9ad9a52cce2828d932ae9495181e3d6414f72c07 before 8f851cab401c28287d536b1347d76f6e219c0db6; from 9ad9a52cce2828d932ae9495181e3d6414f72c07 before 650716f23eac488c6696babdc7805f6a6b7427ad; 5.11 (not affected: before 5.11; from 6.18.57 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/308d7951ca221e8c8896b563c4e98d28a4400f2e>
- <https://git.kernel.org/stable/c/8f851cab401c28287d536b1347d76f6e219c0db6>
- <https://git.kernel.org/stable/c/650716f23eac488c6696babdc7805f6a6b7427ad>

## Sources

- CVE List: [CVE-2026-72454](https://www.cve.org/CVERecord?id=CVE-2026-72454), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2026-72454](https://nvd.nist.gov/vuln/detail/CVE-2026-72454), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-72454 · Whole record: https://cve.day/CVE-2026-72454.json · Rebuilt by cve.day 2026-11-25T22:59:33.128Z
