diff options
| author | Roderick Colenbrander <[email protected]> | 2017-02-25 00:14:15 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2017-03-06 13:43:16 +0000 |
| commit | a687c5765b5ae19fe559e14615ddc87ebb46d409 (patch) | |
| tree | 437a1d7ac9f5981b20f9869349f9a455873040cc /net/unix/af_unix.c | |
| parent | HID: chicony: Add support for another ASUS Zen AiO keyboard (diff) | |
| download | kernel-a687c5765b5ae19fe559e14615ddc87ebb46d409.tar.gz kernel-a687c5765b5ae19fe559e14615ddc87ebb46d409.zip | |
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.
[[email protected]: added stable annotation]
Fixes: ac797b95f532 ("HID: sony: Make the DS4 touchpad a separate device")
Cc: [email protected]
Signed-off-by: Roderick Colenbrander <[email protected]>
Reviewed-by: Benjamin Tissoires <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
