Re: [PATCH] HID: wacom: fix wacom_intuos_irq NULL pen_input deref

From: Matheus Alves de Almeida

Date: Wed Oct 07 2026 - 23:35:37 EST


Em 2026-09-23 23:09, Matheus Alves de Almeida escreveu:
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@xxxxxxxxxxxxxxxxxxxxxxxxx
Closes: https://syzkaller.appspot.com/bug?extid=b5a7cd83622c747977de
Signed-off-by: Matheus Alves de Almeida <matheus.aalmeida@xxxxxxxxxxxx>

Hi,

Gentle ping on this. Has anyone been able to take a look at it yet?

Matheus