general protection fault in roccat_open

Status: premoderation: reported on 2026/11/21 00:33
Reported-by: syzbot+9d11115e0e1ffb8aa16e@syzkaller.appspotmail.com
First crash: 5d20h, last: 5d20h
▶ ▼ Similar bugs (4)
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 22d 39d 0/2 upstream: reported C repro on 2026/10/18 00:30
android-6-1 general protection fault in roccat_open 2 5 10d 12d 0/2 premoderation: reported on 2026/11/14 14:31
android-5-10 KASAN: use-after-free Write in roccat_open 22 syz, C 2 11d 85d 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 69d 91d 20/30 upstream: reported C repro on 2026/08/27 06:31

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc000000038b: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: probably user-memory-access in range [0x0000000000001c58-0x0000000000001c5f]
CPU: 1 UID: 0 PID: 2317 Comm: syz.5.860 Not tainted syzkaller #0 4116ed80f8a8099c8b0dfa0b446918293c1cc65c
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:hid_hw_power include/linux/hid.h:1174 [inline]
RIP: 0010:roccat_open+0x17f/0x670 drivers/hid/hid-roccat.c:173
Code: 42 80 3c 28 00 74 08 4c 89 ff e8 bc 55 b5 fd 4d 8b 2f 4d 8d b5 58 1c 00 00 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 f7 e8 93 55 b5 fd 4d 8b 36 49 83 c6 20 4c
RSP: 0018:ffffc9000786f738 EFLAGS: 00010206
RAX: 000000000000038b RBX: ffff8881188c9080 RCX: dffffc0000000000
RDX: ffff88811af52780 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000786f790 R08: ffffc9000786f6c7 R09: 1ffff92000f0ded8
R10: dffffc0000000000 R11: fffff52000f0ded9 R12: ffff88811b69a400
R13: 0000000000000000 R14: 0000000000001c58 R15: ffff88811b69a430
FS:  00007fa8fd1a16c0(0000) GS:ffff8881f6d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2ff1eff8 CR3: 000000012fde0000 CR4: 00000000003526b0
Call Trace:
 <TASK>
 chrdev_open+0x4eb/0x610 fs/char_dev.c:414
 do_dentry_open+0x97f/0x1510 fs/open.c:954
 vfs_open+0x86/0x240 fs/open.c:1086
 do_open fs/namei.c:3782 [inline]
 path_openat+0x2c49/0x35a0 fs/namei.c:3941
 do_filp_open+0x1f2/0x440 fs/namei.c:3968
 do_sys_openat2+0x134/0x1d0 fs/open.c:1434
 do_sys_open fs/open.c:1449 [inline]
 __do_sys_openat fs/open.c:1465 [inline]
 __se_sys_openat fs/open.c:1460 [inline]
 __x64_sys_openat+0x13a/0x170 fs/open.c:1460
 x64_sys_call+0xe69/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:258
 do_syscall_x64 arch/x86/entry/common.c:47 [inline]
 do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7fa8fc3a9559
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:00007fa8fd1a1028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fa8fc625fa0 RCX: 00007fa8fc3a9559
RDX: 0000000000000002 RSI: 0000200000000180 RDI: ffffffffffffff9c
RBP: 00007fa8fc438136 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa8fc626038 R14: 00007fa8fc625fa0 R15: 00007fff70a94c38
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:hid_hw_power include/linux/hid.h:1174 [inline]
RIP: 0010:roccat_open+0x17f/0x670 drivers/hid/hid-roccat.c:173
Code: 42 80 3c 28 00 74 08 4c 89 ff e8 bc 55 b5 fd 4d 8b 2f 4d 8d b5 58 1c 00 00 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 f7 e8 93 55 b5 fd 4d 8b 36 49 83 c6 20 4c
RSP: 0018:ffffc9000786f738 EFLAGS: 00010206
RAX: 000000000000038b RBX: ffff8881188c9080 RCX: dffffc0000000000
RDX: ffff88811af52780 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000786f790 R08: ffffc9000786f6c7 R09: 1ffff92000f0ded8
R10: dffffc0000000000 R11: fffff52000f0ded9 R12: ffff88811b69a400
R13: 0000000000000000 R14: 0000000000001c58 R15: ffff88811b69a430
FS:  00007fa8fd1a16c0(0000) GS:ffff8881f6d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcb9b625f88 CR3: 000000012fde0000 CR4: 00000000003526b0
----------------
Code disassembly (best guess):
   0:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1)
   5:	74 08                	je     0xf
   7:	4c 89 ff             	mov    %r15,%rdi
   a:	e8 bc 55 b5 fd       	call   0xfdb555cb
   f:	4d 8b 2f             	mov    (%r15),%r13
  12:	4d 8d b5 58 1c 00 00 	lea    0x1c58(%r13),%r14
  19:	4c 89 f0             	mov    %r14,%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 f7             	mov    %r14,%rdi
  33:	e8 93 55 b5 fd       	call   0xfdb555cb
  38:	4d 8b 36             	mov    (%r14),%r14
  3b:	49 83 c6 20          	add    $0x20,%r14
  3f:	4c                   	rex.WR

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/21 00:32 android16-6.12 5a4bc6ba92fa b2c69459 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in roccat_open
* Struck through repros no longer work on HEAD.