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 9109b4058d136ef0ac9398910d6f8e272823abe4
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 99 9c 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 7c 9c b5 fd 49 8b 06 48 89 45 d0
RSP: 0018:ffffc90000230700 EFLAGS: 00010006
RAX: 0000000000000003 RBX: ffff8881056a8588 RCX: ffff888105308000
RDX: 0000000000000100 RSI: ffff8881056a8500 RDI: ffff88810ae58000
RBP: ffffc90000230730 R08: 0000000000000000 R09: 0000000000000004
R10: 0000000000000000 R11: ffffffff842d2530 R12: dffffc0000000000
R13: 000000000000008d R14: 0000000000000018 R15: ffff88810ae58000
FS: 00007f434ce4a300(0000) GS:ffff8881f6d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fda69bafbb0 CR3: 0000000106fca000 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+0xf/0x16 kernel/softirq.c:659
do_softirq+0xb8/0x110 kernel/softirq.c:503
__local_bh_enable_ip+0x74/0x80 kernel/softirq.c:430
local_bh_enable include/linux/bottom_half.h:33 [inline]
rcu_read_unlock_bh include/linux/rcupdate.h:919 [inline]
__dev_queue_xmit+0x1b23/0x3780 net/core/dev.c:4585
dev_queue_xmit include/linux/netdevice.h:3141 [inline]
neigh_hh_output include/net/neighbour.h:535 [inline]
neigh_output include/net/neighbour.h:549 [inline]
ip_finish_output2+0xb82/0xfb0 net/ipv4/ip_output.c:236
__ip_finish_output+0x17b/0x3e0 net/ipv4/ip_output.c:-1
ip_finish_output+0x35/0x360 net/ipv4/ip_output.c:324
NF_HOOK_COND include/linux/netfilter.h:306 [inline]
ip_output+0x1a1/0x330 net/ipv4/ip_output.c:437
dst_output include/net/dst.h:460 [inline]
ip_local_out net/ipv4/ip_output.c:130 [inline]
__ip_queue_xmit+0x134d/0x1f70 net/ipv4/ip_output.c:541
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+0x75f/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:0x7f434c6a7407
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:00007ffd4b321350 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f434ce4a300 RCX: 00007f434c6a7407
RDX: 000000000000007c RSI: 000055fad1958130 RDI: 0000000000000004
RBP: 000055fad195bc60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000001
R13: 00007ffd4b3214a0 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 99 9c 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 7c 9c b5 fd 49 8b 06 48 89 45 d0
RSP: 0018:ffffc90000230700 EFLAGS: 00010006
RAX: 0000000000000003 RBX: ffff8881056a8588 RCX: ffff888105308000
RDX: 0000000000000100 RSI: ffff8881056a8500 RDI: ffff88810ae58000
RBP: ffffc90000230730 R08: 0000000000000000 R09: 0000000000000004
R10: 0000000000000000 R11: ffffffff842d2530 R12: dffffc0000000000
R13: 000000000000008d R14: 0000000000000018 R15: ffff88810ae58000
FS: 00007f434ce4a300(0000) GS:ffff8881f6d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fda69bafbb0 CR3: 0000000106fca000 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 99 9c b5 fd call 0xfdb59cb5
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 7c 9c b5 fd call 0xfdb59cb5
39: 49 8b 06 mov (%r14),%rax
3c: 48 89 45 d0 mov %rax,-0x30(%rbp)