Roderick Colenbrander
a687c5765b
HID: sony: Fix input device leak when connecting a DS4 twice using USB/BT
...
When a user connects a DS4 twice using USB and BT, we reject the
second device connection after the setup work. We then perform
a cleanup, but during cleanup we are not removing the touchpad
device. This leads to leakage of an input device, which we would
never remove. It can likely result into a kernel oops as well
when the touchpad evdev node is accessed and the underlaying HID
device has been removed from the system.
[jkosina@suse.cz: added stable annotation]
Fixes: ac797b95f532 ("HID: sony: Make the DS4 touchpad a separate device")
Cc: stable@vger.kernel.org
Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2017-03-06 14:43:16 +01:00
..
2017-02-20 16:42:43 -08:00
2017-01-06 15:45:32 -05:00
2016-12-24 11:46:01 -08:00
2017-01-11 09:27:30 +01:00
2017-02-20 10:52:23 -08:00
2017-01-17 14:23:44 +02:00
2017-02-20 13:23:30 -08:00
2016-12-16 10:24:44 -08:00
2016-12-25 10:47:44 +01:00
2016-12-24 11:46:01 -08:00
2017-02-08 18:06:03 -08:00
2017-01-21 18:46:45 -08:00
2017-02-20 10:06:32 -08:00
2017-02-20 12:52:55 -08:00
2016-12-24 11:46:01 -08:00
2017-02-06 14:16:23 -08:00
2016-12-18 15:49:10 -08:00
2017-01-03 00:21:45 +01:00
2016-12-24 11:46:01 -08:00
2017-02-10 15:13:10 +01:00
2017-02-20 12:47:44 -08:00
2017-01-11 09:11:39 +01:00
2017-02-07 10:42:11 +01:00
2016-11-29 15:51:49 -06:00
2017-01-19 09:57:20 +01:00
2017-02-20 13:23:30 -08:00
2017-03-06 14:43:16 +01:00
2017-01-31 10:59:48 +01:00
2017-02-16 06:49:05 -08:00
2016-12-25 10:47:44 +01:00
2017-02-14 22:10:26 +01:00
2016-12-24 11:46:01 -08:00
2016-12-13 10:41:53 -08:00
2017-01-22 13:35:40 +00:00
2017-02-20 13:23:30 -08:00
2017-02-12 18:36:49 -08:00
2017-02-10 15:13:10 +01:00
2017-02-20 16:42:43 -08:00
2017-02-01 09:13:50 +01:00
2016-12-25 10:47:44 +01:00
2016-12-24 11:46:01 -08:00
2016-12-13 12:11:01 -08:00
2017-02-01 09:13:47 +01:00
2016-12-25 17:21:22 +01:00
2017-02-20 13:23:30 -08:00
2017-02-16 10:22:41 -08:00
2016-11-30 14:58:00 +01:00
2017-01-24 16:26:14 -08:00
2016-12-24 11:46:01 -08:00
2017-01-03 17:34:16 +00:00
2017-02-20 13:23:30 -08:00
2017-02-14 08:50:10 +01:00
2017-02-10 11:20:22 -08:00
2017-02-17 15:32:06 -05:00
2017-02-16 23:11:26 -05:00
2016-12-24 11:46:01 -08:00
2017-02-04 14:47:31 -08:00
2017-01-26 17:49:14 +02:00
2017-01-04 18:22:47 +01:00
2016-12-15 12:46:48 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2017-01-28 21:54:21 +01:00
2017-02-20 13:23:30 -08:00
2016-12-12 18:55:06 -08:00
2016-12-25 10:47:44 +01:00
2016-12-14 10:49:33 -08:00
2017-01-30 15:53:57 +01:00
2017-02-20 16:26:57 -08:00
2016-12-24 11:46:01 -08:00
2017-01-29 23:15:18 +01:00
2016-11-30 23:41:33 +01:00
2016-12-12 19:56:15 -08:00
2016-12-15 11:45:13 -08:00
2017-02-03 13:46:38 -08:00
2016-12-30 03:26:31 -08:00
2017-02-17 08:11:47 +01:00
2016-12-30 03:12:11 -08:00
2017-01-26 23:03:21 +01:00
2017-02-11 09:01:03 -08:00
2016-12-24 11:46:01 -08:00
2017-02-20 13:23:30 -08:00
2016-12-12 18:55:08 -08:00
2017-01-12 13:37:49 -08:00
2017-02-10 10:05:51 -08:00
2017-02-20 13:23:30 -08:00
2017-02-20 13:23:30 -08:00
2017-01-25 09:51:08 +08:00
2016-12-13 12:11:01 -08:00
2017-02-20 13:23:30 -08:00
2016-12-10 14:57:58 +01:00
2017-02-20 13:23:30 -08:00
2017-02-20 16:42:43 -08:00
2017-02-03 23:38:57 +02:00
2017-01-24 16:26:14 -08:00
2017-02-03 23:38:50 +02:00
2017-01-11 10:42:16 +01:00
2016-12-24 11:27:45 -08:00
2017-01-27 12:17:07 -08:00
2016-12-24 11:46:01 -08:00