diff options
| author | Dmitriy Geels <dmitriy.geels@gmail.com> | 2026-08-24 19:37:18 +0200 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.com> | 2026-10-16 12:00:34 +0200 |
| commit | 0be03caba6c002385e74d60be934b961aa5e88dc (patch) | |
| tree | 4afe9edfe5b8ddb78a4cf17d4d3307afcc16c0db /tools/perf/scripts/python/stackcollapse.py | |
| parent | 4563e596bd913fb2d5b10b2ef306c754cf97ced2 (diff) | |
HID: logitech-hidpp: cancel reset_hi_res_work on probe failure
The probe error path cancels hidpp->work before freeing the HID++ device
data, but does not cancel reset_hi_res_work.
reset_hi_res_work can be scheduled while probing the device. If probe
subsequently fails, the work can run after the driver data has been
freed.
Cancel reset_hi_res_work in the probe error path to prevent a potential
use-after-free.
Fixes: ed80cc4667ac ("HID: logitech-hidpp: Add HIDPP_QUIRK_RESET_HI_RES_SCROLL")
Signed-off-by: Dmitriy Geels <dmitriy.geels@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
