TITLE: WARNING in bpf_warn_invalid_xdp_action
TYPE: WARNING
PANICKED: Y

[  459.035879][    C1] ------------[ cut here ]------------
[  459.041441][    C1] Illegal XDP return value 4294967274, expect packet loss!
[  459.050860][    C1] WARNING: CPU: 1 PID: 22942 at net/core/filter.c:7931 bpf_warn_invalid_xdp_action+0x6d/0x80
[  459.061201][    C1] Modules linked in:
[  459.065126][    C1] CPU: 1 PID: 22942 Comm: syz-executor.2 Not tainted 5.11.0-rc1-syzkaller #0
[  459.073922][    C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
[  459.084118][    C1] RIP: 0010:bpf_warn_invalid_xdp_action+0x6d/0x80
[  459.090615][    C1] Code: e8 78 50 b9 fc 83 fb 04 48 c7 c0 d6 88 84 86 48 c7 c6 de 88 84 86 48 0f 47 f0 48 c7 c7 a9 88 84 86 89 da 31 c0 e8 93 83 a0 fc <0f> 0b 5b c3 0f 1f 44 00 00 66 2e 0f 1f 84 00 00 00 00 00 55 41 57
[  459.110287][    C1] RSP: 0018:ffffc90000d08c18 EFLAGS: 00010246
[  459.116555][    C1] RAX: 25bd2dba2ede4e00 RBX: 00000000ffffffea RCX: ffff888108492000
[  459.124598][    C1] RDX: 0000000000000102 RSI: 0000000000000000 RDI: 0000000000000000
[  459.132605][    C1] RBP: 00000000ffffffea R08: ffffffff81375f92 R09: 000188813bd17a0f
[  459.140626][    C1] R10: 0001ffffffffffff R11: ffff888108492000 R12: ffff8880437293c8
[  459.148657][    C1] R13: ffff888043729300 R14: ffffc90000d08d58 R15: ffff888043729310
[  459.156795][    C1] FS:  00007f0c8ad50700(0000) GS:ffff88813bd00000(0000) knlGS:0000000000000000
[  459.166304][    C1] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  459.172913][    C1] CR2: 0000000000000000 CR3: 0000000108847000 CR4: 00000000001526e0
[  459.181404][    C1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  459.189445][    C1] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  459.197444][    C1] Call Trace:
[  459.200824][    C1]  <IRQ>
[  459.203744][    C1]  netif_receive_generic_xdp+0x7f6/0x9e0
[  459.209502][    C1]  __netif_receive_skb_core+0xd1c/0x1de0
[  459.231932][    C1]  __netif_receive_skb+0x52/0x1b0
[  459.237433][    C1]  process_backlog+0x23f/0x3d0
[  459.242502][    C1]  napi_poll+0x181/0x630
[  459.253100][    C1]  net_rx_action+0x17a/0x480
[  459.258252][    C1]  __do_softirq+0x13c/0x2c3
[  459.262770][    C1]  asm_call_irq_on_stack+0xf/0x20
[  459.268049][    C1]  </IRQ>
[  459.271510][    C1]  do_softirq_own_stack+0x32/0x40
[  459.277230][    C1]  __irq_exit_rcu+0xb4/0xc0
[  459.281760][    C1]  sysvec_apic_timer_interrupt+0x74/0x90
[  459.287477][    C1]  asm_sysvec_apic_timer_interrupt+0x12/0x20
[  459.293531][    C1] RIP: 0010:enqueue_to_backlog+0x4fd/0x530
[  459.299419][    C1] Code: 00 00 00 48 8b 6c 24 38 48 89 ef e8 8d ca cd fc 89 5d 00 4c 89 e7 e8 72 e9 eb 00 48 8b 44 24 20 48 89 44 24 50 ff 74 24 50 9d <31> c0 65 48 8b 0c 25 28 00 00 00 48 3b 4c 24 60 75 19 48 83 c4 68
[  459.319219][    C1] RSP: 0018:ffffc90004167768 EFLAGS: 00000246
[  459.325384][    C1] RAX: 0000000000000246 RBX: 000000000000698b RCX: 00000000000006cd
[  459.333406][    C1] RDX: 0001ffff86a656b8 RSI: 0000000000000083 RDI: ffff88813bd2b88c
[  459.341529][    C1] RBP: ffffc90004167810 R08: 0000000000000000 R09: 0001ffff86a656bf
[  459.349559][    C1] R10: 0001ffffffffffff R11: ffff888108492000 R12: ffff88813bd2b88c
[  459.357616][    C1] R13: ffff88813bd2b780 R14: ffff888043729300 R15: ffff88813bd2b878
[  459.370317][    C1]  netif_rx_internal+0x49/0x260
[  459.375222][    C1]  dev_forward_skb+0x3b/0x50
[  459.379836][    C1]  __bpf_redirect+0x638/0x750
[  459.384586][    C1]  bpf_clone_redirect+0x168/0x1c0
[  459.389685][    C1]  bpf_prog_a467eebe3b6cb835+0x59/0xcb8
[  459.462744][    C1]  bpf_test_run+0x278/0x440
[  459.476293][    C1]  bpf_prog_test_run_skb+0x6f0/0xe70
[  459.487740][    C1]  __do_sys_bpf+0x3a17/0x99c0
[  459.551722][    C1]  __x64_sys_bpf+0x3d/0x50
[  459.556213][    C1]  do_syscall_64+0x39/0x80
[  459.560840][    C1]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  459.566869][    C1] RIP: 0033:0x45e219
[  459.570826][    C1] Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
[  459.590517][    C1] RSP: 002b:00007f0c8ad4fc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
[  459.599031][    C1] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e219
[  459.607093][    C1] RDX: 0000000000000028 RSI: 0000000020000080 RDI: 000000000000000a
[  459.615120][    C1] RBP: 000000000119bfc0 R08: 0000000000000000 R09: 0000000000000000
[  459.623127][    C1] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c
[  459.631168][    C1] R13: 00007ffefcdc678f R14: 00007f0c8ad509c0 R15: 000000000119bf8c
[  459.639286][    C1] Kernel panic - not syncing: panic_on_warn set ...
[  459.645869][    C1] CPU: 1 PID: 22942 Comm: syz-executor.2 Not tainted 5.11.0-rc1-syzkaller #0
[  459.654726][    C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
[  459.664829][    C1] Call Trace:
[  459.668092][    C1]  <IRQ>
[  459.670914][    C1]  dump_stack+0x116/0x15d
[  459.675227][    C1]  panic+0x1e7/0x5fa
[  459.679109][    C1]  __warn+0x25a/0x260
[  459.688892][    C1]  report_bug+0x2a8/0x350
[  459.693217][    C1]  handle_bug+0x3d/0x70
[  459.697354][    C1]  exc_invalid_op+0x18/0xb0
[  459.701879][    C1]  asm_exc_invalid_op+0x12/0x20
[  459.706714][    C1] RIP: 0010:bpf_warn_invalid_xdp_action+0x6d/0x80
[  459.713131][    C1] Code: e8 78 50 b9 fc 83 fb 04 48 c7 c0 d6 88 84 86 48 c7 c6 de 88 84 86 48 0f 47 f0 48 c7 c7 a9 88 84 86 89 da 31 c0 e8 93 83 a0 fc <0f> 0b 5b c3 0f 1f 44 00 00 66 2e 0f 1f 84 00 00 00 00 00 55 41 57
[  459.732785][    C1] RSP: 0018:ffffc90000d08c18 EFLAGS: 00010246
[  459.738853][    C1] RAX: 25bd2dba2ede4e00 RBX: 00000000ffffffea RCX: ffff888108492000
[  459.746848][    C1] RDX: 0000000000000102 RSI: 0000000000000000 RDI: 0000000000000000
[  459.754962][    C1] RBP: 00000000ffffffea R08: ffffffff81375f92 R09: 000188813bd17a0f
[  459.762912][    C1] R10: 0001ffffffffffff R11: ffff888108492000 R12: ffff8880437293c8
[  459.770877][    C1] R13: ffff888043729300 R14: ffffc90000d08d58 R15: ffff888043729310
[  459.789374][    C1]  netif_receive_generic_xdp+0x7f6/0x9e0
[  459.794999][    C1]  __netif_receive_skb_core+0xd1c/0x1de0
[  459.817205][    C1]  __netif_receive_skb+0x52/0x1b0
[  459.822211][    C1]  process_backlog+0x23f/0x3d0
[  459.826980][    C1]  napi_poll+0x181/0x630
[  459.836322][    C1]  net_rx_action+0x17a/0x480
[  459.840911][    C1]  __do_softirq+0x13c/0x2c3
[  459.845401][    C1]  asm_call_irq_on_stack+0xf/0x20
[  459.850472][    C1]  </IRQ>
[  459.853404][    C1]  do_softirq_own_stack+0x32/0x40
[  459.858418][    C1]  __irq_exit_rcu+0xb4/0xc0
[  459.862904][    C1]  sysvec_apic_timer_interrupt+0x74/0x90
[  459.868523][    C1]  asm_sysvec_apic_timer_interrupt+0x12/0x20
[  459.874502][    C1] RIP: 0010:enqueue_to_backlog+0x4fd/0x530
[  459.880308][    C1] Code: 00 00 00 48 8b 6c 24 38 48 89 ef e8 8d ca cd fc 89 5d 00 4c 89 e7 e8 72 e9 eb 00 48 8b 44 24 20 48 89 44 24 50 ff 74 24 50 9d <31> c0 65 48 8b 0c 25 28 00 00 00 48 3b 4c 24 60 75 19 48 83 c4 68
[  459.899894][    C1] RSP: 0018:ffffc90004167768 EFLAGS: 00000246
[  459.905938][    C1] RAX: 0000000000000246 RBX: 000000000000698b RCX: 00000000000006cd
[  459.913907][    C1] RDX: 0001ffff86a656b8 RSI: 0000000000000083 RDI: ffff88813bd2b88c
[  459.921874][    C1] RBP: ffffc90004167810 R08: 0000000000000000 R09: 0001ffff86a656bf
[  459.929843][    C1] R10: 0001ffffffffffff R11: ffff888108492000 R12: ffff88813bd2b88c
[  459.937796][    C1] R13: ffff88813bd2b780 R14: ffff888043729300 R15: ffff88813bd2b878
[  459.950360][    C1]  netif_rx_internal+0x49/0x260
[  459.955204][    C1]  dev_forward_skb+0x3b/0x50
[  459.959788][    C1]  __bpf_redirect+0x638/0x750
[  459.964451][    C1]  bpf_clone_redirect+0x168/0x1c0
[  459.969457][    C1]  bpf_prog_a467eebe3b6cb835+0x59/0xcb8
[  460.041081][    C1]  bpf_test_run+0x278/0x440
[  460.054317][    C1]  bpf_prog_test_run_skb+0x6f0/0xe70
[  460.065483][    C1]  __do_sys_bpf+0x3a17/0x99c0
[  460.128268][    C1]  __x64_sys_bpf+0x3d/0x50
[  460.132695][    C1]  do_syscall_64+0x39/0x80
[  460.137093][    C1]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  460.142971][    C1] RIP: 0033:0x45e219
[  460.146884][    C1] Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
[  460.166574][    C1] RSP: 002b:00007f0c8ad4fc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
[  460.174988][    C1] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e219
[  460.182940][    C1] RDX: 0000000000000028 RSI: 0000000020000080 RDI: 000000000000000a
[  460.190890][    C1] RBP: 000000000119bfc0 R08: 0000000000000000 R09: 0000000000000000
[  460.198843][    C1] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c
[  460.206796][    C1] R13: 00007ffefcdc678f R14: 00007f0c8ad509c0 R15: 000000000119bf8c
[  460.215482][    C1] Kernel Offset: disabled
[  460.219793][    C1] Rebooting in 86400 seconds..

