input: syz0 as /devices/virtual/input/input43
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: 4126 Comm: syz.4.1410 Tainted: G W 5.15.160-syzkaller-00026-ge6fb3b0fa87f #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 06 68 0a 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 dc 67 0a fe 48 ba 00 00 00 00 00 fc
RSP: 0018:ffffc90000ae7588 EFLAGS: 00010202
RAX: 0000000000000213 RBX: 0000000000001098 RCX: 0000000000040000
RDX: dffffc0000000000 RSI: 000000000000031f RDI: 0000000000000320
RBP: ffffc90000ae75d0 R08: ffffffff83a87d71 R09: fffff5200015cead
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000ae7600
R13: ffff8881106ed440 R14: ffff8881106ed450 R15: 0000000000000000
FS: 00007f7e34e296c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7e36193060 CR3: 000000011d52b000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000001000000 DR2: 0000000000000000
DR3: 0004000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
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+0x1a5/0x310 drivers/input/input.c:640
evdev_open_device drivers/input/evdev.c:404 [inline]
evdev_open+0x3df/0x620 drivers/input/evdev.c:491
chrdev_open+0x4f7/0x620 fs/char_dev.c:414
do_dentry_open+0x81c/0xfd0 fs/open.c:828
vfs_open+0x73/0x80 fs/open.c:958
do_open fs/namei.c:3608 [inline]
path_openat+0x26f0/0x2f40 fs/namei.c:3742
do_filp_open+0x21c/0x460 fs/namei.c:3769
do_sys_openat2+0x13f/0x830 fs/open.c:1234
do_sys_open fs/open.c:1250 [inline]
__do_sys_openat fs/open.c:1266 [inline]
__se_sys_openat fs/open.c:1261 [inline]
__x64_sys_openat+0x243/0x290 fs/open.c:1261
x64_sys_call+0x6bf/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:258
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f7e361ae890
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:00007f7e34e28b70 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7e361ae890
RDX: 0000000000000000 RSI: 00007f7e34e28c10 RDI: 00000000ffffff9c
RBP: 00007f7e34e28c10 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f7e36367f80 R15: 00007ffe53ff8c48
</TASK>
Modules linked in:
---[ end trace 6ae228c9a4bfb9d9 ]---
RIP: 0010:steam_send_report+0x66/0x330 drivers/hid/hid-steam.c:172
Code: 80 3c 18 00 74 12 4c 89 ef e8 06 68 0a 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 dc 67 0a fe 48 ba 00 00 00 00 00 fc
RSP: 0018:ffffc90000ae7588 EFLAGS: 00010202
RAX: 0000000000000213 RBX: 0000000000001098 RCX: 0000000000040000
RDX: dffffc0000000000 RSI: 000000000000031f RDI: 0000000000000320
RBP: ffffc90000ae75d0 R08: ffffffff83a87d71 R09: fffff5200015cead
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000ae7600
R13: ffff8881106ed440 R14: ffff8881106ed450 R15: 0000000000000000
FS: 00007f7e34e296c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200fd000 CR3: 000000011d52b000 CR4: 00000000003506b0
----------------
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 06 68 0a fe call 0xfe0a6814
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 dc 67 0a fe call 0xfe0a6814
38: 48 rex.W
39: ba 00 00 00 00 mov $0x0,%edx
3e: 00 fc add %bh,%ah