general protection fault in roccat_open

Status: premoderation: reported on 2026/11/14 14:31
Reported-by: syzbot+d0a526cbf2e23a118047@syzkaller.appspotmail.com
First crash: 4d18h, last: 2d15h
▶ ▼ Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 KASAN: use-after-free Write in roccat_open 22 syz, C 3 15d 32d 0/2 upstream: reported C repro on 2026/10/18 00:30
android-5-10 KASAN: use-after-free Write in roccat_open 22 syz, C 2 4d01h 78d 0/2 upstream: reported C repro on 2026/09/02 07:33
upstream KASAN: slab-use-after-free Read in roccat_open prio:high input usb 19 syz, C 2 61d 84d 2/29 upstream: reported C repro on 2026/08/27 06:31

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc000000038c: 0000 [#1] PREEMPT SMP KASAN
KASAN: probably user-memory-access in range [0x0000000000001c60-0x0000000000001c67]
CPU: 1 PID: 2779 Comm: syz.6.680 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:hid_hw_power include/linux/hid.h:1141 [inline]
RIP: 0010:roccat_open+0x181/0x5b0 drivers/hid/hid-roccat.c:173
Code: 42 80 3c 28 00 74 08 4c 89 f7 e8 7a f4 04 fe 4d 8b 2e 4d 8d bd 60 1c 00 00 4c 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 ff e8 51 f4 04 fe 4d 8b 3f 49 83 c7 20 4c
RSP: 0018:ffffc90000b17798 EFLAGS: 00010202
RAX: 000000000000038c RBX: ffff88811f62a480 RCX: dffffc0000000000
RDX: ffff8881137cbcc0 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000b177f0 R08: ffffc90000b17727 R09: 1ffff92000162ee4
R10: dffffc0000000000 R11: fffff52000162ee5 R12: ffff8881263a3800
R13: 0000000000000000 R14: ffff8881263a3830 R15: 0000000000001c60
FS:  00007fcf896336c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33115ff8 CR3: 0000000116332000 CR4: 00000000003506a0
Call Trace:
 <TASK>
 chrdev_open+0x593/0x600 fs/char_dev.c:414
 do_dentry_open+0x885/0x11f0 fs/open.c:884
 vfs_open+0x73/0x80 fs/open.c:1017
 do_open fs/namei.c:3633 [inline]
 path_openat+0x2699/0x2f30 fs/namei.c:3790
 do_filp_open+0x1ee/0x420 fs/namei.c:3817
 do_sys_openat2+0x15e/0x820 fs/open.c:1343
 do_sys_open fs/open.c:1359 [inline]
 __do_sys_openat fs/open.c:1375 [inline]
 __se_sys_openat fs/open.c:1370 [inline]
 __x64_sys_openat+0x136/0x160 fs/open.c:1370
 x64_sys_call+0x783/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:258
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fcf887a94d9
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:00007fcf89633028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fcf88a25fa0 RCX: 00007fcf887a94d9
RDX: 0000000000000002 RSI: 00002000000005c0 RDI: ffffffffffffff9c
RBP: 00007fcf8883804e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fcf88a26038 R14: 00007fcf88a25fa0 R15: 00007fff4d482118
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:hid_hw_power include/linux/hid.h:1141 [inline]
RIP: 0010:roccat_open+0x181/0x5b0 drivers/hid/hid-roccat.c:173
Code: 42 80 3c 28 00 74 08 4c 89 f7 e8 7a f4 04 fe 4d 8b 2e 4d 8d bd 60 1c 00 00 4c 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 ff e8 51 f4 04 fe 4d 8b 3f 49 83 c7 20 4c
RSP: 0018:ffffc90000b17798 EFLAGS: 00010202
RAX: 000000000000038c RBX: ffff88811f62a480 RCX: dffffc0000000000
RDX: ffff8881137cbcc0 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000b177f0 R08: ffffc90000b17727 R09: 1ffff92000162ee4
R10: dffffc0000000000 R11: fffff52000162ee5 R12: ffff8881263a3800
R13: 0000000000000000 R14: ffff8881263a3830 R15: 0000000000001c60
FS:  00007fcf896336c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c2f6744 CR3: 0000000116332000 CR4: 00000000003506b0
----------------
Code disassembly (best guess):
   0:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1)
   5:	74 08                	je     0xf
   7:	4c 89 f7             	mov    %r14,%rdi
   a:	e8 7a f4 04 fe       	call   0xfe04f489
   f:	4d 8b 2e             	mov    (%r14),%r13
  12:	4d 8d bd 60 1c 00 00 	lea    0x1c60(%r13),%r15
  19:	4c 89 f8             	mov    %r15,%rax
  1c:	48 c1 e8 03          	shr    $0x3,%rax
  20:	48 b9 00 00 00 00 00 	movabs $0xdffffc0000000000,%rcx
  27:	fc ff df
* 2a:	80 3c 08 00          	cmpb   $0x0,(%rax,%rcx,1) <-- trapping instruction
  2e:	74 08                	je     0x38
  30:	4c 89 ff             	mov    %r15,%rdi
  33:	e8 51 f4 04 fe       	call   0xfe04f489
  38:	4d 8b 3f             	mov    (%r15),%r15
  3b:	49 83 c7 20          	add    $0x20,%r15
  3f:	4c                   	rex.WR

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/16 17:37 android14-6.1 c1e1dfc6e051 31830773 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in roccat_open
2026/11/16 11:30 android14-6.1 c1e1dfc6e051 31830773 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in roccat_open
2026/11/16 11:24 android14-6.1 c1e1dfc6e051 31830773 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in roccat_open
2026/11/16 11:13 android14-6.1 c1e1dfc6e051 31830773 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in roccat_open
2026/11/14 14:30 android14-6.1 c1e1dfc6e051 819ebe34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in roccat_open
* Struck through repros no longer work on HEAD.