input: syz0 as /devices/virtual/input/input8 general protection fault, probably for non-canonical address 0xdffffc0000000620: 0000 [#1] PREEMPT SMP KASAN KASAN: probably user-memory-access in range [0x0000000000003100-0x0000000000003107] CPU: 1 PID: 1415 Comm: syz.3.387 Not tainted 5.15.158-syzkaller-00979-gc53388f01037 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:mutex_can_spin_on_owner kernel/locking/mutex.c:417 [inline] RIP: 0010:mutex_optimistic_spin kernel/locking/mutex.c:462 [inline] RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:621 [inline] RIP: 0010:__mutex_lock+0x279/0x1870 kernel/locking/mutex.c:756 Code: 69 ce fc 4c 8b 3b 49 83 e7 f8 0f 84 ba 00 00 00 4c 89 6c 24 20 4d 8d 6f 34 4c 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 8f 0f 00 00 41 83 7d 00 00 74 67 49 83 c7 RSP: 0018:ffffc90000d3f2e0 EFLAGS: 00010203 RAX: 0000000000000620 RBX: ffff888127dd3450 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888127dd3450 RBP: ffffc90000d3f500 R08: dffffc0000000000 R09: ffffed1024fba68b R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11022232768 R13: 0000000000003104 R14: 1ffff920001a7e6c R15: 00000000000030d0 FS: 00007f97cb62b6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f97cc994060 CR3: 0000000116ebd000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __mutex_lock_slowpath+0xe/0x10 kernel/locking/mutex.c:1007 mutex_lock+0x135/0x1e0 kernel/locking/mutex.c:289 steam_input_open+0x91/0x1a0 drivers/hid/hid-steam.c:297 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:0x7f97cc9af890 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:00007f97cb62ab70 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f97cc9af890 RDX: 0000000000000000 RSI: 00007f97cb62ac10 RDI: 00000000ffffff9c RBP: 00007f97cb62ac10 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f97ccb69f80 R15: 00007fff81ee0d78 Modules linked in: ---[ end trace 2e1b8ac7b11187a8 ]--- RIP: 0010:mutex_can_spin_on_owner kernel/locking/mutex.c:417 [inline] RIP: 0010:mutex_optimistic_spin kernel/locking/mutex.c:462 [inline] RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:621 [inline] RIP: 0010:__mutex_lock+0x279/0x1870 kernel/locking/mutex.c:756 Code: 69 ce fc 4c 8b 3b 49 83 e7 f8 0f 84 ba 00 00 00 4c 89 6c 24 20 4d 8d 6f 34 4c 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 8f 0f 00 00 41 83 7d 00 00 74 67 49 83 c7 RSP: 0018:ffffc90000d3f2e0 EFLAGS: 00010203 RAX: 0000000000000620 RBX: ffff888127dd3450 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888127dd3450 RBP: ffffc90000d3f500 R08: dffffc0000000000 R09: ffffed1024fba68b R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11022232768 R13: 0000000000003104 R14: 1ffff920001a7e6c R15: 00000000000030d0 FS: 00007f97cb62b6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f97cc994060 CR3: 0000000116ebd000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 69 ce fc 4c 8b 3b imul $0x3b8b4cfc,%esi,%ecx 6: 49 83 e7 f8 and $0xfffffffffffffff8,%r15 a: 0f 84 ba 00 00 00 je 0xca 10: 4c 89 6c 24 20 mov %r13,0x20(%rsp) 15: 4d 8d 6f 34 lea 0x34(%r15),%r13 19: 4c 89 e8 mov %r13,%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: 0f b6 04 08 movzbl (%rax,%rcx,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 8f 0f 00 00 jne 0xfc5 36: 41 83 7d 00 00 cmpl $0x0,0x0(%r13) 3b: 74 67 je 0xa4 3d: 49 rex.WB 3e: 83 .byte 0x83 3f: c7 .byte 0xc7