13 Sep, 2013
2 commits
-
If tpkbd_probe_tp() bails out, the probe() function return an error,
but hid_hw_stop() is never called.fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=1003998Cc: stable@vger.kernel.org
Signed-off-by: Benjamin Tissoires
Signed-off-by: Jiri Kosina -
A HID device could send a malicious output report that would cause the
lenovo-tpkbd HID driver to write just beyond the output report allocation
during initialization, causing a heap overflow:[ 76.109807] usb 1-1: New USB device found, idVendor=17ef, idProduct=6009
...
[ 80.462540] BUG kmalloc-192 (Tainted: G W ): Redzone overwrittenCVE-2013-2894
Signed-off-by: Kees Cook
Cc: stable@vger.kernel.org
Signed-off-by: Benjamin Tissoires
Signed-off-by: Jiri Kosina
30 Apr, 2013
1 commit
-
Conflicts:
drivers/hid/Kconfig
05 Apr, 2013
1 commit
-
In pointer_press_speed_show, we do
data_pointer = hid_get_drvdata(hdev);
twice in a row. Remove one of those.Signed-off-by: Jiri Slaby
Signed-off-by: Jiri Kosina
25 Feb, 2013
1 commit
-
This allows the hid drivers to be independent from the transport layer.
The patch was constructed by replacing all occurences of
usbhid_submit_report() by its hid_hw_request() counterpart.
Then, drivers not requiring USB_HID anymore have their USB_HID
dependency cleaned in the Kconfig file.Finally, few drivers still depends on USB_HID. Many of them
are requiring the io wait callback. They are found in the next patch.Signed-off-by: Benjamin Tissoires
Reviewed-by: Mika WesterbergFor the sensor-hub part:
Tested-by: Mika Westerberg
Signed-off-by: Jiri Kosina
03 Jan, 2013
1 commit
-
Use the new module_hid_driver macro in all HID drivers that have
a simple register/unregister init/exit.This also converts the hid drivers that test for a failure of
hid_register_driver() and report the failure. Using module_hid_driver
in those drivers removes the failure message.Signed-off-by: H Hartley Sweeten
Signed-off-by: Jiri Kosina
01 Oct, 2012
1 commit
-
Conflicts:
drivers/hid/usbhid/hid-quirks.c
22 Sep, 2012
1 commit
-
We need to kfree names for led_mute and led_micmute in tpkbd_remove_tp().
Signed-off-by: Axel Lin
Acked-by: Bernhard Seibold
Signed-off-by: Jiri Kosina
17 Sep, 2012
1 commit
-
container_of() never returns NULL, thus also remove the NULL checking for it.
Signed-off-by: Axel Lin
Signed-off-by: Jiri Kosina
08 Jun, 2012
1 commit
-
This driver for the "Lenovo ThinkPad USB Keyboard with Trackpoint" supports
setting various device attributes, controlling mute and microphone mute
LEDs and enables use of the microphone mute key.Signed-off-by: Bernhard Seibold
Signed-off-by: Jiri Kosina