# CVE-2026-93202: i3c: master: Fix recursive locking during device registration

- Severity: not scored yet
- 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.17%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-09-17T16:12:23.071Z
- Modified: 2026-12-01T07:17:18.830Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

i3c: master: Fix recursive locking during device registration

i3c_master_register_new_i3c_devs() registers newly discovered devices
while holding i3c_bus_normaluse_lock(), a down_read().  device_register()
can immediately probe the device, and probe callbacks typically invoke
I3C helpers that take i3c_bus_normaluse_lock() again, leading to a
recursive acquisition of the same rwsem.  rwsems do not support recursive
read locking and can deadlock when a writer is waiting.  See the
"Recursive read locks" section of Documentation/locking/lockdep-design.rst.

For example, with Intel LPSS I3C, LOCKDEP generates a WARNING like:
  # echo intel-lpss-i3c.0 > /sys/bus/platform/drivers/mipi-i3c-hci/unbind
  # echo intel-lpss-i3c.0 > /sys/bus/platform/drivers/mipi-i3c-hci/bind
  WARNING: possible recursive locking detected
  kworker/5:1/94 is trying to acquire lock:
  ffff88811c810d78 (&i3cbus->lock){++++}-{4:4}, at: i3c_device_match_id+0x45/0x370
  but task is already holding lock:
  ffff88811c810d78 (&i3cbus->lock){++++}-{4:4}, at: i3c_master_reg_work_fn+0x21/0x5f0

Fix this by separating device creation from device registration.
Populate desc->dev under the maintenance lock, collect the devices that
still need registration into a local list, then release the lock before
calling device_register().  Finally retake the lock and clean up any
devices that failed to register.

Use the maintenance lock rather than the normal-use lock while adding
device objects.  A write-side maintenance lock prevents readers from
observing a partially initialized desc->dev during initial device
population, or desc->dev disappearing if registration fails.

The local list requires a list node, so add a list node member to struct
i3c_device.

(As written by CVE List.)

## Affected

- Linux Linux: from 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0 before c46b1e20b2ca5d065f0e545ca2cee295643484da; from 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0 before c66133fe1bfb9a6a3b6d2a1b4b0757f44cdab9c5; from 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0 before 015fcf330c29803bbf92b719b4889ba74ecbbc71; from 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0 before 6640f778aa3d430e67171f8d17fe4a35bb44b578; from 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0 before 0200dc55e68cc0177b6e60919de415cc96fdd4e1; from 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0 before b25232f66e8cd653d0c6bfdbe534e62a2f9d6a1b; from 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0 before 9dc73c51ed3ee965c3ddb0ac31cf5c3eea68fa0c; from 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0 before 456f832e5fc26fbfd3b8200fd4553eee520cc377; 5.0 (not affected: before 5.0; from 5.10.276 up to 5.10.*; from 5.15.227 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.114 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/c46b1e20b2ca5d065f0e545ca2cee295643484da>
- <https://git.kernel.org/stable/c/c66133fe1bfb9a6a3b6d2a1b4b0757f44cdab9c5>
- <https://git.kernel.org/stable/c/015fcf330c29803bbf92b719b4889ba74ecbbc71>
- <https://git.kernel.org/stable/c/6640f778aa3d430e67171f8d17fe4a35bb44b578>
- <https://git.kernel.org/stable/c/0200dc55e68cc0177b6e60919de415cc96fdd4e1>
- <https://git.kernel.org/stable/c/b25232f66e8cd653d0c6bfdbe534e62a2f9d6a1b>
- <https://git.kernel.org/stable/c/9dc73c51ed3ee965c3ddb0ac31cf5c3eea68fa0c>
- <https://git.kernel.org/stable/c/456f832e5fc26fbfd3b8200fd4553eee520cc377>

## Sources

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

---

Page: https://cve.day/CVE-2026-93202 · Whole record: https://cve.day/CVE-2026-93202.json · Rebuilt by cve.day 2026-12-01T07:32:20.038Z
