------------[ cut here ]------------
Illegal XDP return value 4294967274, expect packet loss!
WARNING: CPU: 1 PID: 5792 at net/core/filter.c:8188 bpf_warn_invalid_xdp_action net/core/filter.c:8188 [inline]
WARNING: CPU: 1 PID: 5792 at net/core/filter.c:8188 bpf_warn_invalid_xdp_action+0x6f/0x80 net/core/filter.c:8184
Modules linked in:
CPU: 1 PID: 5792 Comm: syz-executor.1 Not tainted 5.16.0-rc8-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:8188 [inline]
RIP: 0010:bpf_warn_invalid_xdp_action+0x6f/0x80 net/core/filter.c:8184
Code: 80 77 ae 8a 41 83 fc 04 48 c7 c6 c0 77 ae 8a 48 0f 46 ee e8 33 80 42 fa 44 89 e2 48 c7 c7 00 78 ae 8a 48 89 ee e8 6d 6e cb 01 <0f> 0b 5b 5d 41 5c e9 16 80 42 fa 66 0f 1f 44 00 00 41 57 41 56 49
RSP: 0018:ffffc90000dc0a58 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88804ba08000 RSI: ffffffff815f0948 RDI: fffff520001b813d
RBP: ffffffff8aae7780 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff815ea6ee R11: 0000000000000000 R12: 00000000ffffffea
R13: 00000000ffffffea R14: 00000000ffffffea R15: 00000000ffffff90
FS: 00007fbefe326700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe6f08fb3a5 CR3: 00000000914ca000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
netif_receive_generic_xdp net/core/dev.c:4830 [inline]
do_xdp_generic.part.0+0x80b/0xa00 net/core/dev.c:4878
do_xdp_generic net/core/dev.c:4873 [inline]
__netif_receive_skb_core+0x11b7/0x3770 net/core/dev.c:5286
__netif_receive_skb_one_core+0xae/0x180 net/core/dev.c:5463
__netif_receive_skb+0x24/0x1b0 net/core/dev.c:5579
process_backlog+0x2a5/0x6c0 net/core/dev.c:6455
__napi_poll+0xaf/0x440 net/core/dev.c:7023
napi_poll net/core/dev.c:7090 [inline]
net_rx_action+0x801/0xb40 net/core/dev.c:7177
__do_softirq+0x29b/0x9c2 kernel/softirq.c:558
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:637
irq_exit_rcu+0x5/0x20 kernel/softirq.c:649
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:unwind_next_frame+0x3c9/0x1ce0 arch/x86/kernel/unwind_orc.c:456
Code: 85 ba 12 00 00 41 c6 46 34 01 49 c7 c0 60 a3 9f 8b 4d 8d 78 04 48 b8 00 00 00 00 00 fc ff df 4c 89 fa 48 c1 ea 03 0f b6 04 02 <4c> 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 bd 08 00 00 41 0f b6 40
RSP: 0018:ffffc90015d3f2f8 EFLAGS: 00000a06
RAX: 0000000000000000 RBX: 1ffff92002ba7e67 RCX: ffffffff81bdfe71
RDX: 1ffffffff1c30371 RSI: ffffffff8e181b56 RDI: ffffffff8da5f660
RBP: 0000000000000001 R08: ffffffff8e181b86 R09: 0000000000000001
R10: fffff52002ba7e85 R11: 000000000008808a R12: ffffc90015d3f418
R13: ffffc90015d3f405 R14: ffffc90015d3f3d0 R15: ffffffff8e181b8a
arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122
kasan_save_stack+0x1e/0x50 mm/kasan/common.c:38
kasan_set_track mm/kasan/common.c:46 [inline]
set_alloc_info mm/kasan/common.c:434 [inline]
__kasan_slab_alloc+0x90/0xc0 mm/kasan/common.c:467
kasan_slab_alloc include/linux/kasan.h:259 [inline]
slab_post_alloc_hook mm/slab.h:519 [inline]
slab_alloc_node mm/slub.c:3234 [inline]
slab_alloc mm/slub.c:3242 [inline]
kmem_cache_alloc+0x202/0x3a0 mm/slub.c:3247
skb_clone+0x170/0x3c0 net/core/skbuff.c:1521
____bpf_clone_redirect net/core/filter.c:2414 [inline]
bpf_clone_redirect+0xaf/0x420 net/core/filter.c:2401
bpf_prog_a467eebe3b6cb835+0x59/0x80c
bpf_dispatcher_nop_func include/linux/bpf.h:727 [inline]
__bpf_prog_run include/linux/filter.h:626 [inline]
bpf_prog_run include/linux/filter.h:633 [inline]
bpf_test_run+0x381/0x980 net/bpf/test_run.c:120
bpf_prog_test_run_skb+0xb32/0x1dd0 net/bpf/test_run.c:666
bpf_prog_test_run kernel/bpf/syscall.c:3349 [inline]
__sys_bpf+0x1823/0x5950 kernel/bpf/syscall.c:4651
__do_sys_bpf kernel/bpf/syscall.c:4737 [inline]
__se_sys_bpf kernel/bpf/syscall.c:4735 [inline]
__x64_sys_bpf+0x75/0xb0 kernel/bpf/syscall.c:4735
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:0x7fbeff9f2e99
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fbefe326168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fbeffb06100 RCX: 00007fbeff9f2e99
RDX: 0000000000000028 RSI: 0000000020000080 RDI: 000000000000000a
RBP: 00007fbeffa4cff1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc695c555f R14: 00007fbefe326300 R15: 0000000000022000
----------------
Code disassembly (best guess):
0: 85 ba 12 00 00 41 test %edi,0x41000012(%rdx)
6: c6 46 34 01 movb $0x1,0x34(%rsi)
a: 49 c7 c0 60 a3 9f 8b mov $0xffffffff8b9fa360,%r8
11: 4d 8d 78 04 lea 0x4(%r8),%r15
15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
1c: fc ff df
1f: 4c 89 fa mov %r15,%rdx
22: 48 c1 ea 03 shr $0x3,%rdx
26: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax
* 2a: 4c 89 fa mov %r15,%rdx <-- trapping instruction
2d: 83 e2 07 and $0x7,%edx
30: 38 d0 cmp %dl,%al
32: 7f 08 jg 0x3c
34: 84 c0 test %al,%al
36: 0f 85 bd 08 00 00 jne 0x8f9
3c: 41 rex.B
3d: 0f .byte 0xf
3e: b6 40 mov $0x40,%dh