aboutsummaryrefslogtreecommitdiff
path: root/sound/aoa/soundbus
diff options
context:
space:
mode:
authorPietro Borrello <borrello@diag.uniroma1.it>2023-02-12 19:00:03 +0000
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>2023-02-15 18:20:56 +0100
commit4ab3a086d10eeec1424f2e8a968827a6336203df (patch)
tree748e3e98df2c98c9d24c05cc3384bd4fa2b55c93 /sound/aoa/soundbus
parent315c537068a13f0b5681d33dd045a912f4bece6f (diff)
HID: asus: use spinlock to safely schedule workers
Use spinlocks to deal with workers introducing a wrapper asus_schedule_work(), and several spinlock checks. Otherwise, asus_kbd_backlight_set() may schedule led->work after the structure has been freed, causing a use-after-free. Fixes: af22a610bc38 ("HID: asus: support backlight on USB keyboards") Signed-off-by: Pietro Borrello <borrello@diag.uniroma1.it> Link: https://lore.kernel.org/r/20230125-hid-unregister-leds-v4-5-7860c5763c38@diag.uniroma1.it Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Diffstat (limited to 'sound/aoa/soundbus')
0 files changed, 0 insertions, 0 deletions