------------[ cut here ]------------
Illegal XDP return value 4294967274, expect packet loss!
WARNING: CPU: 1 PID: 499 at net/core/filter.c:8188 bpf_warn_invalid_xdp_action net/core/filter.c:8188 [inline]
WARNING: CPU: 1 PID: 499 at net/core/filter.c:8188 bpf_warn_invalid_xdp_action+0x6f/0x80 net/core/filter.c:8184
Modules linked in:
CPU: 1 PID: 499 Comm: syz-executor.0 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: a0 f7 ad 8a 41 83 fc 04 48 c7 c6 e0 f7 ad 8a 48 0f 46 ee e8 23 bb 41 fa 44 89 e2 48 c7 c7 20 f8 ad 8a 48 89 ee e8 d7 5d cb 01 <0f> 0b 5b 5d 41 5c e9 06 bb 41 fa 66 0f 1f 44 00 00 41 57 41 56 49
RSP: 0018:ffffc90000fd8a58 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88802c4a4240 RSI: ffffffff815e3a18 RDI: fffff520001fb13d
RBP: ffffffff8aadf7a0 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff815dd7be R11: 0000000000000000 R12: 00000000ffffffea
R13: 00000000ffffffea R14: 00000000ffffffea R15: 00000000ffffff8e
FS: 00007f5da0571700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30f23000 CR3: 0000000077b1c000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
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:kmalloc_slab+0x5d/0xe0 mm/slab_common.c:742
Code: 89 eb 81 e3 11 00 40 00 75 41 89 db 48 83 fb 03 77 68 41 83 fc 16 44 89 e5 77 4e 48 6b db 17 48 01 eb 48 8b 04 dd 40 c0 55 8b <5b> 5d 41 5c c3 48 81 ff 00 00 40 00 77 2b 83 ef 01 41 bc ff ff ff
RSP: 0018:ffffc900032b7538 EFLAGS: 00000206
RAX: ffff888010c40600 RBX: 0000000000000009 RCX: ffffffff872616d7
RDX: 00000000ffffffff RSI: 0000000000082a20 RDI: 00000000000001ff
RBP: 0000000000000009 R08: 0000000000000001 R09: 0000000000000000
R10: ffffffff87255b78 R11: 0000000000000000 R12: 0000000000000009
R13: 0000000000082a20 R14: 00000000ffffffff R15: 0000000000000000
__do_kmalloc_node mm/slab.c:3636 [inline]
__kmalloc_node_track_caller+0x1e/0x60 mm/slab.c:3654
kmalloc_reserve net/core/skbuff.c:354 [inline]
pskb_expand_head+0x15e/0x1060 net/core/skbuff.c:1701
skb_ensure_writable net/core/skbuff.c:5695 [inline]
skb_ensure_writable+0x2c7/0x450 net/core/skbuff.c:5687
__bpf_try_make_writable net/core/filter.c:1655 [inline]
bpf_try_make_writable net/core/filter.c:1661 [inline]
bpf_try_make_head_writable net/core/filter.c:1669 [inline]
____bpf_clone_redirect net/core/filter.c:2423 [inline]
bpf_clone_redirect+0x125/0x420 net/core/filter.c:2401
___bpf_prog_run+0x3592/0x77d0 kernel/bpf/core.c:1558
__bpf_prog_run512+0x91/0xd0 kernel/bpf/core.c:1786
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+0x37c/0x970 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:0x7f5da1bfbe99
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:00007f5da0571168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f5da1d0ef60 RCX: 00007f5da1bfbe99
RDX: 0000000000000048 RSI: 0000000020000040 RDI: 000000000000000a
RBP: 00007f5da1c55ff1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe78ffdf8f R14: 00007f5da0571300 R15: 0000000000022000
----------------
Code disassembly (best guess):
0: 89 eb mov %ebp,%ebx
2: 81 e3 11 00 40 00 and $0x400011,%ebx
8: 75 41 jne 0x4b
a: 89 db mov %ebx,%ebx
c: 48 83 fb 03 cmp $0x3,%rbx
10: 77 68 ja 0x7a
12: 41 83 fc 16 cmp $0x16,%r12d
16: 44 89 e5 mov %r12d,%ebp
19: 77 4e ja 0x69
1b: 48 6b db 17 imul $0x17,%rbx,%rbx
1f: 48 01 eb add %rbp,%rbx
22: 48 8b 04 dd 40 c0 55 mov -0x74aa3fc0(,%rbx,8),%rax
29: 8b
* 2a: 5b pop %rbx <-- trapping instruction
2b: 5d pop %rbp
2c: 41 5c pop %r12
2e: c3 retq
2f: 48 81 ff 00 00 40 00 cmp $0x400000,%rdi
36: 77 2b ja 0x63
38: 83 ef 01 sub $0x1,%edi
3b: 41 rex.B
3c: bc .byte 0xbc
3d: ff (bad)
3e: ff (bad)
3f: ff .byte 0xff