CVE-2026-89728: i3c: renesas: Fix out-of-bounds access for newdevs mask
In the Linux kernel, the following vulnerability has been resolved:
i3c: renesas: Fix out-of-bounds access for newdevs mask
When software initiates DAA (Dynamic Address Assignment), the controller reports the result via the NRSPQP (Normal Response Queue Port Register). The data length field of the response descriptor, which is accessible through the NRSPQP register, indicates the number of devices remaining after DAA. Consequently, when the bus is empty, this field contains the maximum number of devices supported by the controller (8 for the Renesas I3C controller).
Adjust the condition that computes the newly discovered devices bitmask to prevent an out-of-bounds when the I3C bus is empty.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Update the i3c renesas logic for the newly discovered devices bitmask (newdevs mask) to account for the I3C bus being empty; use the number of remaining devices reported via NRSPQP (Normal Response Queue Port Register) and cap/guard the mask computation to the controller’s maximum supported devices (8 for the Renesas controller) to prevent out-of-bounds access.
Linux kernel i3c-renesas driver condition that computes the newly discovered devices bitmask (newdevs mask) = Add/adjust the bus-empty handling so devices remaining from NRSPQP does not cause an out-of-bounds when computing the mask
Event History
Frequently Asked Questions
When can this out-of-bounds access occur?
It can occur when software initiates Dynamic Address Assignment on an empty I3C bus. In that case, the controller reports its maximum supported device count, which is 8 for the Renesas I3C controller, in the response descriptor data-length field.
Which systems are exposed to this condition?
Systems using the Renesas I3C controller and initiating Dynamic Address Assignment are affected by the described condition. The problematic case specifically requires that the I3C bus be empty when DAA is performed.