Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 UID: 0 PID: 12865 Comm: syz.5.5620 Not tainted syzkaller #0 9a2c17613351c9eac8e18d74829f474689ac6bc1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:hidpp_match_answer drivers/hid/hid-logitech-hidpp.c:462 [inline] RIP: 0010:hidpp_raw_hidpp_event+0x2b7c/0x3c30 drivers/hid/hid-logitech-hidpp.c:3885 Code: 8d 5c 24 02 48 89 d8 48 c1 e8 03 42 0f b6 04 28 84 c0 4d 89 ee 0f 85 e4 0f 00 00 44 0f b6 2b 49 8d 5f 02 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 e2 0f 00 00 0f b6 03 0f b6 d8 44 89 ef RSP: 0018:ffffc900042a78a0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000002 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8881179d2038 RBP: ffffc900042a79f0 R08: ffff8881179d203f R09: 1ffff11022f3a407 R10: dffffc0000000000 R11: ffffed1022f3a408 R12: ffff888110c08056 R13: 0000000000000004 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f8a9a5266c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcae0070000 CR3: 0000000104bda000 CR4: 00000000003526b0 Call Trace: hidpp_raw_event+0x1b9/0x1a90 drivers/hid/hid-logitech-hidpp.c:-1 __hid_input_report+0x40a/0x4d0 drivers/hid/hid-core.c:2140 hid_safe_input_report+0x42/0x60 drivers/hid/hid-core.c:2192 uhid_dev_input2+0xba/0x150 drivers/hid/uhid.c:609 uhid_char_write+0x485/0xce0 drivers/hid/uhid.c:767 vfs_write+0x3c4/0xfd0 fs/read_write.c:682 ksys_write+0x145/0x260 fs/read_write.c:737 __do_sys_write fs/read_write.c:749 [inline] __se_sys_write fs/read_write.c:746 [inline] __x64_sys_write+0x7f/0x90 fs/read_write.c:746 x64_sys_call+0x271c/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:2 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:0x7f8a9959e0d9 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:00007f8a9a526028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8a99825fa0 RCX: 00007f8a9959e0d9 RDX: 000000000000001a RSI: 0000200000000d00 RDI: 0000000000000003 RBP: 00007f8a99635024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8a99826038 R14: 00007f8a99825fa0 R15: 00007fffc0822ef8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hidpp_match_answer drivers/hid/hid-logitech-hidpp.c:462 [inline] RIP: 0010:hidpp_raw_hidpp_event+0x2b7c/0x3c30 drivers/hid/hid-logitech-hidpp.c:3885 Code: 8d 5c 24 02 48 89 d8 48 c1 e8 03 42 0f b6 04 28 84 c0 4d 89 ee 0f 85 e4 0f 00 00 44 0f b6 2b 49 8d 5f 02 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 e2 0f 00 00 0f b6 03 0f b6 d8 44 89 ef RSP: 0018:ffffc900042a78a0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000002 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8881179d2038 RBP: ffffc900042a79f0 R08: ffff8881179d203f R09: 1ffff11022f3a407 R10: dffffc0000000000 R11: ffffed1022f3a408 R12: ffff888110c08056 R13: 0000000000000004 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f8a9a5266c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcadffeaff8 CR3: 0000000104bda000 CR4: 00000000003526b0 ---------------- Code disassembly (best guess): 0: 8d 5c 24 02 lea 0x2(%rsp),%ebx 4: 48 89 d8 mov %rbx,%rax 7: 48 c1 e8 03 shr $0x3,%rax b: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax 10: 84 c0 test %al,%al 12: 4d 89 ee mov %r13,%r14 15: 0f 85 e4 0f 00 00 jne 0xfff 1b: 44 0f b6 2b movzbl (%rbx),%r13d 1f: 49 8d 5f 02 lea 0x2(%r15),%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 e2 0f 00 00 jne 0x1019 37: 0f b6 03 movzbl (%rbx),%eax 3a: 0f b6 d8 movzbl %al,%ebx 3d: 44 89 ef mov %r13d,%edi