Illegal XDP return value 4294967274, expect packet loss! ------------[ cut here ]------------ WARNING: CPU: 0 PID: 9655 at net/core/filter.c:3647 bpf_warn_invalid_xdp_action net/core/filter.c:3647 [inline] WARNING: CPU: 0 PID: 9655 at net/core/filter.c:3647 bpf_warn_invalid_xdp_action.cold+0x3c/0x43 net/core/filter.c:3643 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 9655 Comm: syz-executor.5 Not tainted 4.14.262-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 panic+0x1f9/0x42d kernel/panic.c:183 audit: type=1804 audit(1642358569.953:2): pid=9687 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.1" name="/root/syzkaller-testdir399363383/syzkaller.Lp0tKg/6/file0" dev="sda1" ino=13914 res=1 __warn.cold+0x20/0x44 kernel/panic.c:547 report_bug+0x208/0x250 lib/bug.c:183 fixup_bug arch/x86/kernel/traps.c:177 [inline] fixup_bug arch/x86/kernel/traps.c:172 [inline] do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964 RIP: 0010:bpf_warn_invalid_xdp_action net/core/filter.c:3647 [inline] RIP: 0010:bpf_warn_invalid_xdp_action.cold+0x3c/0x43 net/core/filter.c:3643 RSP: 0018:ffff8880ba406fc8 EFLAGS: 00010282 RAX: 0000000000000038 RBX: 1ffff11017480e02 RCX: 0000000000000000 RDX: 0000000000000100 RSI: ffffffff878bbcc0 RDI: ffffed1017480def RBP: ffffffff88564900 R08: 0000000000000038 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 00000000ffffffea R13: ffffc9000b26c000 R14: 0000000000000000 R15: ffff8880a8961106 netif_receive_generic_xdp+0x554/0x950 net/core/dev.c:3956 do_xdp_generic.part.0+0x22/0xc0 net/core/dev.c:4001 do_xdp_generic net/core/dev.c:4039 [inline] netif_rx_internal+0x219/0x800 net/core/dev.c:4039 loopback_xmit+0x23a/0x580 drivers/net/loopback.c:91 __netdev_start_xmit include/linux/netdevice.h:4051 [inline] netdev_start_xmit include/linux/netdevice.h:4060 [inline] xmit_one net/core/dev.c:3005 [inline] dev_hard_start_xmit+0x188/0x890 net/core/dev.c:3021 __dev_queue_xmit+0x1d7f/0x2480 net/core/dev.c:3521 neigh_hh_output include/net/neighbour.h:490 [inline] neigh_output include/net/neighbour.h:498 [inline] ip_finish_output2+0x9db/0x1340 net/ipv4/ip_output.c:230 ip_finish_output+0x37c/0xc50 net/ipv4/ip_output.c:318 NF_HOOK_COND include/linux/netfilter.h:239 [inline] ip_output+0x1cd/0x510 net/ipv4/ip_output.c:406 dst_output include/net/dst.h:470 [inline] ip_local_out+0x93/0x170 net/ipv4/ip_output.c:125 iptunnel_xmit+0x5cc/0x950 net/ipv4/ip_tunnel_core.c:91 geneve_xmit_skb drivers/net/geneve.c:867 [inline] geneve_xmit+0xf15/0x2ca0 drivers/net/geneve.c:948 __netdev_start_xmit include/linux/netdevice.h:4051 [inline] netdev_start_xmit include/linux/netdevice.h:4060 [inline] xmit_one net/core/dev.c:3005 [inline] dev_hard_start_xmit+0x188/0x890 net/core/dev.c:3021 __dev_queue_xmit+0x1d7f/0x2480 net/core/dev.c:3521 neigh_hh_output include/net/neighbour.h:490 [inline] neigh_output include/net/neighbour.h:498 [inline] ip6_finish_output2+0xc6a/0x1f10 net/ipv6/ip6_output.c:120 ip6_finish_output+0x5c6/0xd50 net/ipv6/ip6_output.c:192 NF_HOOK_COND include/linux/netfilter.h:239 [inline] ip6_output+0x1c5/0x660 net/ipv6/ip6_output.c:209 dst_output include/net/dst.h:470 [inline] NF_HOOK include/linux/netfilter.h:250 [inline] mld_sendpack+0x5fe/0xea0 net/ipv6/mcast.c:1657 mld_send_initial_cr.part.0+0xf5/0x140 net/ipv6/mcast.c:2074 mld_send_initial_cr net/ipv6/mcast.c:1170 [inline] mld_dad_timer_expire+0x140/0x520 net/ipv6/mcast.c:2093 call_timer_fn+0x14a/0x650 kernel/time/timer.c:1280 expire_timers+0x232/0x4d0 kernel/time/timer.c:1319 __run_timers kernel/time/timer.c:1637 [inline] run_timer_softirq+0x1d5/0x5a0 kernel/time/timer.c:1650 __do_softirq+0x24d/0x9ff kernel/softirq.c:288 invoke_softirq kernel/softirq.c:368 [inline] irq_exit+0x193/0x240 kernel/softirq.c:409 exiting_irq arch/x86/include/asm/apic.h:638 [inline] smp_apic_timer_interrupt+0x141/0x5e0 arch/x86/kernel/apic/apic.c:1106 apic_timer_interrupt+0x93/0xa0 arch/x86/entry/entry_64.S:793 RIP: 0010:__read_once_size include/linux/compiler.h:185 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x1d/0x50 kernel/kcov.c:67 RSP: 0018:ffff88805041ef40 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10 RAX: ffff888050410400 RBX: 0000000000000001 RCX: ffff88805041f020 RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffff8880a2d68500 RBP: ffff88805041f020 R08: 0000000000000000 R09: ffff888050668f64 R10: ffff888050668efb R11: 0000000000000000 R12: ffff8880a2d68500 R13: 0000000000000002 R14: ffff88805041f020 R15: ffff8880a2d68500 __nla_put+0x16/0x40 lib/nlattr.c:545 nla_put+0xe6/0x120 lib/nlattr.c:604 nla_put_u8 include/net/netlink.h:780 [inline] rtnl_xdp_fill net/core/rtnetlink.c:1261 [inline] rtnl_fill_ifinfo+0x13bb/0x3050 net/core/rtnetlink.c:1412 rtmsg_ifinfo_build_skb+0x8e/0x130 net/core/rtnetlink.c:2913 rtmsg_ifinfo_event net/core/rtnetlink.c:2943 [inline] rtmsg_ifinfo_event net/core/rtnetlink.c:2934 [inline] rtmsg_ifinfo+0x68/0x100 net/core/rtnetlink.c:2951 netdev_state_change net/core/dev.c:1316 [inline] netdev_state_change+0xde/0xf0 net/core/dev.c:1308 do_setlink+0x2508/0x2bf0 net/core/rtnetlink.c:2280 rtnl_group_changelink net/core/rtnetlink.c:2512 [inline] rtnl_newlink+0xccc/0x1860 net/core/rtnetlink.c:2666 rtnetlink_rcv_msg+0x3be/0xb10 net/core/rtnetlink.c:4320 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2446 netlink_unicast_kernel net/netlink/af_netlink.c:1294 [inline] netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1320 netlink_sendmsg+0x648/0xbc0 net/netlink/af_netlink.c:1891 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 net/socket.c:656 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062 __sys_sendmsg+0xa3/0x120 net/socket.c:2096 SYSC_sendmsg net/socket.c:2107 [inline] SyS_sendmsg+0x27/0x40 net/socket.c:2103 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7fe87bcf7fe9 RSP: 002b:00007fe87a66d168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fe87be0af60 RCX: 00007fe87bcf7fe9 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000005 RBP: 00007fe87bd5208d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcb65ae13f R14: 00007fe87a66d300 R15: 0000000000022000 Kernel Offset: disabled Rebooting in 86400 seconds..