invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 5016 Comm: syz-executor.5 Not tainted 6.1.60-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
RIP: 0010:bpf_dispatcher_xdp+0x816/0x1000
Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 48 81 fa c8 4b 00 a0 7f 47 48 81 fa d4 4a 00 a0 7f 2e 48 81 fa a4 <1e> 00 a0 7f 15 48 81 fa a4 1e 00 a0 0f 84 bc dd ff ff ff e2 66 0f
RSP: 0018:ffffc9000500f978 EFLAGS: 00010283
RAX: ffffffff888bc363 RBX: ffffc9000500fa60 RCX: 0000000000040000
RDX: ffffffffa0001ea4 RSI: ffffc9000542d048 RDI: ffffc9000500fc80
RBP: ffffc9000500fb70 R08: ffffffff88bc15f7 R09: ffffed1006f5d771
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffffc9000542d030 R14: 0000000000000000 R15: ffffc9000500fc60
FS: 00007f39daf9e6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffea6772ff8 CR3: 000000007799b000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
bpf_prog_test_run_xdp+0x7a7/0x1130 net/bpf/test_run.c:1389
bpf_prog_test_run+0x32f/0x3a0 kernel/bpf/syscall.c:3633
__sys_bpf+0x3eb/0x6c0 kernel/bpf/syscall.c:4986
__do_sys_bpf kernel/bpf/syscall.c:5072 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5070 [inline]
__x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:5070
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f39da27cae9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f39daf9e0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f39da39bf80 RCX: 00007f39da27cae9
RDX: 0000000000000048 RSI: 0000000020001480 RDI: 000000000000000a
RBP: 00007f39da2c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f39da39bf80 R15: 00007fffef0f8728
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:bpf_dispatcher_xdp+0x816/0x1000
Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 48 81 fa a4 1e 00 a0 7f 17 48 81 fa a4 1e 00 a0 0f 84 ce dd ff ff e2 0f 1f 84 00 00 00 00 00 48 81 fa d4 4a 00 a0 0f 84 e7 09 00
RSP: 0018:ffffc9000500f978 EFLAGS: 00010283
RAX: ffffffff888bc363 RBX: ffffc9000500fa60 RCX: 0000000000040000
RDX: ffffffffa0001ea4 RSI: ffffc9000542d048 RDI: ffffc9000500fc80
RBP: ffffc9000500fb70 R08: ffffffff88bc15f7 R09: ffffed1006f5d771
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffffc9000542d030 R14: 0000000000000000 R15: ffffc9000500fc60
FS: 00007f39daf9e6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6f8d977978 CR3: 000000007799b000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
----------------
Code disassembly (best guess):
14: 48 81 fa a4 1e 00 a0 cmp $0xffffffffa0001ea4,%rdx
1b: 7f 17 jg 0x34
1d: 48 81 fa a4 1e 00 a0 cmp $0xffffffffa0001ea4,%rdx
24: 0f 84 ce dd ff ff je 0xffffddf8
* 2a: ff e2 jmp *%rdx <-- trapping instruction
2c: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1)
33: 00
34: 48 81 fa d4 4a 00 a0 cmp $0xffffffffa0004ad4,%rdx
3b: 0f .byte 0xf
3c: 84 e7 test %ah,%bh
3e: 09 00 or %eax,(%rax)