usb: chipidea: ci_hdrc_imx: fix usbmisc handling
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 74adad500346fb07d69af2c79acbff4adb061134 · < 4e28f79e3dffa52d327b46d1a78dac16efb5810b| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
usb: chipidea: ci_hdrc_imx: fix usbmisc handling
usbmisc is an optional device property so it is totally valid for the corresponding data->usbmisc_data to have a NULL value.
Check that before dereferencing the pointer.
Found by Linux Verification Center (linuxtesting.org) with Svace static analysis tool.
From the CVE record · Linux
The Linux kernel’s USB ChipIdea ci_hdrc_imx driver can dereference a NULL pointer when the optional usbmisc device property is absent. The input does not describe an attacker action or specify network access, authentication, or user-interaction conditions.
Engineers running Linux kernels with the USB ChipIdea ci_hdrc_imx driver should check their kernel version; affected versions are not specified in the input.