------------[ cut here ]------------
Illegal XDP return value 4294967274, expect packet loss!
WARNING: CPU: 1 PID: 6530 at net/core/filter.c:8177 bpf_warn_invalid_xdp_action net/core/filter.c:8177 [inline]
WARNING: CPU: 1 PID: 6530 at net/core/filter.c:8177 bpf_warn_invalid_xdp_action+0x6f/0x80 net/core/filter.c:8173
Modules linked in:
CPU: 1 PID: 6530 Comm: syz-executor101 Not tainted 5.15.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:bpf_warn_invalid_xdp_action net/core/filter.c:8177 [inline]
RIP: 0010:bpf_warn_invalid_xdp_action+0x6f/0x80 net/core/filter.c:8173
Code: e0 b6 8c 8a 41 83 fc 04 48 c7 c6 20 b7 8c 8a 48 0f 46 ee e8 23 6d 4d fa 44 89 e2 48 c7 c7 60 b7 8c 8a 48 89 ee e8 ad 26 ca 01 <0f> 0b 5b 5d 41 5c e9 06 6d 4d fa 66 0f 1f 44 00 00 41 57 41 56 49
RSP: 0018:ffffc90000dc0a58 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff8880178cb900 RSI: ffffffff815e88a8 RDI: fffff520001b813d
RBP: ffffffff8a8cb6e0 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815e264e R11: 0000000000000000 R12: 00000000ffffffea
R13: 00000000ffffffea R14: 00000000ffffffea R15: 00000000ffffff8e
FS: 0000555556640300(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002062b000 CR3: 00000000747fd000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
netif_receive_generic_xdp net/core/dev.c:4803 [inline]
do_xdp_generic.part.0+0x80b/0xa00 net/core/dev.c:4851
do_xdp_generic net/core/dev.c:4846 [inline]
__netif_receive_skb_core+0x11b0/0x3640 net/core/dev.c:5259
__netif_receive_skb_one_core+0xae/0x180 net/core/dev.c:5434
__netif_receive_skb+0x24/0x1b0 net/core/dev.c:5550
process_backlog+0x2a5/0x6c0 net/core/dev.c:6427
__napi_poll+0xaf/0x440 net/core/dev.c:6986
napi_poll net/core/dev.c:7053 [inline]
net_rx_action+0x801/0xb40 net/core/dev.c:7140
__do_softirq+0x29b/0x9c2 kernel/softirq.c:558
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:636
irq_exit_rcu+0x5/0x20 kernel/softirq.c:648
sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:enqueue_to_backlog+0x210/0x10c0 net/core/dev.c:4650
Code: 8b 5d 10 be 08 00 00 00 48 8d bb e0 01 00 00 e8 46 3e 9e fa f0 48 ff 83 e0 01 00 00 48 89 ef 41 bd 01 00 00 00 e8 00 e8 f9 ff 4b e5 56 fa 44 89 e8 48 83 c4 30 5b 5d 41 5c 41 5d 41 5e 41 5f
RSP: 0018:ffffc9000207f5e0 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff8880178cb900 RSI: ffffffff871ff5cb RDI: 0000000000000003
RBP: 00000000000000d8 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff871ff5bd R11: 0000000000000000 R12: 0000000000000200
R13: 0000000000000000 R14: ffff88801acc68c0 R15: ffff8880b9d32cf8
netif_rx_internal+0x120/0x640 net/core/dev.c:4903
netif_rx+0x7f/0x510 net/core/dev.c:4930
__bpf_rx_skb_no_mac net/core/filter.c:2094 [inline]
__bpf_redirect_no_mac net/core/filter.c:2139 [inline]
__bpf_redirect+0x508/0xd20 net/core/filter.c:2162
____bpf_clone_redirect net/core/filter.c:2429 [inline]
bpf_clone_redirect+0x2ae/0x420 net/core/filter.c:2401
bpf_prog_5329ecf32ce9a25b+0x59/0xb28
bpf_dispatcher_nop_func include/linux/bpf.h:718 [inline]
__bpf_prog_run include/linux/filter.h:624 [inline]
bpf_prog_run include/linux/filter.h:631 [inline]
bpf_test_run+0x381/0xa30 net/bpf/test_run.c:119
bpf_prog_test_run_skb+0xa7c/0x1cb0 net/bpf/test_run.c:662
bpf_prog_test_run kernel/bpf/syscall.c:3307 [inline]
__sys_bpf+0x2137/0x5df0 kernel/bpf/syscall.c:4605
__do_sys_bpf kernel/bpf/syscall.c:4691 [inline]
__se_sys_bpf kernel/bpf/syscall.c:4689 [inline]
__x64_sys_bpf+0x75/0xb0 kernel/bpf/syscall.c:4689
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fad871478f9
Code: 28 c3 e8 4a 15 00 00 66 2e 0f 1f 84 00 00 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc0fb54678 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007ffc0fb546a8 RCX: 00007fad871478f9
RDX: 0000000000000048 RSI: 0000000020000040 RDI: 000000000000000a
RBP: 0000000000000003 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000001 R11: 0000000000000246 R12: 00007ffc0fb546d0
R13: 0000000000000003 R14: 00007ffc0fb546b0 R15: 0000000000000001
----------------
Code disassembly (best guess):
0: 8b 5d 10 mov 0x10(%rbp),%ebx
3: be 08 00 00 00 mov $0x8,%esi
8: 48 8d bb e0 01 00 00 lea 0x1e0(%rbx),%rdi
f: e8 46 3e 9e fa callq 0xfa9e3e5a
14: f0 48 ff 83 e0 01 00 lock incq 0x1e0(%rbx)
1b: 00
1c: 48 89 ef mov %rbp,%rdi
1f: 41 bd 01 00 00 00 mov $0x1,%r13d
25: e8 00 e8 f9 ff callq 0xfff9e82a
* 2a: e8 4b e5 56 fa callq 0xfa56e57a <-- trapping instruction
2f: 44 89 e8 mov %r13d,%eax
32: 48 83 c4 30 add $0x30,%rsp
36: 5b pop %rbx
37: 5d pop %rbp
38: 41 5c pop %r12
3a: 41 5d pop %r13
3c: 41 5e pop %r14
3e: 41 5f pop %r15