syzbot
general protection fault in wacom_intuos_irq
Status:
upstream: reported C repro on 2026/09/23 19:17
Subsystems:
input
Labels:
prio:high
[Documentation on labels]
Reported-by: syzbot+b5a7cd83622c747977de@syzkaller.appspotmail.com
First crash: 4d09h, last: 1d05h
Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000065: 0000 [#1] SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000328-0x000000000000032f]
CPU: 0 UID: 0 PID: 6729 Comm: syz-executor606 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:wacom_intuos_irq+0x62b/0x3430 drivers/hid/wacom_wac.c:1036
Code: c3 cc cc cc cc e8 25 81 f3 f8 48 8b 04 24 44 0f b6 c5 48 8d b8 28 03 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 d4 27 00 00 48 8b 04 24 48 c7 c7 78 ea 3e 91 48
RSP: 0018:ffffc90006fcf9e0 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: ffff8880574900ae RCX: 0000000000000000
RDX: 0000000000000065 RSI: ffffffff8917e0ab RDI: 0000000000000328
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000011
R10: 0000000000000000 R11: 0000000000000000 R12: 000000000000000a
R13: ffff88804f755048 R14: 0000000000000000 R15: 0000000000000021
FS: 0000000000000000(0000) GS:ffff888096960000(0063) knlGS:0000000057c2a3c0
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000004c95e000 CR4: 0000000000352ef0
Call Trace:
<TASK>
wacom_bpt_irq drivers/hid/wacom_wac.c:3290 [inline]
wacom_wac_irq+0x196b/0xab80 drivers/hid/wacom_wac.c:3560
wacom_raw_event+0x6db/0xbf0 drivers/hid/wacom_sys.c:182
__hid_input_report.constprop.0+0x319/0x470 drivers/hid/hid-core.c:2175
uhid_dev_input2 drivers/hid/uhid.c:609 [inline]
uhid_char_write+0x9dc/0xfe0 drivers/hid/uhid.c:767
vfs_write+0x2aa/0x1050 fs/read_write.c:685
ksys_write+0x1f8/0x250 fs/read_write.c:739
do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:79 [inline]
__do_fast_syscall_32+0x13a/0x8b0 arch/x86/entry/syscall_32.c:291
do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:316
entry_SYSENTER_compat_after_hwframe+0x84/0x8e
RIP: 0023:0xf7e60fec
Code: Unable to access opcode bytes at 0xf7e60fc2.
RSP: 002b:00000000ff8b597c EFLAGS: 00000213 ORIG_RAX: 0000000000000004
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000080000300
RDX: 0000000000000010 RSI: 00000000000000a2 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:wacom_intuos_irq+0x62b/0x3430 drivers/hid/wacom_wac.c:1036
Code: c3 cc cc cc cc e8 25 81 f3 f8 48 8b 04 24 44 0f b6 c5 48 8d b8 28 03 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 d4 27 00 00 48 8b 04 24 48 c7 c7 78 ea 3e 91 48
RSP: 0018:ffffc90006fcf9e0 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: ffff8880574900ae RCX: 0000000000000000
RDX: 0000000000000065 RSI: ffffffff8917e0ab RDI: 0000000000000328
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000011
R10: 0000000000000000 R11: 0000000000000000 R12: 000000000000000a
R13: ffff88804f755048 R14: 0000000000000000 R15: 0000000000000021
FS: 0000000000000000(0000) GS:ffff888096960000(0063) knlGS:0000000057c2a3c0
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 00000000f7e61000 CR3: 000000004c95e000 CR4: 0000000000352ef0
----------------
Code disassembly (best guess):
0: c3 ret
1: cc int3
2: cc int3
3: cc int3
4: cc int3
5: e8 25 81 f3 f8 call 0xf8f3812f
a: 48 8b 04 24 mov (%rsp),%rax
e: 44 0f b6 c5 movzbl %bpl,%r8d
12: 48 8d b8 28 03 00 00 lea 0x328(%rax),%rdi
19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
20: fc ff df
23: 48 89 fa mov %rdi,%rdx
26: 48 c1 ea 03 shr $0x3,%rdx
* 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction
2e: 0f 85 d4 27 00 00 jne 0x2808
34: 48 8b 04 24 mov (%rsp),%rax
38: 48 c7 c7 78 ea 3e 91 mov $0xffffffff913eea78,%rdi
3f: 48 rex.W
* Struck through repros no longer work on HEAD.