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: 501d, last: 6d14h
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 192d 370d 0/3 upstream: reported C repro on 2023/10/07 06:11
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/09/18 10:53 19m retest repro android14-6.1 report log
2024/09/18 10:53 13m retest repro android14-6.1 report log
2024/09/18 10:53 10m retest repro android14-6.1 report log
2024/09/04 09:42 21m retest repro android14-6.1 report log
2024/09/04 09:42 14m retest repro android14-6.1 report log
2024/09/04 09:42 21m retest repro android14-6.1 report log
2024/09/04 09:42 10m retest repro android14-6.1 report log
2024/08/21 03:53 27m retest repro android14-6.1 report log
2024/08/21 03:53 16m retest repro android14-6.1 report log
2024/08/21 03:53 13m retest repro android14-6.1 report log
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2024/08/07 02:01 1h49m bisect fix android14-6.1 OK (0) job log log
2024/05/16 23:56 1h50m bisect fix android14-6.1 OK (0) job log log
2023/06/28 18:28 41m bisect fix android14-6.1 OK (0) job log log

Sample crash report:
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 6722 Comm: syz-executor155 Not tainted 6.1.99-syzkaller-00108-gd4dab27b9d1c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:bpf_dispatcher_xdp+0x814/0x1000
Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 48 81 fa 0c 4b 00 a0 7f 37 48 81 fa 48 1d 00 a0 7f 1e 48 81 <fa> 48 1d 00 a0 0f 84 69 dc ff ff ff e2 0f 1f 84 00 00 00 00 00 0f
RSP: 0018:ffffc90000b27890 EFLAGS: 00010246
RAX: ffffffff8416da27 RBX: ffffc90000b27be0 RCX: ffff88811729e540
RDX: ffffffffa0001d48 RSI: ffffc90000b1d050 RDI: ffffc90000b27be0
RBP: ffffc90000b278b0 R08: ffffffff84302b2d R09: ffffed1022e53ca9
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffffc90000b1d030 R14: ffffffffa0001d48 R15: ffffc90000b1d050
FS:  00007f45809ee6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001100000001 CR3: 0000000125b4b000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __bpf_prog_run include/linux/filter.h:603 [inline]
 bpf_prog_run_xdp include/linux/filter.h:778 [inline]
 bpf_test_run+0x470/0xa40 net/bpf/test_run.c:400
 bpf_prog_test_run_xdp+0x7a7/0x1130 net/bpf/test_run.c:1395
 bpf_prog_test_run+0x3b0/0x630 kernel/bpf/syscall.c:3650
 __sys_bpf+0x59f/0x7f0 kernel/bpf/syscall.c:5005
 __do_sys_bpf kernel/bpf/syscall.c:5091 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:5089 [inline]
 __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5089
 x64_sys_call+0x87f/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:322
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f4580a42069
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 1f 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f45809ee168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f4580acc1e8 RCX: 00007f4580a42069
RDX: 0000000000000050 RSI: 0000000020000c80 RDI: 000000000000000a
RBP: 00007f4580acc1e0 R08: 00007f45809ee6c0 R09: 0000000000000000
R10: 00007f45809ee6c0 R11: 0000000000000246 R12: 00007f4580acc1ec
R13: 000000000000000b R14: 00007ffd79118eb0 R15: 00007ffd79118f98
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:bpf_dispatcher_xdp+0x814/0x1000
Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 48 81 fa a8 4c 00 a0 7f 37 48 81 fa 48 1d 00 a0 7f 1e 48 81 <fa> 48 1d 00 a0 0f 84 69 dc ff ff ff e2 0f 1f 84 00 00 00 00 00 0f
RSP: 0018:ffffc90000b27890 EFLAGS: 00010246
RAX: ffffffff8416da27 RBX: ffffc90000b27be0 RCX: ffff88811729e540
RDX: ffffffffa0001d48 RSI: ffffc90000b1d050 RDI: ffffc90000b27be0
RBP: ffffc90000b278b0 R08: ffffffff84302b2d R09: ffffed1022e53ca9
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffffc90000b1d030 R14: ffffffffa0001d48 R15: ffffc90000b1d050
FS:  00007f45809ee6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001100000001 CR3: 0000000125b4b000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (55):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/04 19:12 android14-6.1 d4dab27b9d1c d7906eff .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in bpf_dispatcher_xdp
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
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
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/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.