Oops: general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f]
CPU: 1 UID: 0 PID: 3090 Comm: rm Not tainted syzkaller #0 719241e1970c5e75a27bae3225f7444f8b3609e5
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
RIP: 0010:saitek_event+0x55/0x2d0 drivers/hid/hid-saitek.c:154
Code: 5a fd 49 83 c6 78 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 69 ca b3 fd 4d 8b 36 49 83 c6 18 4c 89 f0 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 f7 e8 4c ca b3 fd 49 8b 06 48 89 45 d0
RSP: 0018:ffffc900002306e0 EFLAGS: 00010006
RAX: 0000000000000003 RBX: ffff88812185ce88 RCX: 0000000000040000
RDX: ffffc90000562000 RSI: 0000000000000020 RDI: 0000000000000021
RBP: ffffc90000230710 R08: 0000000000000000 R09: 0000000000000004
R10: 0000000000000000 R11: ffffffff842f5c00 R12: dffffc0000000000
R13: 0000000000000078 R14: 0000000000000018 R15: ffff88811f8f0000
FS: 0000000000000000(0000) GS:ffff8881f6d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f588e8c0d58 CR3: 000000013bbf4000 CR4: 00000000003526b0
Call Trace:
hid_process_event+0x410/0x5f0 drivers/hid/hid-core.c:1527
hid_process_report drivers/hid/hid-core.c:1685 [inline]
__hid_report_raw_event+0x100b/0x18e0 drivers/hid/hid-core.c:2067
__hid_input_report+0x444/0x4d0 drivers/hid/hid-core.c:2145
hid_safe_input_report+0x42/0x60 drivers/hid/hid-core.c:2192
hid_ctrl+0x200/0x590 drivers/hid/usbhid/hid-core.c:485
__usb_hcd_giveback_urb+0x371/0x530 drivers/usb/core/hcd.c:1646
usb_hcd_giveback_urb+0x12b/0x400 drivers/usb/core/hcd.c:1730
dummy_timer+0xa3f/0x4900 drivers/usb/gadget/udc/dummy_hcd.c:2003
__run_hrtimer kernel/time/hrtimer.c:1758 [inline]
__hrtimer_run_queues+0x3ab/0x8e0 kernel/time/hrtimer.c:1822
hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1839
handle_softirqs+0x1b0/0x5b0 kernel/softirq.c:684
__do_softirq kernel/softirq.c:722 [inline]
invoke_softirq kernel/softirq.c:539 [inline]
__irq_exit_rcu+0x47/0xb0 kernel/softirq.c:771
irq_exit_rcu+0xd/0x30 kernel/softirq.c:783
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
sysvec_apic_timer_interrupt+0x82/0x90 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1f/0x30 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x4e/0x70 kernel/locking/spinlock.c:202
Code: 48 89 fb 48 c7 c7 00 8f ce 87 e8 6d 2d 36 fc 48 89 df 48 83 3d b2 95 21 02 00 74 1f e8 5b 0d 00 00 90 fb 65 ff 0d ea f5 57 7a <74> 08 5b 5d c3 cc cc cc cc cc e8 63 02 5d fb eb f1 0f 0b 66 2e 0f
RSP: 0018:ffffc9000ab1fc88 EFLAGS: 00000286
RAX: 0000000000000001 RBX: 1ffff92001563f00 RCX: dffffc0000000000
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff88813aa7eccc
RBP: ffffc9000ab1fc90 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52001563f84 R12: dffffc0000000000
R13: ffff8881336d25a8 R14: ffff88813aa7eccc R15: ffff88813aa7ec70
task_work_run+0x197/0x260 kernel/task_work.c:242
exit_task_work include/linux/task_work.h:43 [inline]
do_exit+0xa46/0x2850 kernel/exit.c:961
do_group_exit+0x21f/0x2f0 kernel/exit.c:1104
__do_sys_exit_group kernel/exit.c:1115 [inline]
__se_sys_exit_group kernel/exit.c:1113 [inline]
__x64_sys_exit_group+0x43/0x50 kernel/exit.c:1113
x64_sys_call+0x2ed2/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:232
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:0x7ff8916766c5
Code: Unable to access opcode bytes at 0x7ff89167669b.
RSP: 002b:00007ffc25be8648 EFLAGS: 00000206 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007ff891777fe8 RCX: 00007ff8916766c5
RDX: 00000000000000e7 RSI: ffffffffffffff88 RDI: 0000000000000000
RBP: 0000000000000001 R08: 00007ffc25be85d8 R09: 0000000000000000
R10: 00007ffc25be8470 R11: 0000000000000206 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ff891776680 R15: 00007ff891778000
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:saitek_event+0x55/0x2d0 drivers/hid/hid-saitek.c:154
Code: 5a fd 49 83 c6 78 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 69 ca b3 fd 4d 8b 36 49 83 c6 18 4c 89 f0 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 f7 e8 4c ca b3 fd 49 8b 06 48 89 45 d0
RSP: 0018:ffffc900002306e0 EFLAGS: 00010006
RAX: 0000000000000003 RBX: ffff88812185ce88 RCX: 0000000000040000
RDX: ffffc90000562000 RSI: 0000000000000020 RDI: 0000000000000021
RBP: ffffc90000230710 R08: 0000000000000000 R09: 0000000000000004
R10: 0000000000000000 R11: ffffffff842f5c00 R12: dffffc0000000000
R13: 0000000000000078 R14: 0000000000000018 R15: ffff88811f8f0000
FS: 0000000000000000(0000) GS:ffff8881f6d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f588e8c0d58 CR3: 000000013bbf4000 CR4: 00000000003526b0
----------------
Code disassembly (best guess):
0: 5a pop %rdx
1: fd std
2: 49 83 c6 78 add $0x78,%r14
6: 4c 89 f0 mov %r14,%rax
9: 48 c1 e8 03 shr $0x3,%rax
d: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1)
12: 74 08 je 0x1c
14: 4c 89 f7 mov %r14,%rdi
17: e8 69 ca b3 fd call 0xfdb3ca85
1c: 4d 8b 36 mov (%r14),%r14
1f: 49 83 c6 18 add $0x18,%r14
23: 4c 89 f0 mov %r14,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction
2f: 74 08 je 0x39
31: 4c 89 f7 mov %r14,%rdi
34: e8 4c ca b3 fd call 0xfdb3ca85
39: 49 8b 06 mov (%r14),%rax
3c: 48 89 45 d0 mov %rax,-0x30(%rbp)