Thread (4 messages) 4 messages, 3 authors, 2017-03-06

Re: [PATCH v2] HID: sony: Fix input device leak when connecting a DS4 twice using USB/BT

From: Jiri Kosina <jikos@kernel.org>
Date: 2017-03-06 15:57:17

On Fri, 24 Feb 2017, Roderick Colenbrander wrote:
From: Roderick Colenbrander <roderick.colenbrander@sony.com>

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.

Fixes: ac797b95f532 ("HID: sony: Make the DS4 touchpad a separate device")
Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com>
I've added -stable anotation and applied to for-4.11/upstream-fixes. 
Thanks,

-- 
Jiri Kosina
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help