Re: [PATCH v2 0/5] HID: manually unregister leds on device removal to prevent UAFs

From: Lee Jones
Date: Tue Jan 31 2023 - 12:20:40 EST


> To: Jiri Kosina <jikos@xxxxxxxxxx>
> To: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>
> To: Hanno Zulla <kontakt@xxxxxxxx>
> To: Pavel Machek <pavel@xxxxxx>
> To: Lee Jones <lee@xxxxxxxxxx>

Not entirely sure why I'm receiving these?

> To: Roderick Colenbrander <roderick.colenbrander@xxxxxxxx>
> To: Sven Eckelmann <sven@xxxxxxxxxxxxx>
> Cc: linux-leds@xxxxxxxxxxxxxxx
> Cc: Cristiano Giuffrida <c.giuffrida@xxxxx>
> Cc: "Bos, H.J." <h.j.bos@xxxxx>
> Cc: Jakob Koschel <jkl820.git@xxxxxxxxx>
> Cc: linux-input@xxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Cc: Jiri Kosina <jkosina@xxxxxxx>
> Cc: Roderick Colenbrander <roderick@xxxxxxxxxx>
> Signed-off-by: Pietro Borrello <borrello@xxxxxxxxxxxxxxxx>
>
> ---
> Changes in v2:
> - dualshock4: Clarify UAF
> - dualsense: Clarify UAF
> - dualsense: Unregister multicolor led controller
> - Link to v1: https://lore.kernel.org/r/20230125-hid-unregister-leds-v1-0-9a5192dcef16@xxxxxxxxxxxxxxxx
>
> ---
> Pietro Borrello (5):
> HID: bigben_remove: manually unregister leds
> HID: asus_remove: manually unregister led
> HID: dualsense_remove: manually unregister leds
> HID: dualshock4_remove: manually unregister leds
> HID: sony_remove: manually unregister leds
>
> drivers/hid/hid-asus.c | 1 +
> drivers/hid/hid-bigbenff.c | 5 +++++
> drivers/hid/hid-playstation.c | 10 ++++++++++
> drivers/hid/hid-sony.c | 8 ++++++++
> 4 files changed, 24 insertions(+)
> ---
> base-commit: 2241ab53cbb5cdb08a6b2d4688feb13971058f65
> change-id: 20230125-hid-unregister-leds-4cbf67099e1d
>
> Best regards,
> --
> Pietro Borrello <borrello@xxxxxxxxxxxxxxxx>

--
Lee Jones [李琼斯]