general protection fault in wacom_report_numbered_buttons

Status: upstream: reported C repro on 2026/09/25 03:12
Subsystems: input
Labels: prio:high
[Documentation on labels]
Reported-by: syzbot+ae7f998154426e723cbf@syzkaller.appspotmail.com
First crash: 17h17m, last: 16h24m
▶ ▼ ✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
53684276 assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ✅ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ general protection fault in wacom_report_numbered_buttons 2026/09/25 00:22 2026/09/25 00:22 2026/09/25 00:58 3c3cdf19
▶ ▼ Discussions (2)
Title Replies (including bot) Last reply
[PATCH] HID: wacom: check for NULL pad_input before reporting pad events 1 (1) 2026/09/25 05:53
[syzbot] [input?] general protection fault in wacom_report_numbered_buttons 0 (1) 2026/09/25 03:12

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc000000006c: 0000 [#1] SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000360-0x0000000000000367]
CPU: 2 UID: 0 PID: 6256 Comm: syz.0.237 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:dev_get_drvdata include/linux/device.h:991 [inline]
RIP: 0010:input_get_drvdata include/linux/input.h:396 [inline]
RIP: 0010:wacom_report_numbered_buttons+0x37/0x210 drivers/hid/wacom_wac.c:4225
Code: f5 53 48 89 fb 48 83 ec 10 48 89 3c 24 e8 71 92 f1 f8 48 8d bb 60 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 b7 01 00 00 48 8b 04 24 4c 8b a0 60 03 00 00 49
RSP: 0018:ffffc90027b5f9a0 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 000000000000006c RSI: ffffffff891a901f RDI: 0000000000000360
RBP: 0000000000000008 R08: 0000000000000005 R09: 000000000000001f
R10: 0000000000000008 R11: 0000000000000000 R12: 0000000000000000
R13: 00000000000002a8 R14: 0000000000000000 R15: 0000000000000000
FS:  000055558f635500(0000) GS:ffff8880d5d53000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001000 CR3: 000000003797a000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 wacom_intuos_pad drivers/hid/wacom_wac.c:643 [inline]
 wacom_intuos_irq+0x2f8/0x3430 drivers/hid/wacom_wac.c:1042
 wacom_bpt_irq drivers/hid/wacom_wac.c:3290 [inline]
 wacom_wac_irq+0x196b/0xab80 drivers/hid/wacom_wac.c:3560
 wacom_raw_event+0x6bb/0xba0 drivers/hid/wacom_sys.c:183
 __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+0xb6b/0x10e0 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_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f6e4899e159
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffee1ed0688 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f6e48c25fa0 RCX: 00007f6e4899e159
RDX: 0000000000000010 RSI: 0000200000000300 RDI: 0000000000000003
RBP: 00007f6e48a3506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6e48c25fac R14: 00007f6e48c25fa0 R15: 00007f6e48c25fa0
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:dev_get_drvdata include/linux/device.h:991 [inline]
RIP: 0010:input_get_drvdata include/linux/input.h:396 [inline]
RIP: 0010:wacom_report_numbered_buttons+0x37/0x210 drivers/hid/wacom_wac.c:4225
Code: f5 53 48 89 fb 48 83 ec 10 48 89 3c 24 e8 71 92 f1 f8 48 8d bb 60 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 b7 01 00 00 48 8b 04 24 4c 8b a0 60 03 00 00 49
RSP: 0018:ffffc90027b5f9a0 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 000000000000006c RSI: ffffffff891a901f RDI: 0000000000000360
RBP: 0000000000000008 R08: 0000000000000005 R09: 000000000000001f
R10: 0000000000000008 R11: 0000000000000000 R12: 0000000000000000
R13: 00000000000002a8 R14: 0000000000000000 R15: 0000000000000000
FS:  000055558f635500(0000) GS:ffff8880d5d53000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001000 CR3: 000000003797a000 CR4: 0000000000352ef0
----------------
Code disassembly (best guess):
   0:	f5                   	cmc
   1:	53                   	push   %rbx
   2:	48 89 fb             	mov    %rdi,%rbx
   5:	48 83 ec 10          	sub    $0x10,%rsp
   9:	48 89 3c 24          	mov    %rdi,(%rsp)
   d:	e8 71 92 f1 f8       	call   0xf8f19283
  12:	48 8d bb 60 03 00 00 	lea    0x360(%rbx),%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 b7 01 00 00    	jne    0x1eb
  34:	48 8b 04 24          	mov    (%rsp),%rax
  38:	4c 8b a0 60 03 00 00 	mov    0x360(%rax),%r12
  3f:	49                   	rex.WB

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/24 13:45 upstream 62f4c998b297 3c3cdf19 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in wacom_report_numbered_buttons
2026/09/24 13:17 upstream 62f4c998b297 3c3cdf19 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in wacom_report_numbered_buttons
2026/09/24 12:53 upstream 62f4c998b297 3c3cdf19 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in wacom_report_numbered_buttons
* Struck through repros no longer work on HEAD.