i3c: renesas: Fix out-of-bounds access for newdevs mask
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s Renesas I3C controller driver can access data out of bounds when software initiates Dynamic Address Assignment on an empty I3C bus. The input does not specify how an attacker could trigger this condition, whether access or user interaction is required, or what further impact it could have.
Engineers running Linux kernels with the Renesas I3C controller driver should check their installations; affected versions are not specified.