summaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.com>2026-06-12 18:48:22 +0300
committerJiri Kosina <jkosina@suse.com>2026-06-15 15:57:04 +0300
commit6df6b1f2c49678211f65647c300bc51dda02893b (patch)
treef2d8f9f80523a134932f4004a98d114078310fa3 /include/linux/workqueue.h
parentb7799c3b6aa8f08dd9918eb4637af4ac21cf90f2 (diff)
downloadlinux-6df6b1f2c49678211f65647c300bc51dda02893b.tar.xz
HID: hidpp: fix potential UAF in hidpp_connect_event()
If input_register_device() fails, we call input_free_device(), but keep stale pointer to the old device in hidpp->input, which could potentially lead to UAF. Fix that by resetting it to NULL before returning from hidpp_connect_event(). Reported-by: zdi-disclosures@trendmicro.com Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions