summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMatheus Alves de Almeida <matheus.aalmeida@inf.ufrgs.br>2026-09-23 23:09:36 -0300
committerJiri Kosina <jkosina@suse.com>2026-10-16 12:05:17 +0200
commit2f985de0afbe9366af9d322ea20589712c1dc8fe (patch)
tree559306e14b6b4d7d49005ebe7e947df9fb23aafb /tools/perf/scripts/python
parent0be03caba6c002385e74d60be934b961aa5e88dc (diff)
HID: wacom: fix wacom_intuos_irq NULL pen_input deref
Currently, wacom_intuos_irq() passes the parent of wacom_wac's pen_input to the dev_dbg() in the unknown report path. However, pen_input can be NULL on interfaces without a pen, causing a NULL pointer dereference. Get the HID device from the enclosing struct wacom and use hid_dbg() instead. Fixes: eb71d1bb270e ("Input: wacom - use dev_xxx() instead of naked printk()s and dbg()s") Reported-by: syzbot+b5a7cd83622c747977de@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=b5a7cd83622c747977de Signed-off-by: Matheus Alves de Almeida <matheus.aalmeida@inf.ufrgs.br> Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions