------------[ cut here ]------------ Illegal XDP return value 4294967274, expect packet loss! WARNING: CPU: 1 PID: 21275 at net/core/filter.c:5537 bpf_warn_invalid_xdp_action net/core/filter.c:5537 [inline] WARNING: CPU: 1 PID: 21275 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: 1 PID: 21275 Comm: syz-executor.2 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/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:ffff8880ba1079d0 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000100 RSI: ffffffff814dff01 RDI: ffffed1017420f2c RBP: ffffffff894d4ae0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 00000000ffffffea R13: 0000000000000001 R14: 0000000000000000 R15: ffff8880ba107ad0 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 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:in_irqentry_text mm/kasan/kasan.c:419 [inline] RIP: 0010:filter_irq_stacks mm/kasan/kasan.c:431 [inline] RIP: 0010:save_stack mm/kasan/kasan.c:449 [inline] RIP: 0010:set_track mm/kasan/kasan.c:460 [inline] RIP: 0010:kasan_kmalloc+0x101/0x160 mm/kasan/kasan.c:553 Code: 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 e8 75 9c 8a ff 8b 44 24 08 85 c0 74 39 48 8b 74 24 10 31 c9 48 63 d1 48 8b 14 d6 <48> 81 fa 48 14 20 88 72 37 48 81 fa be 51 20 88 73 2e 8d 41 01 85 RSP: 0018:ffff888043a1f4e8 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000007 RBX: ffff8880439502c0 RCX: 0000000000000004 RDX: ffffffff867e2cf1 RSI: ffff888043a1f508 RDI: 0000000000000001 RBP: ffff8880439502c0 R08: ffffffff8b9686a8 R09: ffffffff8b9686a4 R10: ffff888043a1f4b7 R11: 0000000000074071 R12: 0000000000490220 R13: 0000000000000000 R14: ffff88813bff0940 R15: 0000000000000200 slab_post_alloc_hook mm/slab.h:445 [inline] slab_alloc_node mm/slab.c:3340 [inline] kmem_cache_alloc_node_trace+0x13c/0x3b0 mm/slab.c:3666 __do_kmalloc_node mm/slab.c:3688 [inline] __kmalloc_node_track_caller+0x38/0x70 mm/slab.c:3703 __kmalloc_reserve net/core/skbuff.c:137 [inline] pskb_expand_head+0x159/0xf20 net/core/skbuff.c:1473 skb_ensure_writable+0x2c6/0x470 net/core/skbuff.c:5196 __bpf_try_make_writable net/core/filter.c:1633 [inline] bpf_try_make_writable net/core/filter.c:1639 [inline] bpf_try_make_head_writable net/core/filter.c:1647 [inline] ____bpf_clone_redirect net/core/filter.c:2088 [inline] bpf_clone_redirect+0x131/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: 48 89 44 24 08 mov %rax,0x8(%rsp) 5: 48 8d 44 24 20 lea 0x20(%rsp),%rax a: 48 89 44 24 10 mov %rax,0x10(%rsp) f: e8 75 9c 8a ff callq 0xff8a9c89 14: 8b 44 24 08 mov 0x8(%rsp),%eax 18: 85 c0 test %eax,%eax 1a: 74 39 je 0x55 1c: 48 8b 74 24 10 mov 0x10(%rsp),%rsi 21: 31 c9 xor %ecx,%ecx 23: 48 63 d1 movslq %ecx,%rdx 26: 48 8b 14 d6 mov (%rsi,%rdx,8),%rdx * 2a: 48 81 fa 48 14 20 88 cmp $0xffffffff88201448,%rdx <-- trapping instruction 31: 72 37 jb 0x6a 33: 48 81 fa be 51 20 88 cmp $0xffffffff882051be,%rdx 3a: 73 2e jae 0x6a 3c: 8d 41 01 lea 0x1(%rcx),%eax 3f: 85 .byte 0x85