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: 310 Comm: sshd-session Not tainted syzkaller #0 bcd0852b9269e5a174a9e289c8567167f3c3d1d7
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
RIP: 0010:saitek_event+0x55/0x2d0 drivers/hid/hid-saitek.c:154
Code: 5c fd 49 83 c6 78 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 a9 89 b5 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 8c 89 b5 fd 49 8b 06 48 89 45 d0
RSP: 0018:ffffc900002306e0 EFLAGS: 00010006
RAX: 0000000000000003 RBX: ffff8881082ff988 RCX: ffff88812c6d13c0
RDX: 0000000000000100 RSI: ffff8881082ff900 RDI: ffff888105330000
RBP: ffffc90000230710 R08: 0000000000000000 R09: 0000000000000004
R10: 0000000000000000 R11: ffffffff842d3850 R12: dffffc0000000000
R13: 000000000000008d R14: 0000000000000018 R15: ffff888105330000
FS: 00007f30af345300(0000) GS:ffff8881f6d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f33ce115492 CR3: 000000012178e000 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+0x36e/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+0x1aa/0x5b0 kernel/softirq.c:621
__do_softirq kernel/softirq.c:659 [inline]
invoke_softirq kernel/softirq.c:476 [inline]
__irq_exit_rcu+0x47/0xb0 kernel/softirq.c:708
irq_exit_rcu+0xd/0x30 kernel/softirq.c:720
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:dst_metric_raw include/net/dst.h:167 [inline]
RIP: 0010:ip4_dst_hoplimit include/net/route.h:366 [inline]
RIP: 0010:ip_select_ttl net/ipv4/ip_output.c:142 [inline]
RIP: 0010:__ip_queue_xmit+0xc6b/0x1f70 net/ipv4/ip_output.c:523
Code: d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 74 12 48 89 df e8 e2 ee 1c fd 48 b9 00 00 00 00 00 fc ff df 4c 8b 23 <49> 83 e4 fc 49 83 c4 24 4c 89 e0 48 c1 e8 03 0f b6 04 08 84 c0 0f
RSP: 0018:ffffc9000117f2a8 EFLAGS: 00000246
RAX: 1ffff1102406f4c2 RBX: ffff88812037a610 RCX: dffffc0000000000
RDX: ffff88812c6d13c0 RSI: 000000000000ffff RDI: 0000000000000000
RBP: ffffc9000117f348 R08: ffff88812c6d13c0 R09: 0000000000000002
R10: 0000000000000002 R11: 0000000000000000 R12: ffff88811f2c1783
R13: ffff88812407ae8c R14: ffff88812037a600 R15: ffff888104b2c680
ip_queue_xmit+0x51/0x70 net/ipv4/ip_output.c:555
__tcp_transmit_skb+0x236d/0x38d0 net/ipv4/tcp_output.c:1480
tcp_transmit_skb net/ipv4/tcp_output.c:1497 [inline]
tcp_write_xmit+0x1a41/0x6d20 net/ipv4/tcp_output.c:2852
__tcp_push_pending_frames+0x9d/0x300 net/ipv4/tcp_output.c:3037
tcp_push+0x488/0x670 net/ipv4/tcp.c:755
tcp_sendmsg_locked+0x3fce/0x4ac0 net/ipv4/tcp.c:1332
tcp_sendmsg+0x3e/0xd0 net/ipv4/tcp.c:1365
inet_sendmsg+0xb7/0x120 net/ipv4/af_inet.c:858
sock_sendmsg_nosec net/socket.c:713 [inline]
__sock_sendmsg net/socket.c:727 [inline]
sock_write_iter+0x3bf/0x490 net/socket.c:1148
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x762/0xfd0 fs/read_write.c:684
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:0x7f30aeca7407
Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
RSP: 002b:00007ffd5f145f20 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f30af345300 RCX: 00007f30aeca7407
RDX: 00000000000000a4 RSI: 0000559b0203e130 RDI: 0000000000000004
RBP: 0000559b02041c60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000001
R13: 00007ffd5f146070 R14: 0000000000000000 R15: 0000000000000004
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:saitek_event+0x55/0x2d0 drivers/hid/hid-saitek.c:154
Code: 5c fd 49 83 c6 78 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 a9 89 b5 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 8c 89 b5 fd 49 8b 06 48 89 45 d0
RSP: 0018:ffffc900002306e0 EFLAGS: 00010006
RAX: 0000000000000003 RBX: ffff8881082ff988 RCX: ffff88812c6d13c0
RDX: 0000000000000100 RSI: ffff8881082ff900 RDI: ffff888105330000
RBP: ffffc90000230710 R08: 0000000000000000 R09: 0000000000000004
R10: 0000000000000000 R11: ffffffff842d3850 R12: dffffc0000000000
R13: 000000000000008d R14: 0000000000000018 R15: ffff888105330000
FS: 00007f30af345300(0000) GS:ffff8881f6d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f33ce115492 CR3: 000000012178e000 CR4: 00000000003526b0
----------------
Code disassembly (best guess):
0: 5c pop %rsp
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 a9 89 b5 fd call 0xfdb589c5
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 8c 89 b5 fd call 0xfdb589c5
39: 49 8b 06 mov (%r14),%rax
3c: 48 89 45 d0 mov %rax,-0x30(%rbp)