------------[ cut here ]------------ Illegal XDP return value 4294967274, expect packet loss! WARNING: CPU: 0 PID: 17253 at net/core/filter.c:5537 bpf_warn_invalid_xdp_action net/core/filter.c:5537 [inline] WARNING: CPU: 0 PID: 17253 at net/core/filter.c:5537 bpf_warn_invalid_xdp_action+0x6f/0x80 net/core/filter.c:5533 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 17253 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 panic+0x26a/0x50e kernel/panic.c:186 __warn.cold+0x20/0x5a kernel/panic.c:541 report_bug+0x262/0x2b0 lib/bug.c:183 fixup_bug arch/x86/kernel/traps.c:178 [inline] fixup_bug arch/x86/kernel/traps.c:173 [inline] do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038 RIP: 0010:bpf_warn_invalid_xdp_action net/core/filter.c:5537 [inline] RIP: 0010:bpf_warn_invalid_xdp_action+0x6f/0x80 net/core/filter.c:5533 Code: e0 4a 4d 89 41 83 fc 04 48 c7 c6 20 4b 4d 89 48 0f 46 ee e8 53 5c e3 fa 44 89 e2 48 c7 c7 60 4b 4d 89 48 89 ee e8 26 94 73 01 <0f> 0b 5b 5d 41 5c e9 36 5c e3 fa 66 0f 1f 44 00 00 41 54 55 89 fd RSP: 0018:ffff8880ba007a00 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000100 RSI: ffffffff814dff01 RDI: ffffed1017400f32 RBP: ffffffff894d4ae0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 00000000ffffffea R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880ba007b00 netif_receive_generic_xdp+0xcab/0x1540 net/core/dev.c:4390 do_xdp_generic.part.0+0x80/0x1a0 net/core/dev.c:4439 do_xdp_generic net/core/dev.c:4808 [inline] __netif_receive_skb_core+0xd00/0x3270 net/core/dev.c:4808 __netif_receive_skb_one_core+0xae/0x180 net/core/dev.c:4952 __netif_receive_skb+0x27/0x1c0 net/core/dev.c:5066 process_backlog+0x241/0x700 net/core/dev.c:5849 napi_poll net/core/dev.c:6280 [inline] net_rx_action+0x4ac/0xfb0 net/core/dev.c:6346 __do_softirq+0x265/0x980 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x215/0x260 kernel/softirq.c:412 call_function_single_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:916 RIP: 0010:memcpy_erms+0x8/0x10 arch/x86/lib/memcpy_64.S:56 Code: 90 90 eb 1e 0f 1f 00 48 89 f8 48 89 d1 48 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 c3 66 0f 1f 44 00 00 48 89 f8 48 89 d1 f3 a4 0f 1f 80 00 00 00 00 48 89 f8 48 83 fa 20 72 7e 40 38 fe 7c 35 RSP: 0018:ffff88803f8e7760 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff04 RAX: ffff8880a2f9f9a8 RBX: ffff8880a2f9f980 RCX: 0000000000000000 RDX: 0000000000000030 RSI: ffff8880a4e29418 RDI: ffff8880a2f9f9d8 RBP: ffff8880a4e293c0 R08: 0000000000000001 R09: ffffed10145f3f3a R10: ffff8880a2f9f9d7 R11: 00000000bb7aaff8 R12: 1ffff11007f1ceee R13: ffff8880b035ed80 R14: 0000000000000000 R15: ffff8880a4e2944e memcpy include/linux/string.h:377 [inline] __copy_skb_header+0xfd/0x500 net/core/skbuff.c:810 __skb_clone+0x99/0x7c0 net/core/skbuff.c:865 skb_clone+0x1aa/0x3d0 net/core/skbuff.c:1300 ____bpf_clone_redirect net/core/filter.c:2079 [inline] bpf_clone_redirect+0xaf/0x430 net/core/filter.c:2066 ___bpf_prog_run+0x1bfa/0x4e80 kernel/bpf/core.c:1184 Kernel Offset: disabled Rebooting in 86400 seconds.. ---------------- Code disassembly (best guess): 0: 90 nop 1: 90 nop 2: eb 1e jmp 0x22 4: 0f 1f 00 nopl (%rax) 7: 48 89 f8 mov %rdi,%rax a: 48 89 d1 mov %rdx,%rcx d: 48 c1 e9 03 shr $0x3,%rcx 11: 83 e2 07 and $0x7,%edx 14: f3 48 a5 rep movsq %ds:(%rsi),%es:(%rdi) 17: 89 d1 mov %edx,%ecx 19: f3 a4 rep movsb %ds:(%rsi),%es:(%rdi) 1b: c3 retq 1c: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 22: 48 89 f8 mov %rdi,%rax 25: 48 89 d1 mov %rdx,%rcx 28: f3 a4 rep movsb %ds:(%rsi),%es:(%rdi) * 2a: c3 retq <-- trapping instruction 2b: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 32: 48 89 f8 mov %rdi,%rax 35: 48 83 fa 20 cmp $0x20,%rdx 39: 72 7e jb 0xb9 3b: 40 38 fe cmp %dil,%sil 3e: 7c 35 jl 0x75