syzbot


WARNING in bpf_warn_invalid_xdp_action

Status: upstream: reported C repro on 2020/04/11 00:08
Reported-by: syzbot+451cad93f2a49dd8a3eb@syzkaller.appspotmail.com
First crash: 1716d, last: 1060d
Fix bisection the fix commit could be any of (bisect log):
  c10b57a567e4 Linux 4.14.176
  4139fb08c05f Linux 4.14.187
  
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 1075d 1795d 20/28 fixed on 2022/03/08 16:11
linux-4.19 WARNING in bpf_warn_invalid_xdp_action C error 685 655d 1716d 0/1 upstream: reported C repro on 2020/04/10 21:45
Last patch testing requests (8)
Created Duration User Patch Repo Result
2023/02/10 11:32 12m retest repro linux-4.14.y report log
2023/02/10 10:32 15m retest repro linux-4.14.y report log
2023/02/10 09:32 14m retest repro linux-4.14.y report log
2023/02/10 08:32 10m retest repro linux-4.14.y report log
2022/09/20 12:29 11m retest repro linux-4.14.y report log
2022/09/20 11:29 10m retest repro linux-4.14.y report log
2022/09/20 10:29 10m retest repro linux-4.14.y report log
2022/09/20 09:29 10m retest repro linux-4.14.y report log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2020/06/21 09:54 30m (5) bisect fix linux-4.14.y OK (2) job log
2020/05/22 09:16 23m bisect fix linux-4.14.y OK (0) job log log

Sample crash report:
A link change request failed with some changes committed already. Interface eth0 may have been left with an inconsistent configuration, please check.
Illegal XDP return value 4294967274, expect packet loss!
------------[ cut here ]------------
WARNING: CPU: 0 PID: 7957 at net/core/filter.c:3647 bpf_warn_invalid_xdp_action net/core/filter.c:3647 [inline]
WARNING: CPU: 0 PID: 7957 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: 7957 Comm: syz-executor847 Not tainted 4.14.260-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
 __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:ffff8880925bf648 EFLAGS: 00010286
RAX: 0000000000000038 RBX: 1ffff110124b7ed2 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff878bbcc0 RDI: ffffed10124b7ebf
RBP: ffffffff88564900 R08: 0000000000000038 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 00000000ffffffea
R13: ffffc90001ab6000 R14: 0000000000000000 R15: ffff88809c1fa146
 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
 dev_forward_skb+0x39/0x50 net/core/dev.c:1866
 __bpf_rx_skb net/core/filter.c:1679 [inline]
 __bpf_redirect_common net/core/filter.c:1747 [inline]
 __bpf_redirect+0x163/0x9c0 net/core/filter.c:1754
 ____bpf_clone_redirect net/core/filter.c:1787 [inline]
 bpf_clone_redirect+0x1e1/0x2c0 net/core/filter.c:1759
 ___bpf_prog_run+0x252b/0x5a70 kernel/bpf/core.c:1088
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (116):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/01/03 07:28 linux-4.14.y a6ca7c65b137 e1768e9c .config console log report syz C ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/06/06 11:06 linux-4.14.y a6b2dae3ee3a 500c2339 .config console log report syz C ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2020/04/22 09:11 linux-4.14.y c10b57a567e4 2e44d63e .config console log report syz C ci2-linux-4-14
2020/04/11 01:15 linux-4.14.y 4520f06b03ae a8c6a3f8 .config console log report syz C ci2-linux-4-14
2022/01/26 04:38 linux-4.14.y 4ba8e26127c3 2cbffd88 .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2022/01/17 23:58 linux-4.14.y 4ba8e26127c3 731a2d23 .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2022/01/17 08:19 linux-4.14.y 4ba8e26127c3 723cfaf0 .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2022/01/17 05:43 linux-4.14.y 4ba8e26127c3 723cfaf0 .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2022/01/17 00:52 linux-4.14.y 4ba8e26127c3 723cfaf0 .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2022/01/16 18:43 linux-4.14.y 4ba8e26127c3 723cfaf0 .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2022/01/16 15:34 linux-4.14.y 4ba8e26127c3 723cfaf0 .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2022/01/16 10:57 linux-4.14.y 4ba8e26127c3 723cfaf0 .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2022/01/15 04:06 linux-4.14.y 4ba8e26127c3 723cfaf0 .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2022/01/14 20:58 linux-4.14.y 4ba8e26127c3 53e00b45 .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2022/01/13 21:56 linux-4.14.y 4ba8e26127c3 b8d780ab .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2022/01/12 17:19 linux-4.14.y 4ba8e26127c3 44d1319a .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2022/01/05 12:49 linux-4.14.y bfdef05c8da4 0a2584dd .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2022/01/04 21:31 linux-4.14.y a6ca7c65b137 0a2584dd .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2022/01/01 06:23 linux-4.14.y a6ca7c65b137 e1768e9c .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/12/30 13:30 linux-4.14.y a6ca7c65b137 2e49f10d .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/12/27 16:32 linux-4.14.y 8ee0807eedf3 5140bd58 .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/12/21 21:01 linux-4.14.y 9dfbac0e6b86 6caa12e4 .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/12/15 03:57 linux-4.14.y 9dfbac0e6b86 f752fb53 .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/12/12 00:57 linux-4.14.y c01d4d1b885d 49ca1f59 .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/12/08 19:36 linux-4.14.y c01d4d1b885d a4a2a501 .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/12/07 05:52 linux-4.14.y 66722c42ec91 0230ba3e .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/12/06 15:58 linux-4.14.y 66722c42ec91 579a8754 .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/12/05 05:38 linux-4.14.y 66722c42ec91 a617004c .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/12/04 22:26 linux-4.14.y 66722c42ec91 a617004c .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/11/07 04:00 linux-4.14.y 0447aa205abe 4c1be0be .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/10/11 04:02 linux-4.14.y 756db2ba8bde 838e7e2c .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/10/10 04:44 linux-4.14.y 756db2ba8bde 838e7e2c .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/09/24 04:18 linux-4.14.y 8ea4f73cfa7e 8cac236e .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/09/18 20:22 linux-4.14.y f96eb53cbd76 70b76c1d .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/09/15 08:48 linux-4.14.y f96eb53cbd76 07e953c1 .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/09/07 10:42 linux-4.14.y f96eb53cbd76 6ca60148 .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/08/09 03:17 linux-4.14.y 46914f96189b 6972b106 .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/07/18 17:24 linux-4.14.y 4e68c9b0763f f115ae98 .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/07/17 08:21 linux-4.14.y 4e68c9b0763f f115ae98 .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/05/20 07:27 linux-4.14.y 7d7d1c0ab3eb a343ba6b .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/05/20 04:09 linux-4.14.y 7d7d1c0ab3eb a343ba6b .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/05/20 00:05 linux-4.14.y 7d7d1c0ab3eb a343ba6b .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/05/16 13:55 linux-4.14.y 7d7d1c0ab3eb f54a5c09 .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/05/14 00:43 linux-4.14.y 7d7d1c0ab3eb ecb594cb .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/05/13 06:53 linux-4.14.y 7d7d1c0ab3eb ed7d41c5 .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/05/12 09:49 linux-4.14.y 7d7d1c0ab3eb 86294427 .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/05/09 02:29 linux-4.14.y 7d7d1c0ab3eb bc5434be .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/05/07 22:05 linux-4.14.y 7d7d1c0ab3eb bc5434be .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/05/07 11:45 linux-4.14.y 7d7d1c0ab3eb f6da8120 .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/05/05 15:39 linux-4.14.y 7d7d1c0ab3eb 06c27ff5 .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2021/05/03 08:39 linux-4.14.y 7d7d1c0ab3eb 77e2b668 .config console log report info ci2-linux-4-14 WARNING in bpf_warn_invalid_xdp_action
2020/04/17 02:21 linux-4.14.y c10b57a567e4 c743fcb3 .config console log report ci2-linux-4-14
2020/04/11 00:07 linux-4.14.y 4520f06b03ae a8c6a3f8 .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.