syzbot


invalid opcode in bpf_dispatcher_xdp

Status: upstream: reported C repro on 2023/05/28 12:21
Bug presence: origin:lts
[Documentation on labels]
Reported-by: syzbot+bbeac345f0dc2a3d110a@syzkaller.appspotmail.com
First crash: 344d, last: 23d
Cause bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2023/10/08 lts (merge base) b1644a0031cf C [report] invalid opcode in bpf_dispatcher_xdp
2023/10/08 upstream (ToT) b9ddbb0cde2a C Didn't crash
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 invalid opcode in bpf_dispatcher_xdp origin:lts-only C unreliable 14 34d 212d 0/3 upstream: reported C repro on 2023/10/07 06:11
Last patch testing requests (9)
Created Duration User Patch Repo Result
2024/04/27 14:10 14m retest repro android14-6.1 OK log
2024/04/11 18:53 49m retest repro android14-6.1 report log
2024/04/11 18:53 15m retest repro android14-6.1 OK log
2024/04/11 18:53 21m retest repro android14-6.1 report log
2024/04/11 18:53 20m retest repro android14-6.1 report log
2024/04/11 18:53 11m retest repro android14-6.1 report log
2024/03/28 13:48 16m retest repro android14-6.1 report log
2024/03/28 13:48 22m retest repro android14-6.1 report log
2024/03/28 13:48 15m retest repro android14-6.1 report log
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2023/06/28 18:28 41m bisect fix android14-6.1 job log (0) log

Sample crash report:
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 1524 Comm: syz-executor314 Not tainted 6.1.57-syzkaller-00029-g899194d7e909 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:bpf_dispatcher_xdp+0xb/0x1000
Code: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc 48 81 fa 58 08 00 a0 0f 84 8b cf <ff> ff ff e2 a0 7f 1e 48 81 fa 58 08 00 a0 0f 84 79 cf ff ff ff e2
RSP: 0018:ffffc900030e78b0 EFLAGS: 00010287
RAX: ffffffff841329c7 RBX: ffffc900030e7c00 RCX: 00000000030e7c00
RDX: ffffffffa0000858 RSI: ffffc900032a9050 RDI: ffffc900030e7c00
RBP: ffffc900030e78d0 R08: ffffffff842c646d R09: ffffed1021f88511
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffffc900032a9030 R14: ffffffffa0000858 R15: ffffc900032a9050
FS:  0000555555f16480(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb1030eb0d0 CR3: 00000001180ec000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __bpf_prog_run include/linux/filter.h:600 [inline]
 bpf_prog_run_xdp include/linux/filter.h:775 [inline]
 bpf_test_run+0x470/0xa40 net/bpf/test_run.c:400
 bpf_prog_test_run_xdp+0x7a7/0x1130 net/bpf/test_run.c:1389
 bpf_prog_test_run+0x3b0/0x630 kernel/bpf/syscall.c:3635
 __sys_bpf+0x59f/0x7f0 kernel/bpf/syscall.c:4990
 __do_sys_bpf kernel/bpf/syscall.c:5076 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:5074 [inline]
 __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5074
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fb103074e69
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc9e5b68b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007ffc9e5b68f0 RCX: 00007fb103074e69
RDX: 0000000000000050 RSI: 0000000020000740 RDI: 000000000000000a
RBP: 0000000000000000 R08: 0000000000000000 R09: 00000000000f4240
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000f4240
R13: 0000000000031592 R14: 00007ffc9e5b68dc R15: 00007ffc9e5b68e0
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:bpf_dispatcher_xdp+0xb/0x1000
Code: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc 48 81 fa 58 08 00 a0 0f 84 8b cf <ff> ff ff e2 a0 7f 1e 48 81 fa 58 08 00 a0 0f 84 79 cf ff ff ff e2
RSP: 0018:ffffc900030e78b0 EFLAGS: 00010287
RAX: ffffffff841329c7 RBX: ffffc900030e7c00 RCX: 00000000030e7c00
RDX: ffffffffa0000858 RSI: ffffc900032a9050 RDI: ffffc900030e7c00
RBP: ffffc900030e78d0 R08: ffffffff842c646d R09: ffffed1021f88511
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffffc900032a9030 R14: ffffffffa0000858 R15: ffffc900032a9050
FS:  0000555555f16480(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb1030eb0d0 CR3: 00000001180ec000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (54):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/18 03:36 android14-6.1 899194d7e909 915053c7 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2024/01/11 04:20 android14-6.1 7c91752f5dd9 04815ef1 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/11/11 09:16 android14-6.1 48c6c901fe0e d80eec66 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in bpf_dispatcher_xdp
2023/11/03 23:43 android14-6.1 7bec8a818066 500bfdc4 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/10/30 22:51 android14-6.1 9e4f6e1ef8ce b5729d82 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/10/29 00:46 android14-6.1 5418491fa533 3c418d72 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/10/22 06:25 android14-6.1 53771c1826da 361b23dc .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in bpf_dispatcher_xdp
2023/10/08 12:45 android14-6.1 1fe248991f96 5e837c76 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in bpf_dispatcher_xdp
2023/05/28 14:02 android14-6.1 500484f5be02 cf184559 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in bpf_dispatcher_xdp
2023/05/28 12:20 android14-6.1 500484f5be02 cf184559 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2024/01/30 22:35 android14-6.1 9265fa90c1dd 7f400fcb .config console log report syz [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/11/14 10:20 android14-6.1 a59b32866cd4 cb976f63 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in bpf_dispatcher_xdp
2023/11/14 03:19 android14-6.1 a59b32866cd4 cb976f63 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/07/25 20:29 android14-6.1 0ee75a672ca5 6756545c .config console log report syz [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2024/04/13 12:20 android14-6.1 cfa154389a65 c8349e48 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in bpf_dispatcher_xdp
2023/12/13 19:03 android14-6.1 b2b3a1e6d1bb ebcad15c .config console log report syz [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2024/03/14 11:59 android14-6.1 ef39f76e4d24 8d8ee116 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2024/02/27 07:13 android14-6.1 7114c782ec16 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2024/02/24 02:25 android14-6.1 8c0f9174731d 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2024/02/19 06:10 android14-6.1 92432f07d663 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2024/02/07 20:20 android14-6.1 696293ef723c 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2024/01/28 07:10 android14-6.1 2730733d54b6 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2024/01/20 22:33 android14-6.1 aba5a3fe094e 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2024/01/16 06:16 android14-6.1 66cd99ccdbea 2a7bcc7f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in bpf_dispatcher_xdp
2024/01/08 10:16 android14-6.1 ac90f0829243 d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2024/01/07 22:35 android14-6.1 ac90f0829243 d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/12/28 14:28 android14-6.1 401a2769d990 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/12/25 01:28 android14-6.1 401a2769d990 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/12/13 19:01 android14-6.1 b2b3a1e6d1bb ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/12/13 05:36 android14-6.1 a9567a35d0b8 ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/12/13 01:37 android14-6.1 a9567a35d0b8 ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/12/12 21:52 android14-6.1 a9567a35d0b8 ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/12/10 19:00 android14-6.1 ddf142e5a817 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/12/10 10:33 android14-6.1 ddf142e5a817 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/12/09 00:14 android14-6.1 ddf142e5a817 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/11/26 23:37 android14-6.1 d2c0f4c4502a 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/11/23 01:00 android14-6.1 5c8e593916ad 03e12510 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/11/17 23:31 android14-6.1 1b639e97b8fc cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/11/11 06:52 android14-6.1 48c6c901fe0e d80eec66 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/10/25 14:20 android14-6.1 63d4231d85e2 17e6d526 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/10/22 21:26 android14-6.1 53771c1826da 361b23dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/10/22 06:45 android14-6.1 53771c1826da 361b23dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/10/10 15:31 android14-6.1 4fcc13c1ff37 c9be5398 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/09/29 09:18 android14-6.1 45fe413fdfdb d265efd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/09/29 01:19 android14-6.1 45fe413fdfdb d265efd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in bpf_dispatcher_xdp
2023/09/17 16:01 android14-6.1 d3212c2dbaba 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/09/10 11:09 android14-6.1 cd94fe67fd33 6654cf89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/08/29 11:22 android14-6.1 5b0878fc616a 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/08/28 04:27 android14-6.1 5ef132d5643b 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/08/27 16:00 android14-6.1 5ef132d5643b 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/08/24 14:53 android14-6.1 6923dcc21df4 4d7ae7ab .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/08/24 08:28 android14-6.1 9fd41ac1729d 4d7ae7ab .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/08/20 20:25 android14-6.1 c2611a04b92f d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
2023/08/17 23:24 android14-6.1 3ebafb7b468b 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
* Struck through repros no longer work on HEAD.