linux/drivers/hid/i2c-hid
Johan Hovold 62f5d219ed HID: i2c-hid-of: fix NULL-deref on failed power up
commit 00aab7dcb2 upstream.

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.

Fixes: b33752c300 ("HID: i2c-hid: Reorganize so ACPI and OF are separate modules")
Cc: stable@vger.kernel.org      # 5.12
Cc: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-02-23 08:55:03 +01:00
..
i2c-hid-acpi.c HID: i2c-hid-of: Expose the touchscreen-inverted properties 2022-01-27 11:04:41 +01:00
i2c-hid-core.c HID: retain initial quirks set up when creating HID devices 2023-03-10 09:39:29 +01:00
i2c-hid-dmi-quirks.c HID: retain initial quirks set up when creating HID devices 2023-03-10 09:39:29 +01:00
i2c-hid-of-goodix.c HID: i2c-hid: goodix: Fix a lockdep splat 2022-02-23 12:03:03 +01:00
i2c-hid-of.c HID: i2c-hid-of: fix NULL-deref on failed power up 2024-02-23 08:55:03 +01:00
i2c-hid.h HID: multitouch: Add quirks for flipped axes 2023-03-10 09:39:28 +01:00
Kconfig HID: i2c-hid: Introduce goodix-i2c-hid using i2c-hid core 2021-01-18 16:56:22 +01:00
Makefile HID: i2c-hid: Introduce goodix-i2c-hid using i2c-hid core 2021-01-18 16:56:22 +01:00