HID: i2c-hid-of: fix NULL-deref on failed power up
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:
HID: i2c-hid-of: fix NULL-deref on failed power up
A while back the I2C HID implementation was split in an ACPI and OF part, but the new OF driver never initialises the client pointer which is dereferenced on power-up failures.
From the CVE record · Linux
The Linux kernel’s I2C HID OF driver does not initialize a client pointer that it dereferences if power-up fails. This can cause a NULL-pointer dereference and crash; the input does not establish how an attacker could trigger the failure or whether authentication or user interaction is required.
Engineers running Linux kernels with the I2C HID OF driver should check their kernel version; affected versions are not specified.