syzbot


general protection fault in steam_send_report

Status: premoderation: reported on 2024/09/12 20:59
Reported-by: syzbot+47345381d0af4f75ce44@syzkaller.appspotmail.com
First crash: 69d, last: 69d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 general protection fault in steam_send_report 2 56d 70d 0/2 premoderation: reported on 2024/09/11 17:55

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000213: 0000 [#1] PREEMPT SMP KASAN
KASAN: probably user-memory-access in range [0x0000000000001098-0x000000000000109f]
CPU: 1 PID: 8036 Comm: syz.2.2196 Tainted: G        W         5.10.225-syzkaller-00513-g8d23314f588a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:steam_send_report+0x66/0x330 drivers/hid/hid-steam.c:172
Code: 80 3c 18 00 74 12 4c 89 ef e8 96 74 1f fe 48 ba 00 00 00 00 00 fc ff df 4d 8b 7d 00 49 8d 9f 98 10 00 00 48 89 d8 48 c1 e8 03 <80> 3c 10 00 74 12 48 89 df e8 6c 74 1f fe 48 ba 00 00 00 00 00 fc
RSP: 0018:ffffc90000be75c8 EFLAGS: 00010202
RAX: 0000000000000213 RBX: 0000000000001098 RCX: 0000000000040000
RDX: dffffc0000000000 RSI: 000000000000057d RDI: 000000000000057e
RBP: ffffc90000be7610 R08: ffffffff83890441 R09: fffff5200017ceb5
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000be7640
R13: ffff8881272e7430 R14: ffff8881272e7440 R15: 0000000000000000
FS:  00007fb1eda146c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c2fc99b CR3: 000000012aaa2000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 steam_send_report_byte drivers/hid/hid-steam.c:212 [inline]
 steam_set_lizard_mode drivers/hid/hid-steam.c:285 [inline]
 steam_input_open+0x108/0x1a0 drivers/hid/hid-steam.c:299
 input_open_device+0x151/0x2a0 drivers/input/input.c:635
 evdev_open_device drivers/input/evdev.c:400 [inline]
 evdev_open+0x3a5/0x5c0 drivers/input/evdev.c:487
 chrdev_open+0x4f7/0x620 fs/char_dev.c:414
 do_dentry_open+0x7c1/0x10d0 fs/open.c:819
 vfs_open+0x73/0x80 fs/open.c:942
 do_open fs/namei.c:3391 [inline]
 path_openat+0x2660/0x3000 fs/namei.c:3509
 do_filp_open+0x21c/0x460 fs/namei.c:3536
 do_sys_openat2+0x13f/0x710 fs/open.c:1217
 do_sys_open fs/open.c:1233 [inline]
 __do_sys_openat fs/open.c:1249 [inline]
 __se_sys_openat fs/open.c:1244 [inline]
 __x64_sys_openat+0x243/0x290 fs/open.c:1244
 do_syscall_64+0x34/0x70
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7fb1eed99890
Code: 48 89 44 24 20 75 93 44 89 54 24 0c e8 19 8f 02 00 44 8b 54 24 0c 89 da 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 38 44 89 c7 89 44 24 0c e8 6c 8f 02 00 8b 44
RSP: 002b:00007fb1eda13b70 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fb1eed99890
RDX: 0000000000000000 RSI: 00007fb1eda13c10 RDI: 00000000ffffff9c
RBP: 00007fb1eda13c10 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fb1eef52f80 R15: 00007ffcf9ee53a8
Modules linked in:
---[ end trace f5df71f84651d5f2 ]---
RIP: 0010:steam_send_report+0x66/0x330 drivers/hid/hid-steam.c:172
Code: 80 3c 18 00 74 12 4c 89 ef e8 96 74 1f fe 48 ba 00 00 00 00 00 fc ff df 4d 8b 7d 00 49 8d 9f 98 10 00 00 48 89 d8 48 c1 e8 03 <80> 3c 10 00 74 12 48 89 df e8 6c 74 1f fe 48 ba 00 00 00 00 00 fc
RSP: 0018:ffffc90000be75c8 EFLAGS: 00010202
RAX: 0000000000000213 RBX: 0000000000001098 RCX: 0000000000040000
RDX: dffffc0000000000 RSI: 000000000000057d RDI: 000000000000057e
RBP: ffffc90000be7610 R08: ffffffff83890441 R09: fffff5200017ceb5
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000be7640
R13: ffff8881272e7430 R14: ffff8881272e7440 R15: 0000000000000000
FS:  00007fb1eda146c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb1ed9f3d58 CR3: 000000012aaa2000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	80 3c 18 00          	cmpb   $0x0,(%rax,%rbx,1)
   4:	74 12                	je     0x18
   6:	4c 89 ef             	mov    %r13,%rdi
   9:	e8 96 74 1f fe       	call   0xfe1f74a4
   e:	48 ba 00 00 00 00 00 	movabs $0xdffffc0000000000,%rdx
  15:	fc ff df
  18:	4d 8b 7d 00          	mov    0x0(%r13),%r15
  1c:	49 8d 9f 98 10 00 00 	lea    0x1098(%r15),%rbx
  23:	48 89 d8             	mov    %rbx,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	80 3c 10 00          	cmpb   $0x0,(%rax,%rdx,1) <-- trapping instruction
  2e:	74 12                	je     0x42
  30:	48 89 df             	mov    %rbx,%rdi
  33:	e8 6c 74 1f fe       	call   0xfe1f74a4
  38:	48                   	rex.W
  39:	ba 00 00 00 00       	mov    $0x0,%edx
  3e:	00 fc                	add    %bh,%ah

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/12 20:58 android13-5.10-lts 8d23314f588a 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in steam_send_report
* Struck through repros no longer work on HEAD.