syzbot


WARNING in bpf_warn_invalid_xdp_action

Status: upstream: reported C repro on 2020/04/10 21:45
Reported-by: syzbot+db623516b5a108ea6784@syzkaller.appspotmail.com
First crash: 1557d, last: 497d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in bpf_warn_invalid_xdp_action C done done 8941 917d 1637d 20/27 fixed on 2022/03/08 16:11
linux-4.14 WARNING in bpf_warn_invalid_xdp_action C inconclusive 116 902d 1557d 0/1 upstream: reported C repro on 2020/04/11 00:08
Fix bisection attempts (6)
Created Duration User Patch Repo Result
2020/10/11 11:24 3m bisect fix linux-4.19.y error job log
2020/09/11 10:55 29m bisect fix linux-4.19.y OK (0) job log log
2020/08/11 21:28 25m bisect fix linux-4.19.y OK (0) job log log
2020/07/12 18:10 24m bisect fix linux-4.19.y OK (0) job log log
2020/06/12 17:35 26m bisect fix linux-4.19.y OK (0) job log log
2020/05/13 16:39 27m bisect fix linux-4.19.y OK (0) job log log

Sample crash report:
IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready
IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready
------------[ cut here ]------------
IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready
Illegal XDP return value 4294967274, expect packet loss!
WARNING: CPU: 1 PID: 18 at net/core/filter.c:5537 bpf_warn_invalid_xdp_action net/core/filter.c:5537 [inline]
WARNING: CPU: 1 PID: 18 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: 18 Comm: ksoftirqd/1 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
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:ffff8880b5acf898 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000100 RSI: ffffffff814dff01 RDI: ffffed1016b59f05
RBP: ffffffff894d4ae0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 00000000ffffffea
R13: 0000000000000001 R14: 000000000000dd86 R15: ffff8880b5acf998
 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
 run_ksoftirqd+0x57/0x110 kernel/softirq.c:653
 smpboot_thread_fn+0x655/0x9e0 kernel/smpboot.c:164
 kthread+0x33f/0x460 kernel/kthread.c:259
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (685):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/08/22 14:48 linux-4.19.y 3f8a27f9e27b 26a13b38 .config console log report syz C ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2021/10/27 17:27 linux-4.19.y 3f8a27f9e27b be531bb4 .config console log report syz C ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2021/10/27 00:13 linux-4.19.y 3f8a27f9e27b d50eb50a .config console log report syz C ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2021/10/01 06:45 linux-4.19.y c2276d585654 1d849ab4 .config console log report syz C ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2021/09/29 09:55 linux-4.19.y c2276d585654 d82cb927 .config console log report syz C ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2021/05/28 04:54 linux-4.19.y 6b7b0056defc 858ea628 .config console log report syz C ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2020/04/13 16:33 linux-4.19.y 6dd0e32665e5 17a986e5 .config console log report syz C ci2-linux-4-19
2020/04/10 22:07 linux-4.19.y dda0e2920330 a8c6a3f8 .config console log report syz C ci2-linux-4-19
2023/03/07 02:52 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/03/02 12:42 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/03/01 10:09 linux-4.19.y 3f8a27f9e27b ef65e6cb .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/27 20:48 linux-4.19.y 3f8a27f9e27b 9189cb53 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/24 19:49 linux-4.19.y 3f8a27f9e27b ee50e71c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/22 15:30 linux-4.19.y 3f8a27f9e27b 9f1e2cb3 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/21 20:32 linux-4.19.y 3f8a27f9e27b 42a4d508 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/21 03:59 linux-4.19.y 3f8a27f9e27b 2414209c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/20 19:37 linux-4.19.y 3f8a27f9e27b 2414209c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/18 02:52 linux-4.19.y 3f8a27f9e27b cf8c2d39 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/15 15:24 linux-4.19.y 3f8a27f9e27b 6be0f1f5 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/14 02:09 linux-4.19.y 3f8a27f9e27b 93ae7e0a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/13 07:47 linux-4.19.y 3f8a27f9e27b 93e26d60 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/13 01:13 linux-4.19.y 3f8a27f9e27b 93e26d60 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/12 14:11 linux-4.19.y 3f8a27f9e27b 93e26d60 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/12 08:31 linux-4.19.y 3f8a27f9e27b 93e26d60 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/12 07:19 linux-4.19.y 3f8a27f9e27b 93e26d60 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/10 20:40 linux-4.19.y 3f8a27f9e27b e29a17f5 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/10 13:21 linux-4.19.y 3f8a27f9e27b e29a17f5 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/09 17:17 linux-4.19.y 3f8a27f9e27b 07980f9d .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/08 16:09 linux-4.19.y 3f8a27f9e27b fc9c934e .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/08 13:26 linux-4.19.y 3f8a27f9e27b abbb67b7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/08 01:19 linux-4.19.y 3f8a27f9e27b 15c3d445 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/07 20:06 linux-4.19.y 3f8a27f9e27b 15c3d445 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/06 16:19 linux-4.19.y 3f8a27f9e27b 0a9c11b6 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/06 14:45 linux-4.19.y 3f8a27f9e27b 0a9c11b6 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/04 17:27 linux-4.19.y 3f8a27f9e27b be607b78 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/04 14:47 linux-4.19.y 3f8a27f9e27b be607b78 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/04 07:41 linux-4.19.y 3f8a27f9e27b 1b2f701a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/03 12:49 linux-4.19.y 3f8a27f9e27b 1b2f701a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/03 03:03 linux-4.19.y 3f8a27f9e27b 33fc5c09 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/02/02 15:59 linux-4.19.y 3f8a27f9e27b 16d19e30 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/01/31 08:43 linux-4.19.y 3f8a27f9e27b b68fb8d6 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/01/30 11:50 linux-4.19.y 3f8a27f9e27b b68fb8d6 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/01/30 09:15 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/01/26 23:47 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/01/25 16:03 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/01/25 12:18 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/01/25 00:53 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/01/23 08:33 linux-4.19.y 3f8a27f9e27b 44388686 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/01/21 20:26 linux-4.19.y 3f8a27f9e27b cc0f9968 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/01/21 03:14 linux-4.19.y 3f8a27f9e27b cc0f9968 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/01/20 22:58 linux-4.19.y 3f8a27f9e27b dd15ff29 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/01/20 14:49 linux-4.19.y 3f8a27f9e27b dd15ff29 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/01/20 09:03 linux-4.19.y 3f8a27f9e27b dd15ff29 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2023/01/19 19:59 linux-4.19.y 3f8a27f9e27b 71197f3a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in bpf_warn_invalid_xdp_action
2020/04/13 00:30 linux-4.19.y dda0e2920330 17a986e5 .config console log report ci2-linux-4-19
2020/04/10 21:44 linux-4.19.y dda0e2920330 a8c6a3f8 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.