i3c: master: mipi-i3c-hci: Fix a kernel panic for accessing DAT_data.
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
i3c: master: mipi-i3c-hci: Fix a kernel panic for accessing DAT_data.
The `i3c_master_bus_init` function may attach the I2C devices before the I3C bus initialization. In this flow, the DAT `alloc_entry`` will be used before the DAT `init`. Additionally, if the `i3c_master_bus_init` fails, the DAT `cleanup` will execute before the device is detached, which will execue DAT `free_entry` function. The above scenario can cause the driver to use DAT_data when it is NULL.
From the CVE record · Linux
The Linux kernel’s mipi-i3c-hci driver can access NULL DAT_data when I2C devices are attached before I3C bus initialization or when initialization fails and cleanup runs before device detachment. This can cause a kernel panic. The input does not identify an attacker path or specify network access, authentication, or user-interaction requirements.
Engineers running Linux kernels with the mipi-i3c-hci driver should check their versions; affected versions are not specified.